drwbns wrote:
Hmm. Is the ray volume able to to grow like the LargeVolume?
No, and this is one of the reasons why it is easier to make it thread safe. The LargeVolume has to perform a lot of internal memory management (blocks of memory get added, deleted, and moved around) and this is why you can have problems when you try to access multiple voxels at the same time. The RawVolume is entirely fixed and doesn't move in memory, so accessing one voxel does not invalidate another.
drwbns wrote:
If not, can I use multiple rawVolumes?
This is actually quite a common question, so I've just added an FAQ entry for it:
http://www.gitorious.org/polyvox/polyvox/blobs/master/documentation/faq.txtIt's a bit messy... I wrote it when tired. I'll tidy it up before release.
Basically, the answer is that you shouldn't do this because you will have problems on your block boundaries. PolyVox needs to get access to a voxels neighbours and it can't do this easily if they are in a different volume.