PDA

View Full Version : Server side off-screen rendering with basic GL



M/\dm/\n
02-19-2008, 05:45 AM
Hi everybody!

I was wondering if it is possible to do server side rendering with OpenGL. That is, I gather data, send it to remote server, server renders picture and sends pixel data back to client PC.

The OS is windows so I guess I cannot rely on anything more than unextended GL 1.1.

If I remember correctly, then glreadpixels returns junk if the screen is partially covered by other windows, so I guess I will receive junk if I render to service desktop station as well.

Has anyone attempted anything like that, is it possible? I heard MesaGL is something that might help, but I'm not too sure either.

I have had same experience with offscreen rendering via framebuffer extension and WGL extensions for pbuffers, but I can't remember much of that as it was like 2-3 years ago.

Zengar
02-19-2008, 06:27 AM
I am afraid you will have to write your own wrapper for it. On Unix systems, newer drivers do accelerate indirect rendering, but I doubt it works for an X Server over a network.

Dark Photon
02-19-2008, 08:08 AM
I was wondering if it is possible to do server side rendering with OpenGL. That is, I gather data, send it to remote server, server renders picture and sends pixel data back to client PC.
Check out:
* VirtualGL (http://www.virtualgl.org/About/Introduction)
* VirtualGL (http://en.wikipedia.org/wiki/VirtualGL)
* Chromium (http://en.wikipedia.org/wiki/Chromium_(software))
* Chromium Renderserver Paper (http://www-vis.lbl.gov/Publications/2008/LBNL-63693-CRRS.pdf)