An X file problem

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
Yusaku
Posts: 8
Joined: Sun Jun 10, 2007 3:43 am

An X file problem

Post by Yusaku »

I create a terrain (200 x 200 units) in 3DMax and exported to an X file. When I loaded it to my game, I found the terrain sometimes disappeared.

In CSceneManager.cpp, I found the terrain(or call sceneNode) was culled and it's because Box attribute (core::aabbox3df) is not set - it always return (0,0,0) as my terrain bounding box.

Did I use X file in a wrong way?
Yusaku
Posts: 8
Joined: Sun Jun 10, 2007 3:43 am

Post by Yusaku »

The problem is sloved - it's because I enabled "include animation" when exporting x file.

When the program performed "updateBoundingBoxFromAnimation", it used empty matrixes for bounding box, so I got (0,0,0) and (0,0,0) for min and max bounding box. :oops:
Post Reply