I need to draw pixels very fast on a screen.
I found this interesting page Fast pixel drawing library
author posted: "Using an OpenGL texture along with a PBO seems to be the best choice. Thanks."
I guess OpenGL/PBO is what i need.
I was reading 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 get it...
Can someone provide simple example, how to draw pixels on a bitmap on a 2D texture with PBO extension?
This is probably a good place to start OpenGL Pixel Buffer Object (PBO)
If you need to draw an image then the easiest way is textures, basically a 2D block of memory that you write pixel RGB (or whatever) values into an then ask openGL to draw to the screen. VBOs and PBOs just improve on the process of getting the texture to the screen.
To draw individual 3D points then you need to learn more about OpenGL start here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With