[comp.sys.sgi] How do you draw "big" points in GL ?

creon@nas.nasa.gov (Creon C. Levit) (08/11/90)

I know that this has come up before, but how do you draw "large" points
(i.e. 2x2 pixels) efficiently using GL.  Here are some ideas that I have
thought of and perhaps even tried.  Is there a "right" way (on the VGX?) or
any other ideas?

1. Use cmove() and charstr(".").  This is slow and kludgy.

2. Draw the image halfsize and use rectzoom()  (of course this magnifies
*everything*)

3. Keep careful track of transformation matrices, map world-x-y-z to screen-
x-y-z, use rectf(screen-x-y-z), or filled polygons in screen space.


What I want is pointsize(int) that behaves like the GL call linewidth().

--
Creon Levit

mail stop T045-1
NASA Ames Research Center
Moffett Field, California 94035

(415)-604-4403

creon@nas.nasa.gov  (Internet)