Multi-viewpoint rendering for readback of same obj

Hello,

I need to to render a scene from multiple viewpoint at each time step and to readback the rendered images on the main memory.

Any idea on how to do it as fast as possible?

First guess would be to use one FBO for each viewpoint and a VBO for the scene and looping on all my viewpoint doing:
+FBO binding,
+Viewpoint setting,
+VBO rendering,
+FBO texture pixel read.

Does it look right or do you see a fastest way?

Thanks,

Ben

+FBO texture pixel read. -> that would be a case were async PBO is useful.
http://www.songho.ca/opengl/gl_pbo.html

OK. Thanks for the tips on async PBO. I’ll look into that.

One other thing. Is there a way to readback the vertices and facets processed by the graphic card?

I explain myself a bit more: I would need to make a library where people just need to write their “draw” function and when launching the program it would create N views of their objects and an .iff or .obj file for each frame.

Thanks again for your help,

Benjamin