OSPRay module which implements a renderer which aggregates all volume samples while a frame resolves.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
scripts
.gitignore
AccVolBuffers.ih
AccVolCaches.cpp
AccVolCaches.h
AccVolDPRenderTask.cpp
AccVolDPRenderTask.h
AccVolRenderer.cpp
AccVolRenderer.h
AccVolRenderer.ih
AccVolRenderer.ispc
CMakeLists.txt
LICENSE.txt
README.md
savr_bench.sh
submit_savr_benches.sh

README.md

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 <ospray_dir>/apps/common/sg/Renderer.cpp where the "rendererType" child's setWhiteList method is called. Optionally to see the refinement correctly you'll also want to remove the OSP_FB_ACCUM flag set on the framebuffer in the example viewer, a quick grep through <ospray_dir>/apps/exampleViewer for OSP_FB_ACCUM will find where you need to remove it.