How to show up points in opengl?
This is part of my program :
Gl.glColor3f(1, 0, 0);
Gl.glBegin(Gl.GL_POINT);
Gl.glVertex3f(5, 1, 0);
Gl.glVertex3f(5, 2, 0);
Gl.glVertex3f(5, 3, 0);
Gl.glVertex3f(5, 4, 0);
Gl.glVertex3f(5, 5, 0);
Gl.glEnd();
I have my 3d view in open gl and there i have created spheres,cylinders and stuff like that with GLUT and all is fine.But why my points don't show up?
Thanks
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement