Sign in to follow this  
scottsong

Help,My puzzle about coordinate value in OpenGL

Recommended Posts

In my OpenGL,when I used coordinate value over 1.0,i always failed. for example: glBegin(GL_TRIANGLE) glVertex3f(0.0,0.5,0.0); glVertex3f(-0.5,-0.5,0.0); glVertex3f(0.5,-0.5,0.0); glEnd(); this ok,but glBegin(GL_TRIANGLE) glVertex3f(0.0,20.0,0.0); glVertex3f(-20.0,-20.0,0.0); glVertex3f(20.0,-20.0,0.0); glEnd(); won't work? Could somebody tell me why? thanks ~~~ ^_^

Share this post


Link to post
Share on other sites

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