| Volumes Of Fun http://www.volumesoffun.com/phpBB3/ |
|
| New Volume class with improved compression http://www.volumesoffun.com/phpBB3/viewtopic.php?f=2&t=141 |
Page 3 of 3 |
| Author: | ker [ Mon Feb 21, 2011 1:22 pm ] |
| Post subject: | Re: New Volume class with improved compression |
RLE won't compile for me it needs an Code: #include <limits> in Code: library/PolyVoxCore/include/PolyVoxImpl/Block.h after that the examples work fine you should write to the upgrade notes that all calls to tidyUpMemory() need to be removed since it doesn't exist anymore and while we're at it, Filters.inl doesn't need the #include "MaterialDensityPair.h" and the occurrance of MaterialDensityPair44 needs to be replaced by VoxelType (not related to RLE) moving my project from PolyVox-trunk to RLE worked without any mentionable troubles |
|
| Author: | David Williams [ Mon Feb 21, 2011 8:52 pm ] |
| Post subject: | Re: New Volume class with improved compression |
Thanks, I'm not going to get any development done this week but I'll make a note to fix those things before doing the merge into the trunk. |
|
| Author: | ker [ Wed Feb 23, 2011 8:16 am ] |
| Post subject: | Re: New Volume class with improved compression |
I don't think anyone here will complain if it takes time... You have done great things for us, for greater things we'll just need patience I had some odd things happening for small block side lengths but basically I was getting the data from other blocks... I believe the Block::initialise function needs this: Code: uint32_t uNoOfVoxels = m_uSideLength * m_uSideLength * m_uSideLength; RunlengthEntry<uint16_t> entry; entry.length = uNoOfVoxels; entry.value = VoxelType(); m_vecCompressedData.push_back(entry); at least it works for Material8, I'm not sure about other materials and how they should behave |
|
| Author: | David Williams [ Wed Feb 23, 2011 8:22 pm ] |
| Post subject: | Re: New Volume class with improved compression |
Ah, thanks. Actually I have seen there is a bug somewhere (there has been a problem with the extracted meshes using the new Volume) but I hadn't tracked it down yet. Hopefully your change will fix it |
|
| Page 3 of 3 | All times are UTC |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|