Marching cubes transvoxel in RB

So as a big fan of Roblox and Voxels I made a custom LUA script, that creates mesh from SDF. Lod is working and cracks are filled with transvoxel.

Roadmap:
a) Update LOD when camera moves;
b) Voxel map editing;
c) Optimizations via advanced cashing and threads.
d) Stress-test via larger map (or planet) with noise, FBM, etc.

2021-07-30_161519

(red is hi-res side, grey is transvoxel and low-res side pale color)

I create the triangles via something like https://github.com/EgoMoose/Articles/blob/master/3d%20triangles/3D%20triangles.md described here, what sucks of course, but currently no other way.

4 Likes

A and C are 80%. Sadly only D will reveal if this can turn actually into a crafting game or not.

A and C done. D in progress. No good results, Lua is slow for this and multithreading is in Beta :confused:

The bottleneck is triangle creation/update function. Its lot of math there :confused:

this is amazing. sadly however i have no idea what you are talking about.

1 Like