ok, after leaving ogl alone for a while i decided to return to it, i've gone back over the basics, just creating a quad. now i'm guessing i've done something wrong as to get a square with 4 equal sides i though i was just need to use 1.0 for n value i changed in glvertex3f() but i'm finding i have to change some values to 0.5 to get n e thing that looks even. here is some code and maybe someone can point out what i've done wrong.
SetGraphicsDriver GLGraphicsDriver() GLGraphics 640,480 glViewport(0,0,640,480); glMatrixMode(GL_PROJECTION); glLoadIdentity(); gluPerspective(45.0,640/480,0.1,100.0); glMatrixMode(GL_MODELVIEW); glLoadIdentity(); Repeat glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT) glLoadIdentity() glTranslatef(0,0.0,-6.0); glBegin(GL_QUADS); glColor3f(0.0,0.0,1.0); glVertex3f( 0.0, 0.5, 0.0); glColor3f(0.0,1.0,0.0); glVertex3f(0.0,-1.0, 0.0); glColor3f(1.0,0.0,0.0); glVertex3f( 1.0,-1.0, 0.0); glColor3f(0.0,1.0,1.0); glVertex3f( 1.0,0.5, 0.0); glEnd(); Flip() Until KeyDown(key_escape)