[PyOpenGL-Users] command-line rendering.
Brought to you by:
mcfletch
From: Uwe H. <uw...@he...> - 2005-11-28 09:33:37
|
Hi, is it possible to use PyOpenGL / PyOpenGLContext to render a scene without having to run an X11 server? Basically, what I want to achieve is rendering a scene (e.g. imported from a VRML file) from the command line and then dump a screenshot of that (PNG, JPG, whatever). I can load the VRML and dump the rendered image easily, _but_ I cannot figure out how to do it _without_ opening a window (i.e. requiring X11). I guess I could abuse something like xfvb, but there must be a more elegant way... TIA, Uwe. --=20 Uwe Hermann <uw...@he...> http://www.hermann-uwe.de | http://www.crazy-hacks.org http://www.it-services-uh.de | http://www.phpmeat.org http://www.unmaintained-free-software.org | http://www.holsham-traders.de |