PDA

View Full Version : glPoint



RasterMagic
11-28-2003, 03:31 AM
Hi!

I'm trying to learn some OpenGL and at the moment I'm reading through Angel's "Interactive Computer Graphics".

I'm trying to do some of the exercises but I'm having problems with one of them. In short it's about creating a virtual frame buffer to experiment with raster algorithms. The thing that bugs me is the following quote: "...by using the OpenGL function glPoint as the basis of a simple virtual-frame-buffer library".

I've been looking through the blue book, red book etc., and I can't find no glPoint function. Am I missing something here? http://www.opengl.org/discussion_boards/ubb/smile.gif

mikael_aronsson
11-28-2003, 04:24 AM
There is none. the closest is glPointSize(), but it is possible they mean:

glBegin( GL_POINTS);
glvertex3f( x,y,z);
glEnd();

To render points...???

Mikael

RasterMagic
11-28-2003, 04:45 AM
Originally posted by mikael_aronsson:
There is none. the closest is glPointSize(), but it is possible they mean:

glBegin( GL_POINTS);
glvertex3f( x,y,z);
glEnd();

To render points...???

Mikael


You know what? I've come to the same conclusion. Thanks for your reply http://www.opengl.org/discussion_boards/ubb/smile.gif