Alright, i’ve recently noticed that there’s been some clipping going on.
on top of my 3d rendering, i’ve been displaying some text, but it worked well enough, so i never really paid a lot of attention to it, like correctness and such.
well, now i started to and i realized that it’s clipping everything to the right, and some things to the bottom…
i went and threw some lines out there, to see if i could make them appear correctly, but no dice.
here’s what i’m doing.
basically, i set up an orthographic projection
glMatrixMode( GL_PROJECTION ); glLoadIdentity( ); glOrtho( -1.0f,1.0f,-1.0f,1.0f,-1.0f,1.0f ); glBegin( GL_LINE_LOOP ); glColor3f( 0,1,0 ); glVertex2f( -1.0f,-1.0f ); glVertex2f( 1.0f,-1.0f ); glVertex2f( 1.0f,1.0f ); glVertex2f( -1.0f,1.0f ); glEnd( );
but it’s always chopping off the edge, be it in a window or fullscreen (using win32, not gult)
any ideas?
anyone ever experience similar phenomina?