The right example of drawing pixels OpenGL / PBO

I need to draw pixels very quickly on the screen.

I found this interesting page Fast Pixel Drawing Library

the author posted: "Using OpenGL texture with PBO seems to be the best choice. Thanks."

I think OpenGL / PBO is what I need.

I read about PBO here http://www.opengl.org/registry/specs/ARB/pixel_buffer_object.txt and here http://www.songho.ca/opengl/gl_pbo.html but I donโ€™t understand ...

Can someone provide a simple example of how to draw pixels on a bitmap on a 2D texture with the PBO extension?

+7
source share
1 answer

This is probably a good place to run the OpenGL Pixel Buffer Object (PBO)

If you need to draw an image, the easiest way would be to texture, basically a 2D block of memory that you write RGB pixels (or any other) values, and then ask openGL to draw on the screen. VBOs and PBOs simply improve the process of obtaining texture on the screen.

To draw individual 3D points, you need to learn more about OpenGL. Start here

+3
source

All Articles