Page 1 of 1

Ogre how to render voxels?

Posted: Thu Sep 12, 2019 7:13 am
by Geotyper
Now experiments with different voxels engines, many of then try to do render itself(openGL).
For example find PolyVox that have surfaceExtractor from voxels to polygons, but main problem it slow, if need update lot of voxels and another than need to update Ogre::ManualObject(loop for all Vertex and index)
The idea to use Cuda for parallel update Ogre::ManualObject or vertexBuffer direct in GPU memory.
Do you know some examples how to update from Cuda direct GPU memory in Ogre?

Re: Ogre how to render voxels?

Posted: Fri Sep 13, 2019 3:35 pm
by frostbyte2
sure... ( lots of other interesting experiments on this site )
and making sure you're aware of the project..

beside that i've read that ogre2.2 is now doing voxel math in compute shaders
notice the pretty voxel-debugger image....
not sure on how/if that can help you, so you better ask matias( dark-sylinc ) on the ogre2 sub forum...