How do you draw "big" points in GL ?

Creon C. Levit creon at nas.nasa.gov
Sat Aug 11 07:21:52 AEST 1990


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 at nas.nasa.gov  (Internet)



More information about the Comp.sys.sgi mailing list