Hello, i have modified the surfaceextractor class to use the Irrlicht mesh buffer instead, this makes it both simpler and faster when integrating PolyVox into Irrlicht.
This will ofcourse make it impossible to use the smooth class, but i plan to redo that as well to support Irrlicht meshes.
Quick example:
Code:
CDynamicMeshBuffer *newBuffer = new CDynamicMeshBuffer(EVT_STANDARD, EIT_32BIT);
IrrSurfaceExtractor<SimpleVolume, MaterialDensityPair44 > irrsurfaceExtractor(volData, volData->getEnclosingRegion(), newBuffer);
irrsurfaceExtractor.execute();
http://www.lajt.com/Victors/irrsurfaceextractor.zipEdit: Faulty download link should be fixed now.