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

Trouble creating a Irrlicht mesh from CubicSurfaceExtractor
http://www.volumesoffun.com/phpBB3/viewtopic.php?f=14&t=275
Page 2 of 2

Author:  JonThomas [ Tue May 13, 2014 1:36 am ]
Post subject:  Re: Trouble creating a Irrlicht mesh from CubicSurfaceExtrac

Gnurfos wrote:
I had the same problem, and it was solved by calling recalculateBoundingBox() on the created mesh (doing it on the meshbuffer is not enough, I'm not sure it is even needed). You can display bounding boxes to confirm this is the problem (call setDebugDataVisible(irr::scene::EDS_BBOX) on the scene node).


For what it's worth, I ran into this tonight too; you have to call recaluclateBoundingBox() on both the MeshBuffer and the mesh, from my experience.

On the bright side I thought it was an issue with my hacky camera prototype, and in trying to fix this I got a proper camera class out of it. :P

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