Boundingbox and ogre procedural

dreamig

27-10-2013 13:58:44

Hi,
i created cylinder using ogre procedural
and i want to know the bounding box of this cylinder is is cube ? or it's cylinder too?
because i want that the boundingbox be cube , like when i create normal node

mikachu

28-10-2013 08:20:01

A bounding box is and always will be... a box :wink:

A cylinder's bouding box is the smallest box containing the cylinder, not necessarily a cube (it's only a cube if cylinder's height is equal to cylinder's diameter)
If you loaded a cylinder mesh inside Ogre, I'm pretty sure it would have a similar bounding box.