Volumes Of Fun http://www.volumesoffun.com/phpBB3/ |
|
SimpleVolume and SurfaceExtractor bounds bug http://www.volumesoffun.com/phpBB3/viewtopic.php?f=15&t=400 |
Page 1 of 1 |
Author: | StefanLundmark [ Tue Jun 05, 2012 9:09 pm ] |
Post subject: | SimpleVolume and SurfaceExtractor bounds bug |
Code: PolyVox::SimpleVolume <PolyVox::MaterialDensityPair44> volData (PolyVox::Region (PolyVox::Vector3DInt32(0,0,0), PolyVox::Vector3DInt32 (120, 120, 120))); createSphereInVolume (volData, 60); Results in the following: Using a slightly smaller Sphere or increasing the Volume Size avoids the problem, probably because the Sphere reaches the bounds of the Volume? I have no idea. If I use a Cubic Surface extractor, there are no issues with the vertices themselves though the cubes stop appearing at the edge like I expect it to. |
Author: | David Williams [ Wed Jun 06, 2012 2:15 pm ] |
Post subject: | Re: SimpleVolume and SurfaceExtractor bounds bug |
Hi, thanks for reporting this. It probably is a bug as these edge cases can be tricky to handle... Unfortunatly I'm not in a position to fix it at the moment as PolyVox is undergoing some changes, but I'll be sure to take a look before the next release. |
Author: | StefanLundmark [ Fri Jun 08, 2012 8:07 am ] |
Post subject: | Re: SimpleVolume and SurfaceExtractor bounds bug |
Thanks for your reply, David! |
Author: | David Williams [ Fri Oct 12, 2012 11:39 am ] |
Post subject: | Re: SimpleVolume and SurfaceExtractor bounds bug |
I just had a go at reproducing this but without any success. I tried both the current Git version and also the last snapshot (Dec 2011). If anyone else sees this issue and is able to provide a more complete example then I'd be interested to see it. The original report contains some interesting use of materials which I don't know exactly how to reproduce... perhaps that was relevent? I will leave this bug report open but will proceed with the next release regardless of whether it gets fixed. |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |