It is currently Sat Aug 22, 2020 4:29 am


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Cubic voxels with normals - mesh generation optimization
PostPosted: Thu Apr 11, 2013 12:22 pm 

Joined: Thu Apr 11, 2013 6:19 am
Posts: 1
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.


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Cubic voxels with normals - mesh generation optimization
PostPosted: Fri Apr 12, 2013 7:56 am 
Developer
User avatar

Joined: Sun May 04, 2008 6:35 pm
Posts: 1827
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 :-)


Top
Offline Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created StylerBB.net