Save whole open GL scene

Is there a way to save a whole openGL scene so that if you are drawing some 3D lines for example it saves the lines and coordinates but it will allow you to change camera perspectives on playback.

I think I am dreaming but if i am generating a scene live and changing the camera angles live I would love to save the scene and have it update every time something is changed inside (not updating for the view though) and have these changes time stamped so I can reload the scene and have it play the changes but be able to use different virtual camera angles?

Not sure what you mean, but you might want to try ofVbo.

I’m not sure if this is what you are looking for, but this uses the feedback buffer to capture everything that’s drawn (in order to do postscript output of an opengl scene):

more info: (has a section about feedback)

again, I’m not sure if this is helpful, but I’d dig around feedback mechanism to get drawing data back to the cpu from the gpu.