I'm writing a modeling program, in this program I draw points to display fe. selected points.
This works fine on my machine and some others but when I tested it on a PII Linux machine and on a portable with W98 the drawing gets messed-up when zooming.
For this zooming I always use glScale( );
What could be the problem here ?
Is this purely related to the video-drivers or did I forget something ?
Code to draw points :
for (int i=0; i < nrPoints; ++i )
if(!data[ ss->directIndex[i] ]->isFlag(a_iFlag))
glBegin( GL_POINTS );
glVertex3d( data[ ss->directIndex[i] ]->x,
data[ ss->directIndex[i] ]->y,
data[ ss->directIndex[i] ]->z );
Code to zoom :
glScalef( viewer->zf, viewer->zf, viewer->zf );