Marching cubes/ Marching tetrahedrons

Hi, has anyone had any experience with Marching cubes/Marching tetrahedrons? I’ve been having a look at the GPU gems charter on procedural terrain, but I can’t figure out how the ‘density function’ would work…



http://http.developer.nvidia.com/GPUGems3/gpugems3_ch01.html

There were some procedural terrain examples on these forums a few months ago.



http://hub.jmonkeyengine.org/groups/user-code-projects/forum/topic/terrain-side-project/

This is a very nice article about perlin noise density function:

http://devmag.org.za/2009/04/25/perlin-noise/

@zarch yes I have seen the toucher’s terrain, thats what prompted me to have a look into marching cubes, but thatnks anyway.



thanks @enum I’ll have a look now

There is a working marching cubes / marching tetrahedrons implementation in jME2, it can be easily ported to jME3 (did that a few days ago for my own project).