OSPRay Sample Accumulation Volume Rendering Module
This project is the module for OSPRay which implements the Sample Accumulation Volume Rendering technique as described in the paper W. Usher, J. Amstutz, C. Brownlee, A. Knoll, I. Wald. "Progressive CPU Volume Rendering with Sample Accumulation", EGPGV, 2017 (To Appear).
Building the SAVR Module
First you'll need the OSPRay source, after which cd into OSPRay's modules directory and clone this repo. Afterwards, run cmake to build OSPRay and build both the MPI module and this module:
cmake -DOSPRAY_MODULE_MPI=ON -DOSPRAY_MODULE_ACCVOL_RENDERER=ON <etc>
After building you can create load the "savr" module and create an instance
of the "savr" renderer to use the rendering method. When using this renderer
you should create your framebuffer without the
OSP_FB_ACCUM flag, as the
progressive accumulation is handled by the renderer itself.
Currently, to use the renderer with OSPRay's example viewer you'll need to add
it to the whitelist of valid renderers in
where the "rendererType" child's
setWhiteList method is called. Optionally
to see the refinement correctly you'll also want to remove the
flag set on the framebuffer in the example viewer, a quick grep through
OSP_FB_ACCUM will find where you need
to remove it.