PDA

View Full Version : Single Pixels



icornwal
10-12-2000, 09:37 AM
I am in a class on graphics programming and one of our assignments is to draw a picture using nothing but lighting up individual pixels. I know how to do it in Visual C++ but I would really like to do it all in openGL. I can't find any info on how to do it. Anyone know?

JustinVoshell
10-12-2000, 12:55 PM
Well if the pixels need to be right next to each other you'll want to use textures (similar to bitmaps). If you just want points in a space, you could use GL_POINTS.