Sign in to follow this  

can't get glOrtho to work correctly

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

I'm trying to render a 3d scene using glOrtho so I get a top view. Here is what I call glOrtho(0, 640, 0, 480, -1000, 1000); Then each framea I call gluLookAt(512, 100, 512, 513, 0, 513, 0, 1, 0); Then I simply render everything normally. But all I get is a black screen. Does anybody know if I'm doing this right? I'm not performing any culling at the moment, so it is not that.

Share this post


Link to post
Share on other sites

This topic is 4691 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this