It is currently Sat Aug 22, 2020 1:53 pm


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Cube Sizes
PostPosted: Wed Apr 04, 2012 3:50 am 

Joined: Thu Mar 29, 2012 7:26 pm
Posts: 14
Hey. Just wanted to say I really love PolyVox. SO I am using the Cubic Surface Extractor, and I was wondering if there was any way to make the blocks bigger. I am guessing that it just makes a cube the size of the grid point the voxel is in, but is there a way to make the individual grid cells larger? I wanted to make a minecraft clone for fun, and so I wanted the blocks to be 1x1x1 meter. Thank you!


Top
Offline Profile  
Reply with quote  
 Post subject: Re: Cube Sizes
PostPosted: Wed Apr 04, 2012 8:36 am 
Developer
User avatar

Joined: Sun May 04, 2008 6:35 pm
Posts: 1827
The voxels in PolyVox do not have any particular units, in the same way that the coordinate systems in OpenGL or Direct3D do not have units. The size of a voxel is whatever you decide it is.

That said, after you have extracted the mesh you may wish to scale it to match the other elements in your scene. Or, scale the other elements instead and leave the voxel mesh as it is. In either case you perform this scaling through your graphics API rather than through PolyVox.


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 6 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