Skip to content
forked from TACC/GLuRay

An OpenGL interceptor using Ray Tracing backends for photorealistic rendering.

License

Unknown, GPL-2.0 licenses found

Licenses found

Unknown
LICENSE
GPL-2.0
COPYING
Notifications You must be signed in to change notification settings

carsonbrownlee/GLuRay

 
 

Repository files navigation

GLuRay

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]

building:

mkdir build
cd build
ccmake ..

in CMAKE options you will need to set the location of MANTA_SRC and MANTA_BUILD_PREFIX.

building with Embree suport:

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.

running:

./gluray glxgears

environment variables:

GLURAY_RENDER_MODE [GLREADPIXELS, GLXSWAPBUFFERS, GLFINISH, GLFLUSH]
GLURAY_CONFIG

configuration files:

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”

Example run

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

building the GUI

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.

-->

About

An OpenGL interceptor using Ray Tracing backends for photorealistic rendering.

Resources

License

Unknown, GPL-2.0 licenses found

Licenses found

Unknown
LICENSE
GPL-2.0
COPYING

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 51.4%
  • C++ 45.2%
  • CMake 1.3%
  • Perl 1.0%
  • Tcl 0.6%
  • Makefile 0.5%