Jump to content

  • Log In with Google      Sign In   
  • Create Account


Sprite is flipped vertically


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
No replies to this topic

#1 JWBaker   Members   -  Reputation: 235

Like
0Likes
Like

Posted 08 March 2012 - 02:57 PM

Using the DX9 sprite functionality i can render a sprite without setting any of the transform matrices and it renders in the upper left corner at 0,0 with no issues.

I want to make my 0,0 coordinate be the center of the screen so i need to fiddle with my projections...

Device.SetTransform(TransformationState.Projection, Matrix.OrthoLH(800,600,0,1));

This puts the sprite in the center of the screen, but it is flipped vertically. Whaere could be issue be here?

Sponsor:



Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS