Subsections
6. OpenGL Wrapper
FlowVR Render comes with a special renderer: an OpenGL Wrapper. It
enables running unmodified OpenGL applications, based on a simple
framebuffer grabbing.
An example using this wrapper is given in the examples/opengl-wrapper
directory.
You first need to modify the
examples/opengl-wrapper/net/opengl-wrapper.mml.xml
file
to put the application executable name in the exec
template. Arguments can be given by appending them to the
exec template.
If this application needs to be started in a particular directory,
use the cd template to switch to this directory before the
application is launched.
One template is remaining : opengl template is used to
specify which OpenGL library should be loaded at runtime.
The default one is /usr/lib/libGL.so.1.
warning: some installations might have this file installed
under /usr/X11R6/lib. As for 64bit linux systems, the library
might be located under /usr/lib64.
Building the example is simply done by executing:
make
Executing the example is done by executing (a flowvr deamon must be running of course):
make run
2009-04-06