Jump to content

  • Log In with Google      Sign In   
  • Create Account

World->screen cords


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
2 replies to this topic

#1 Kilj   Members   -  Reputation: 122

Like
Likes
Like

Posted 07 November 2001 - 04:36 AM

Just wondering how you can go from world co ordinates to screen cordinates. How can I draw triangles and quads in screen cords instead of world. Like if I want to have a quad thats 32*32 pixels how can I get that done?

Sponsor:

#2 zedzeek   Members   -  Reputation: 528

Like
Likes
Like

Posted 07 November 2001 - 07:58 AM

see the faq
http://www.opengl.org/developers/faqs/technical.html
u want to setup an orthogonal projection matrix with dimensions of your screen

#3 Kilj   Members   -  Reputation: 122

Like
Likes
Like

Posted 07 November 2001 - 09:08 AM

Thanks man, zedzeek, thank you.

=)




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