-
Notifications
You must be signed in to change notification settings - Fork 4
Home
This project is a module for the OSPRay ray tracer (http://www.ospray.org) that implements the Particle K-D Tree Technique as described in the paper I. Wald, A. Knoll, G. P. Johnson, W. Usher, V. Pascucci, M. E. Papka. “CPU Ray Tracing Large Particle Data using Particle K-D Trees,” IEEE Visweek, 2015.
This code was mostly authored by Ingo Wald and Aaron Knoll (with help by several others); this code is experimental, and is hereby release without any warranty (implied or expressed) as to correctness, performance, etcpp.
To build the PKD module, you first have to have a version of OSPRay in source. Let us assume that you have already checked that out (into ~/Projects/ospray), that you already have created a cmake build directory (say, in ~/Projects/ospray/build), and that you have already properly configured and built ospray.
Now, first go to ospray's module subdirectory, and check out the pkd module into this directory:
cd ~/Projects/ospray/modules
git clone <this module>
Now, go into your ospray build directory, do a 'ccmake', enable the pkd module, and rebuild
cd ~/Projects/ospray/build
ccmake .
# enable PKD module in cmake dialog, then 'c'onfigure and 'g'enerate
make
You should now have a properly built libospray_module_pkd.so, as well as a ospPartiKD binary.
Once built, using the PKD module consists of two steps:
-
converting a particle model to pkd format
-
rendering the resulting pkd file with ospray's sample qt viewer