Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


#ActualL. Spiro

Posted 23 April 2014 - 03:00 PM

In a left handed system

In Direct3D period, and indeed row-major matrices period.
Why is there suddenly all this confusion about handedness?
The difference between left-handed and right-handed doesn’t exist until you render something to the screen, in which case the projection matrix is different. Until then, nothing else changes.
 
 
 

Here's my code of composing a model matrix:

Just a note, sin() and cos() are more than expensive. Never call sin() and cos() with the same values repeatedly. Store them to locals and use the locals.


L. Spiro

#1L. Spiro

Posted 23 April 2014 - 02:59 PM

In a left handed system

In Direct3D period, and indeed row-major matrices period.
Why is there suddenly all this confusion about handedness?
The difference between left-handed and right-handed doesn’t exist until you render something to the screen, in which case the projection matrix is different. Until then, nothing else changes.


L. Spiro


PARTNERS