question about MS3D model

Post your questions, suggestions and experiences regarding to Image manipulation, 3d modeling and level editing for the Irrlicht engine here.
Post Reply
calaco
Posts: 1
Joined: Sun Oct 28, 2007 12:45 pm

question about MS3D model

Post by calaco »

how to turn the animate model(ms3d) from right-hand coordinate to left-hand coordinate
JP
Posts: 4526
Joined: Tue Sep 13, 2005 2:56 pm
Location: UK
Contact:

Post by JP »

You'd have to use a modelling program or you could just rotate it in irrlicht i guess.
Image Image Image
sio2
Competition winner
Posts: 1003
Joined: Thu Sep 21, 2006 5:33 pm
Location: UK

Post by sio2 »

This is an interesting question. To flip from RH to LH you negate Z (just concatenate the operation into your transformation matrix). If you do this though the winding order is flipped, so back- and front-facing polys become their opposite. Last time I checked, Irrlicht could only switch culling on/off and you could not specify the culling mode (front or back). You could get around this by rewriting the indices for the model in correct order for Irrlichts culling mode.

If you want to avoid all that then you need to edit the model, unless there's another trick I've missed. :wink:
Post Reply