Jump to content
  • Advertisement
Sign in to follow this  
qingrui

XNA will use right-handed system!

This topic is 4516 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Have you seen the shocking news? XNA team said that XNA will use right-handed system! Is this good or bad? I spent years to be used to the left-handed system, and now I should roll back? The good thing is that it will be the same as 3dsmax, maya, etc - No need for hand conversion any more. For your reference: http://letskilldave.com/archive/2006/06/29/XNA-Framework-tidbits_2E002E002E00_.aspx

Share this post


Link to post
Share on other sites
Advertisement

If you read down the comments further the XNA System will be right handed by default, Left handed systems are still supported.

"letskilldave said:
I want to amplify my own statement and Mitch's: the XNA framework is right-handed, _by default_. Left-handed coordinate systems are also supported."

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Isn't this the same as OpenGL now also?

Share this post


Link to post
Share on other sites
Ultimately its not going to make a huge amount of difference - so probably not worth getting to worked up about. Unless you're getting friendly with the maths then the various D3DX (or whatever its replacement is) calls will mask any of the mathematical complexities.

Having said that, it does strike me as an odd change to make. Especially as legacy (and I think also D3D10) are still LH systems. I'd hazard a guess that initially it'll cause more confusion than it'll solve... but we'll just have to wait and see!

Quote:
Original post by Anonymous Poster
Isn't this the same as OpenGL now also?
I believe so, but I'd also imagine you can switch to a LH system in OpenGL if you wanted.

Cheers,
Jack

Share this post


Link to post
Share on other sites
As far as I have seen all D3D10 samples are still LH but as in D3D9 the D3DX lib still contains the RH matrix build function.

I don’t think that XNA will have a separated assembly for the D3DX functions. The MDX 2.0 betas already integrated everything in only one assembly.

Share this post


Link to post
Share on other sites
Is this possibly due to the issue with matrix multiplies in shaders? NTNET recently mentioned it in the question about SetValue vs SetMatrix. Wouldn't this save that transpose? Or does my math just suck? :).

Share this post


Link to post
Share on other sites
AFAIK The transpose is independent of LH/RH. It’s done to allow the shader to use DP4 operations instead of MUL/MAD or the mul4x4 macro. As every vertex shader hardware out there should be able to do a DP4 as singular operation the precession should be better. Additional the DP4 are more independent than the MUL/MAD chain and can better optimized.

Share this post


Link to post
Share on other sites
Quote:
Original post by Anonymous Poster
Isn't this the same as OpenGL now also?

IIRC, most of the DCC's use left-handed systems as well, so that could be part of the reasoning behind it.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!