glPolygonMode(GL_FRONT_AND_BACK,GL_POINT);
glPointSize(5.0);
glBegin(GL_POINT);
glVertex3f(¡¡)£»
glEnd();
the point does not appear.
is there any wrong in the above code?
glPolygonMode(GL_FRONT_AND_BACK,GL_POINT);
glPointSize(5.0);
glBegin(GL_POINT);
glVertex3f(¡¡)£»
glEnd();
the point does not appear.
is there any wrong in the above code?
Maybe you are not setting ortho or glperspective right? What is ii?
Jess
Hi !
If it’s not a typo, then try GL_POINTS instead (with an ‘S’ at the end), should work much better.
Mikael
it works!
thanks a lot!
Originally posted by mikael_aronsson:
[b]Hi !
If it’s not a typo, then try GL_POINTS instead (with an ‘S’ at the end), should work much better.
Mikael[/b]