PDA

View Full Version : Exporting from maya in LHCS


creaminds
06-28-2004, 07:19 AM
I'm curently developing a 3d engine in DirectX.
I use Alias Maya to model what I need.
I have wrote a plugin for maya that exports what I model in my format.
The problem I have is that I want to export from maya my models in left handed coordinate system. Is there a way to do this ? or do you know some good tutuorials or infos about this ?

Thnks.

paulwconnor
07-20-2004, 04:33 PM
I'd have thought it would simply be a case of flipping one of the axes over? This would normally be the z-axis - so (depending on how you've made your exporter) you should be able to simply multiply all z-coordinates by -1 to convert left->right-hand. The same would obviously work for the opposite scenario...

I hope that helps?

Paul Connor.
Director: www.cgtoolshop.com (http://www.cgtoolshop.com)
Helping you realise your dreams!

creaminds
07-21-2004, 05:26 AM
Thnks for your reply.
I finaly solve the poblem.

If everyone of you intend to do this you have to do this:

1. as paulwconnor sais, you have to change all the z coordinate of vertices to -z;
2. also you have to change the X and Y rotation of meshes' transform to -x, -y

and that it's all.

Thnks, paulconnor for your reply.:bounce:

CGTalk Moderation
01-18-2006, 02:00 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.