Main

CMSC 740 Project -- Website

Realtime Approximate Subsurface Scattering - Paper

Realtime Approximate Subsurface Scattering - pdf

Code

Viewer -- This allows you to view the various Subsurface Scattering Effects

Models -- These are two sample models, the monk and the armadillo from the paper

Eigenfunctions -- Contains the computed eigenfunctions for the models above



The program was created and tested under Linux (RHEL4). I can not be certain it will work properly under other platforms. To run the program, create a top-level directory into which you can unzip the viewer the models and the eigenfunctions... i.e.

  • $mkdir viewer
  • $mv viewer.tar.gz models.tar.gz eigenfunctions.tar.gz viewer/
  • $cd viewer
  • $tar xzvf viewer.tar.gz
  • $tar xzvf models.tar.gz
  • $tar xzvf eigenfunctions.tar.gz



The models will unzip into the Data/ folder, and the eigenfunctions into the output/ folder. The environment maps and diffuse irradiance maps will unzip into the top-level directory. To run the program, chose the <model>, <eigenfunc>, and <envmap> that you wish to view. The environement maps are of the form *_angularmap.bmp, do not load a *_angularmap_diffuse.bmp file; these are the diffuse irradiance maps and they will be loaded automatically. The command to run the program is:

  • $ ./Viewer <model> <eigenfunc> <envmap> &



The initial window may take some time to pop up, this is because the program is calculating the subsurface scattering normals using the geometric space filter as described in the paper. Once the program has loaded, you can move and rotate the mesh with the mouse, the other controls are as follows:

m :
toggle display of the mesh with the reconstructed normals
f :
if viewing the mesh with reconstructed normals, toggle the frequency filter
b :
if viewing the mesh without the reconstructed normals, toggle geometric filter
d :
view the contours of the different eigenfunctions on the mesh
< :
decrement the eigenfunction for which the contour is being displayed
> :
increment the eigenfunction for which the contour is being displayed
- :
decrease the standard deviation of the frequency space filter
+ :
increase the standard deviation of the frequency space filter
h :
toggle "reinjection" of high frequency signal into the spectral transform

Pictures

Regular Lighting
Regular Lighting
Subsurface Scattering
Subsurface Scattering