View Full Version : Fast Drawing of Pixels.

09-22-2002, 06:43 PM
What is the fastest or a really fast way of drawing pixels? Im not talking about assembler stuff because i want to be able to draw 32bit pixels in whatever resolution i want. Also, it does not necessarily have to use OpenGL. Currently the only way i can think of is either to use OpenGL's glDrawPixel or to render to a texture and render the texure on a quad covering the entire scene. But i think there should be faster methods out there.

09-22-2002, 10:19 PM
Hi !

If you need to update the pixels alot, then I don't think you should use OpenGL, if you are using Win32 only then GDI is the best and fastest solution, if you want to be portable, then use SDL or some other library.

The problem with OpenGL is that glDrawPixels is slow, using a texture is fast, but updating the texture with new pixels is slow.