Problem in loading mesh into GranTurismOgre Sample

Froggie

23-07-2008 17:32:39

Hi
I have problem in loading my .mesh file into GarnTurismOgre Sample,
when the model is loaded i have this when i try to rotate the node ,the BoundingBox will not rotate.If i try rotate model in blender the effect is that same.Please help me.
Juan

df3n5

24-07-2008 00:16:16

I'm having a similar problem, try clicking on the "Fix up axis to Y" button when you are exporting the mesh in blender. That should have it oriented level with the ground at least.

In mine, the car is pointing sideways, and I have no idea how to change it, I've had a look at the xml generated during the export from blender and it seems to just be a list of points, I can't see anything to do with orientation anywhere along the way, and as you say, changing the orientation in Blender doesn't seem to make any difference.

Hmm....If anyone knows how to change its orientation I'd love to know.

EDIT: My problem was due to the centre of the mesh in Blender, the centre of my object wasn't in the centre of my object in blender so it went weird in OGRE. I think you have a similar issue, to solve it, select your object, go into edit mode, hit F9, select where you want your new centre to be and click on centre cursor in the Mesh menu. Then re-export your mesh.