Volumes Of Fun
http://www.volumesoffun.com/phpBB3/

Cubic voxels with normals - mesh generation optimization
http://www.volumesoffun.com/phpBB3/viewtopic.php?f=14&t=496
Page 1 of 1

Author:  komorra [ Thu Apr 11, 2013 12:22 pm ]
Post subject:  Cubic voxels with normals - mesh generation optimization

Hi :) I have big pleasure to use the library. And hello everyone - this is my first post here :). I have question:

Does PolyVox support decimation on cubic mesh extractor? My goal is to have optimum voxel mesh based on cubes with only colors, position, and normals.

Is there a way to achieve this? Thanks in advance for reply.

Author:  David Williams [ Fri Apr 12, 2013 7:56 am ]
Post subject:  Re: Cubic voxels with normals - mesh generation optimization

Decimation of cubic meshes is only supported in the CubicSurfaceExtractor, and not in the CubicSurfaceExtractorWithNormals. So in general we would recommend using the version without normals, and then creating normals in the fragment shader when you want to perform lighting. You can read ho to do this here: http://www.volumesoffun.com/polyvox/doc ... bic-meshes

You should also read this: http://www.volumesoffun.com/polyvox/doc ... bic-meshes

And be aware of this issue: https://bitbucket.org/volumesoffun/poly ... lification

Hope that helps :-)

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/