It is currently Sat Aug 22, 2020 4:27 am


All times are UTC




Post new topic Reply to topic  [ 11 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Trouble creating a Irrlicht mesh from CubicSurfaceExtrac
PostPosted: Tue May 13, 2014 1:36 am 

Joined: Fri Apr 11, 2014 9:05 pm
Posts: 5
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


Top
Offline Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Theme created StylerBB.net