On May 23, 2007, at 10:36 AM, Brian Greenstone wrote:
I'm wondering if someone can tell me the most efficient way to do
offscreen rendering with OpenGL such that I have access to the
resulting pixel buffer. In other words, I want to render a scene
to a buffer and then be able to read the pixels/bytes right out of
the frame.
I know I can use PBuffers to render offscreen, but I'm not sure if
there's an efficient way to access the pixels that way. I think
glReadPixels() would work, but that seems like a slow way to do it
since it would be copying the scene each frame. There seem to be
ways to make OpenGL render into my own buffer, but I don't know if
that's slower in any way, so I'm looking for suggestions for the
best method.
Thanks,
-Brian
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/mac-opengl/jstiles%
40blizzard.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden