Volumes Of Fun
http://www.volumesoffun.com/phpBB3/

PolyVox::LargeVolume
http://www.volumesoffun.com/phpBB3/viewtopic.php?f=14&t=538
Page 4 of 4

Author:  kklouzal [ Mon Dec 09, 2013 12:25 am ]
Post subject:  Re: PolyVox::LargeVolume

Hello, I apologize for not getting back to you sooner. I'm going to set down and start a new project to test the points you mentioned earlier to provide a basic test project outlining the issue, aside from that I had a brilliant idea to remove all capital letters from the voxel cache location path and that seems to have had a positive effect. I am now able to run my server.exe outside the IDE's debugger every time with no problem, however client.exe is still getting hung up, this is still with the edit to largevolume.inl, removing that puts us back to square one :/

Anyways heres what client.exe is telling me now:
Image

Hopefully I'll have some more information and a compilable test case for you once I get this test project done. I've got to do it either way to integrate Recast Navigation with PolyVox (I've got single nav mesh's working but need to get a Detour Tile Cache going)

Author:  David Williams [ Mon Dec 09, 2013 9:35 am ]
Post subject:  Re: PolyVox::LargeVolume

kklouzal wrote:
...aside from that I had a brilliant idea to remove all capital letters from the voxel cache location path and that seems to have had a positive effect.


Ok, well that's strange but at least you might be on to something.

kklouzal wrote:
...this is still with the edit to largevolume.inl, removing that puts us back to square one :/


So just to be clear, are you referring to this edit:

David Williams wrote:
Something else you can try is to comment out the relevant assert and set 'm_pLastAccessedBlock' to '0' instead. That is:

Code:
// POLYVOX_ASSERT(pUncompressedBlock != m_pLastAccessedBlock, "Attempted to delete last accessed block.");
m_pLastAccessedBlock = 0;


If that fix is helping then I think I'm happy to commit it to PolyVox. I don't understand exactly why it is needed, but the fix should be harmless.

kklouzal wrote:
Anyways heres what client.exe is telling me now...


I added this "Attempting to insert vertex between two voxels with the same value" assert a few months ago when I was seeing corrupted meshes in Cubiquity. As I recall it turned out to be a threading problem, in that the volume data was being modified by another thread while the surface extraction was taking place.

Are you accessing the LargeVolume from multiple threads at all? If so you will probably have problems - see here for more information: http://www.volumesoffun.com/polyvox/doc ... ading.html

Page 4 of 4 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/