An OpenGL interceptor using Ray Tracing backends for photorealistic rendering.
<h2>prerequisites:</h2>
1. the latest build of Manta. Enable the DYNBV_APPROX option in Manta for significantly faster acceleration structure build times.
2. cmake [ccmake recommended]
mkdir build
cd build
ccmake ..
in CMAKE options you will need to set the location of MANTA_SRC and MANTA_BUILD_PREFIX.
1. Currently, Manta is still required and has to be built with USE_SSE disabled in order to build with Embree support.
2. In build directory, ccmake .
3. Enable USE_EMBREE and then specify the root folder of the Embree install as well as a build folder.
4. Configure, Generate, and then run “make”
NOTE: Embree is setup to use progressive rendering while most applications are event driven. Be sure to run the path tracer with sufficient samples per pixel to get a decent image.
./gluray glxgears
GLURAY_RENDER_MODE [GLREADPIXELS, GLXSWAPBUFFERS, GLFINISH, GLFLUSH]
GLURAY_CONFIG
config files are in the form: -apply [-spp ] [-skydome ] [-reflectivity ] [-env ] [-ao ] [-phong] [-shadows] [-no_gl_lights] [-rotate ] [-plane] [-thinLens ] [-pinhole] [-lambertian] [-thinDielectric] [-metal] [-transparent] [-orenNayar] [-write_to_file ]
example configuration files:
“-apply -spp 1 -threads 8 -phong -fov 30 -ao 36 10.0 0.8″
“-apply -spp 8 -threads 8 -skyDome 32 100 0.8 -reflectivity 0.1 -env /Users/username/data/lightProbes/campus_probe.hdr -ao 36 10.0 0.8 -phong -fov 45 -shadows -no_gl_lights”
Here is an example of running glxgears with Embree.
Configuration file: “-apply -spp 256 -threads 16 -skyDome 32 100 0.8 -reflectivity 0.1 -env /work/01336/carson/data/lightProbes/rnl_probe.pfm -ao 36 10.0 0.8 -phong -fov 45 -shadows”
GLURAY_CONFIG=/home1/01336/carson/gluray_scripts/shiny_embree.cfg ./gluray glxgears
the GUI is located in glurayGUI folder which can be built with Qt. Currently this is disabled and hasn’t been tested with newer versions of GLuRay, you will need to modify defines.h to enable run_client. The client is run by first running the GUI program using GLuRay and then launching GLuRay instances with other programs which will then attach to the GUI.
GLuRay was written by Carson Brownlee at the University of Utah. It is based on SpyGlassGL and the Manta ray tracer.
-->