How can I change the left handed coordinate to right?

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
d3d3d353
Posts: 5
Joined: Tue Aug 31, 2010 2:43 am

How can I change the left handed coordinate to right?

Post by d3d3d353 »

Hi all:
I note that the coordinate in Irrlicht is left handed, how can I change it to a right handed coordinate? Is there any func in Irrlicht I can use?
Thanks a lot!
hybrid
Admin
Posts: 14144
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

What would be the reason to do so? All things that happen in Irrlicht work with the default coord system. You can use the matrix function to create right handed transofrmation matrices, and create your meshes manually to adhere to this coord system. But using the default scene nodes etc will not work anymore.
booe
Posts: 76
Joined: Thu Jul 29, 2010 2:12 pm

Post by booe »

I'd like to see patch that will allow users to switch Irrlicht into right handed mode. Or something like #define USE_RIGHTHANDED_COORD_SYSTEM in irrCompileConfig.h.
What do you think about it, hybrid?
hybrid
Admin
Posts: 14144
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

No damn way. That would mean millions of ifdefs all over the place for virtually no gain. Why would I want to use a right-handed system?
Post Reply