3 ms·
Raymarching ever-more-complex mathematical functions is neat if you're creating a demo out of curiosity or for art's sake. But it's a very expensive and not-ve
by bluescrn 4y ago
Raymarching ever-more-complex mathematical functions is neat if you're creating a demo out of curiosity or for art's sake.
But it's a very expensive and not-very-scalable method of rendering things, certainly not a replacement for meshes of triangles.
- wwwtyro 4y agoShameless plug - I wrote sdf-csg[1] as an attempt to have that cake and eat it too. Basically, build things out of SDFs, then create meshes out of them for efficient rendering. [1] https://github.com/wwwtyro/sdf-csg https://github.com/wwwtyro/sdf-csg
- MrLeap 4y agoThis is very cool. I wish I could use it in unity! Going to take a few minutes to scope out what a port would take...
- bj-rn 4y agoCheck out Fuse[1][2], it also has a SDF to mesh feature and since it is based on Stride[3] (C#) it might be easier to port. [1] https://github.com/TheFuseLab/VL.Fuse https://github.com/TheFuseLab/VL.Fuse [2] https://www.thefuselab.io https://www.thefuselab.io [3] https://www.stride3d.net https://www.stride3d.net