Add volume rendering example. (~2.3x speedup from SIMD vs serial code.)

This commit is contained in:
Matt Pharr
2011-08-17 12:05:37 +01:00
parent fce183c244
commit ecaa57c7c6
14 changed files with 1691 additions and 0 deletions

View File

@@ -93,3 +93,17 @@ Simple
This is a simple "hello world" type program that shows a ~10 line
application program calling out to a ~5 line ispc program to do a simple
computation.
Volume
======
Ray-marching volume rendering, with single scattering lighting model. To
run it, specify a camera parameter file and a volume density file, e.g.:
volume camera.dat density_highres.vol
(See, e.g. Chapters 11 and 16 of "Physically Based Rendering" for
information about the algorithm implemented here.) The volume data set
included here was generated by the example implementation of the "Wavelet
Turbulence for Fluid Simulation" SIGGRAPH 2008 paper by Kim et
al. (http://www.cs.cornell.edu/~tedkim/WTURB/)