exported meshes vertices appear in reverse order in ogre

Problems building or running the engine, queries about how to use features etc.
Post Reply
User avatar
sinbad
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 19269
Joined: Sun Oct 06, 2002 11:19 pm
Location: Guernsey, Channel Islands
x 66
Contact:

Post by sinbad »

I don't know how you're converting, but you should bear in mind that OGRE uses a right-handed coordinate system. As well as the axis directions as shown in that link, it also means that the 'front' of a triangle is that side where the triangles vertices are viewed in counter-clockwise order.

Also, I think 3DS needs to switch the X and Z axes - I remember seeing that in the exporter but not really knowing why.
User avatar
discipline
OGRE Community Helper
OGRE Community Helper
Posts: 766
Joined: Mon May 16, 2005 12:09 am

Post by discipline »

In blender you can scale negatively by one axis to mirror the object. This would accomplish the 180 degree rotation, but put the door on the correct side. (ie scale by x axis, -1)
User avatar
discipline
OGRE Community Helper
OGRE Community Helper
Posts: 766
Joined: Mon May 16, 2005 12:09 am

Post by discipline »

I was just relating my experience with blender to your problem. 3DS probably has a similar option to mirror your scene. You can do it before export.
Post Reply