animated mesh's bounding box ?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
kevinlynx
Posts: 24
Joined: Mon Jun 18, 2007 3:45 pm

animated mesh's bounding box ?

Post by kevinlynx »

Hi,
Just a simple question, i already have written some demo codes to demonstrate my conclusion. I just want to ask for your advice .

So , the question is , if an animated mesh doesnot move and also doesnot take any transformation, but it is animated. And does its bounding box change size by the animation ? I mean when the mesh is animated, the bounding box for it also change size .

Thanks.
arras
Posts: 1622
Joined: Mon Apr 05, 2004 8:35 am
Location: Slovakia
Contact:

Post by arras »

Why dont you set debug flag to render bounding box of your scene node to see what it does under diferent states?
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Just take the meshviewer and enable debug output.
kevinlynx
Posts: 24
Joined: Mon Jun 18, 2007 3:45 pm

Post by kevinlynx »

oh...nobody gave me a sure conclusion. So i suppose i am right.
@arras , of cource i can draw the bounding box for my mesh, in face i did it. And now i watched the box carefully, it seems the box really change its size. So i suppose i am right again .
@hybrid, yes i did . Again , the bounding box changed its size when the mesh was animated.
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Oh, I was pretty sure it does :lol: But seeing is believing :wink:
Post Reply