It is currently Thu Nov 21, 2019 9:09 am


All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: [Closed] CubicSurfaceExtractorWithNormals -> edge 0,0,0
PostPosted: Sun Apr 08, 2012 7:21 pm 

Joined: Sun Jan 08, 2012 10:00 am
Posts: 31
Location: Germany
if i extract with CubicSurfaceExtractorWithNormals it seems that theres missing the sides of the cubes in the edge 0,0,0 ? is it a bug or is it my failure??

Image

and btw a noobquestion, is it possible to define an array of polyvoxvolumes?


Top
Offline Profile  
Reply with quote  
 Post subject: Re: CubicSurfaceExtractorWithNormals -> edge 0,0,0
PostPosted: Sun Apr 08, 2012 7:47 pm 
Developer
User avatar

Joined: Sun May 04, 2008 6:35 pm
Posts: 1827
It's a feature :-) The CubicSurfaceExtractor (without normals) will give the corerct behaviour, but the version with normals is really just to get you started with PolyVox. In the future we will probably get rid of the 'WithNormals' version and add a seperate step to add them to an existing mesh.

And no, in general you should not define an array of volumes unless you really know what you are doing. The SimpleVolume and LargeVolume already stores thier contents as a series of blocks so you already get the benefits of cache effiency, paging, etc. But if you try to implement your own system based on an array of volumes then you will find that voxels do not have access to their neighbours (which may be in a different volume) and this will cause problems for the surface extraction.


Top
Offline Profile  
Reply with quote  
 Post subject: Re: CubicSurfaceExtractorWithNormals -> edge 0,0,0
PostPosted: Fri Oct 12, 2012 8:42 am 
Developer
User avatar

Joined: Sun May 04, 2008 6:35 pm
Posts: 1827
I'm marking this issue as closed. The CubicSurfaceExtractorWithNormals will be removed in the future, once we have added code to compute normals for a mesh coming from the regular CubicSurfaceExtractor. For now the behaviuor of the CubicSurfaceExtractorWithNormals does match the behaviour of the CubicSurfaceExtractor (in terms of the faces generated).

The lack of faces generated on one side is a deliberate feature and is documented more fully in the CubicSurfaceExtractor API docs (see here for a preview of the docs for the next release).


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 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