Jump to content
  • Advertisement

Archived

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

Vlion

OGL co-ordinate systems.

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

Hi. Is the z-plane right-positive or left-positive ? Also...should this cut of code display anything ? gluLookAt(0, 0, 6, 0, 0, 0, 0, 1, 0); glBegin(GL_LINES); { glVertex3f(0, 0, -1); glVertex3f(1, 1, -1); glVertex3f(1, 0, -1); } glEnd(); Also, I`m getting thrown into 256 color after switching from 16bpp to 16bpp. I saved the DEVMODE into a variable to hold the old data, then called ChangeDisplaySettings() on the old data when my prog exits. This is kinda strange...any ideas ? Oh yeah...at 16bpp my 3D card accelerates stuff...a Voodoo 3 ~V''lion I came, I saw, I got programmers block. ~V''''lion

Share this post


Link to post
Share on other sites
Advertisement
The Z-axis is pointing out of the screen I think that is called right handed (50% probability ).
Yes, the code should show some lines if the other variables has the right values.

If you are using CDS_FULLSCREEN should you be able to reset the old values without having to save them in some variable. See the NeHe tutorials.

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!