|
How straightforward is it to make a fragment shader to convert idk a basic quad to look like this: (ignoring the logos and text above). Targeting WebGL2, i.e. GLSL 3.00 ES. It would be nicer to replace a static background with a coloured smoke type thing, like this shadertoy, : https://www.shadertoy.com/view/ldBSDd Is it better to find a freelancer to conjure up something? idk, I'm just researching and prototyping some scoreboard screens for MLB / NFL / NBA / NHL. MrMoo fucked around with this message at 20:49 on Jan 10, 2020 |
# ¿ Jan 10, 2020 20:47 |
|
|
# ¿ May 12, 2024 06:49 |
|
So I’m actually working with the NBA now and have Maya files of a basketball and an animation sequence that I need to pump into THREE.js, and the least awful approach appears to be GLTF/.glb. However Maya of course does not export directly to that format still and I’m not getting great feedback exporting to FBX : “converting to that wont give us a high enough quality image.” I do have an FBX of a single 🏀 and Facebook’s FBX2GLTF tool manages to lose all the textures so I end up with a black sphere, not so useful. Can anyone explain the quality image comment? What’s the best way forward as I see many other tools as options to try for conversion via Babylonjs or Verge3d. I have a target environment setup awaiting the .glb file, with a placeholder animation instead.
|
# ¿ Feb 15, 2020 17:57 |
|
The artist who originally made the graphics, I'm not sure whether they were new to Maya just for this project though. So kind of safer to try to find someone else who has access to Maya to run an export for me. Here is a screenshot of the graphics: And it replaces the diorama here: MrMoo fucked around with this message at 02:35 on Feb 16, 2020 |
# ¿ Feb 15, 2020 20:42 |
|
So, I have Maya 2020 up and a file open, Fixing the textures and it appears to roughly render not horribly, But cannot export the animation, I just end up with a boring empty scene,
|
# ¿ Feb 18, 2020 00:52 |
|
Apparently I need to convert nParticle’s to geometry’s and then stuff can get exported. It looks like Maya 2020 is buggy as hell though. I’ve used a random third party tool and it forgot to process UVs and looks a bit surreal. MrMoo fucked around with this message at 00:52 on Feb 19, 2020 |
# ¿ Feb 18, 2020 07:02 |
|
Maya on a MacBook small screen randomly crashes the design screen, plug in a large monitor and it works fine. This is awesome software. Looks like a major bug broke Babylon JS integration and fix won't ship till spring.
|
# ¿ Feb 19, 2020 20:28 |
|
I am having a bad time with alpha blending because I have no idea what I am doing, So, I have MSDF fonts on a curve which look ok: I have an outline shader because I don't really want to re-encode the fonts with an SDF channel, and I have managed to get anti-aliasing to some degree on both the inside and outside: However adding a drop-shadow shader highlights the failures in processing the anti-aliasing applied at the outside of the outline. Where there should be a lerp between the shadow and the outline there is a black halo, which could be taken as artistic effect, but would like to address. So, one of the ugly shaders for creating the shadow: code:
If I remove the anti-aliasing on the outline then I can get a correct aliased shadow, but the aliasing is pretty bad on the thin typeface at such a low resolution. I made the outline shader a bit worse than when it started, code:
MrMoo fucked around with this message at 18:47 on Aug 22, 2020 |
# ¿ Aug 22, 2020 18:35 |
|
This saturates the shadow, although it does cleanup the halo for the most part. Changing the outline shader from lerp/mix to the over function fixes the remaining halo issues, So now all remains is the colour itself. MrMoo fucked around with this message at 19:54 on Aug 22, 2020 |
# ¿ Aug 22, 2020 19:21 |
|
|
# ¿ May 12, 2024 06:49 |
|
Ironically the halo works perfectly for Cincinnati,
|
# ¿ Aug 22, 2020 20:02 |