Offline viewpoint rendering

Hi guys,

We have one window using sdl, which displays a specific viewport of a car with all environment. The car has a camera and now we would like to get the view from this camera and pass it to another application for further processing. We don’t want to display this data, just save it and pass it to another program via ports.

What would be the most efficient way to do this please?
Thanks in advance,

Use the framebuffer object ( FBO ) to render the scene, then read the image with glReadPixels. If you want to be fancy, you can try utilizing the pixel buffer object as described here, but this will probably be an overkill in your situation.