Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Some Guy

Where on the screen is the origin?

This topic is 6105 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

Advertisement
Guest Anonymous Poster
by default you will start at 0 on the Z axis and the X and Y zero points will be directly centred on the screen. Remember those cartesian graphs back in high-school

Share this post


Link to post
Share on other sites
AP was refering to Perspective view. In orthographic view, the origin is whereever you want it.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
> AP was refering to Perspective view. In orthographic view, the origin is whereever you want it.

In perspective view it also is anywhere you want. You have to modify the projection matrix accordingly.

- AH

Share this post


Link to post
Share on other sites
I think he may be referring the mouse coordnates and there position on the screen, windows has the 0,0 for mouse position at the top left, OpenGL is at the bottom Left.

Share this post


Link to post
Share on other sites
quote:
Original post by Eber Kain
I think he may be referring the mouse coordnates and there position on the screen, windows has the 0,0 for mouse position at the top left, OpenGL is at the bottom Left.


Who, me? No.

Share this post


Link to post
Share on other sites

  • 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!