Hi,
I'm having some problems with the CubicSurfaceExtractor. I filled a volume similar to what OpenGLExample did, except where I altered the radius of the spheres and also my volume is 256**3. Right now, SurfaceExtractor works fine, it extracts the surface as expected. The CubicSurfaceExtractor is not extracting a surface as expected, instead of the spheres and cubes as in the example, I get a single cube instead.
Here are some pics:
Cubic:
[IMG width="640" height="480"]http://imgur.com/nz8KM.png[/IMG]marching cube:
[IMG width="640" height="480"]http://imgur.com/eVsHH.jpg[/IMG]Other questions:
(Sorry I deleted something from the previous edit. I was assuming that you decimate some of the surfaces but looking at the surfaces in wireframe mode that is not true. There must be something wrong with my shader.)
Any suggestions on how to texture map using texture atlas? I'm trying to do something similar to Minecraft. But I'm also look to improve upon Minecraft. Right now I'm using the MaterialID as the key into the texture atlas.