This program generates 3D planetoids using signed distance functions (SDFs) and marching cubes. I used my marching cubes library, Brutus, to generate the meshes.  I plan on using code from this in a space shooter for 7DFPS. Thanks to Inigo Quilez for his articles about SDFs.

Check out the demo for my upcoming game Biogoth.

Source code

Leave a comment

Log in with itch.io to leave a comment.