Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!know!samsung!sdd.hp.com!decwrl!shelby!eos!amelia!creon From: creon@nas.nasa.gov (Creon C. Levit) Newsgroups: comp.sys.sgi Subject: How do you draw "big" points in GL ? Message-ID: Date: 10 Aug 90 21:21:52 GMT Sender: news@amelia.nas.nasa.gov Distribution: comp.sys.sgi Organization: Applied Research Office, NASA Ames Research Center Lines: 27 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)