I've a parent child relationship of ISceneNodes. I need to get the bounding box of this entire structure.
Will recalculateBoundingBox of the root node work? If not, what should I do? Can I convert this into an IMesh and then try out?
[SOLVED] Getting the global bounding box
-
- Posts: 41
- Joined: Thu Feb 27, 2014 10:55 am
[SOLVED] Getting the global bounding box
Last edited by cegprakash on Fri Jul 18, 2014 11:59 am, edited 1 time in total.
Re: Getting the global bounding box
Create your own box, add the box of each node to it.
-
- Posts: 41
- Joined: Thu Feb 27, 2014 10:55 am
Re: Getting the global bounding box
Thank you.
addInternalPoints() helped.
addInternalBox() failed. May be coz I didn't called repair. Not sure. Points is sufficient for me.
addInternalPoints() helped.
addInternalBox() failed. May be coz I didn't called repair. Not sure. Points is sufficient for me.