It is currently Sat Aug 22, 2020 3:34 am

All times are UTC

Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: New RawVolume class added to PolyVox
PostPosted: Sat Jun 18, 2011 11:03 am 
User avatar

Joined: Sun May 04, 2008 6:35 pm
Posts: 1827
Hi all,

I've just commited a new 'RawVolume' class to the PolyVit Git repository. The idea is that this class is the simplest possible - it just stores it's data as a single continuous peice of memory. It doesn't even break it down into seperate blocks.

The main motivation for such a class is as a copy destination. People have talked in the past about making a copy of the data they want to process and then doing this processing on a seperate thread. The RawVolume would be a suitable place to copy your data to because it has low overhead and can be any size (other volume have to be a multiple of the block size).

Personally, I see it as a step towards smooth mesh LOD, as I next intend to add some resampling code which will copy data from one volume to another whilst reducing it's resolution.

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

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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created