Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

#ActualNickWiggill

Posted 06 July 2012 - 01:03 PM

Hi larspensjo,

Thanks for clarifying, I've updated the question by removing the reference to the "window" matrix.

Also could you confirm the order then, for matrix multiplication:
[source lang="java"]modelViewMatrix = viewMatrix * modelMatrix; //??modelViewProjectionMatrix = projectionMatrix * modelViewMatrix; //??[/source]

...Assuming matrix mul() ordering is thisMatrix * otherMatrix?

#2NickWiggill

Posted 06 July 2012 - 01:03 PM

Hi larspensjo,

Thanks for clarifying, I've updated the question by removing the reference to the "window" matrix.

Also could you confirm the order then, for matrix multiplication:
[source lang="java"]modelViewMatrix = viewMatrix * modelMatrix; //??modelViewProjectionMatrix = projectionMatrix * modelViewMatrix; //??[/source]

...Assuming matrix mul() is thisMatrix * otherMatrix?

#1NickWiggill

Posted 06 July 2012 - 01:03 PM

Hi larspensjo,

Thanks for clarifying, I've updated the question by removing the reference to the "window" matrix.

Also could you confirm the order then, for matrix multiplication:
[source lang="java"]modelViewMatrix = viewMatrix * modelMatrix; //??modelViewProjectionMatrix = projectionMatrix * modelViewMatrix; //??[/source]
...Assuming matrix mul() is thisMatrix * otherMatrix?

PARTNERS