Blurred Radiance
|
|
BRDFs / Emittance Distribution
February 2002
For this project we were to download bv and brdview and run them both.
Screenshots from both programs are below.
|
Created using bv. This is a
model of the Hapke/Lommel-Seeliger Lunar Surface BRDF. This is meant to
model the suface of the moon. Ever notice how the moon doesn't look like a
sphere (when viewed from Earth) even though it is? This BRDF models the
unique surface of the moon.
|
|
Created using bv. This is a
model of the He-Torrance-Sillion-Greenberg BRDF.
|
|
Created using brdview. This is a model
of the Cook-Torrance BRDF
|
The programming part of the project was to build on the emittance
program so different distributions can be specified. I accomplished this by
creating an Open Inventor node called EmittanceDistribution which
has three fields for setting the distribution of the red, green, and blue
components of the emitted light. Below is an example scene file my program
reads in
#Inventor V2.1 ascii
Separator {
Transform {
translation -4 0 0
}
EmittanceDistribution {
fields [ MFFloat red, MFFloat green, MFFloat blue ]
red [0.0, 0.0, 0.0, 0.0, 0.0, # negative D
0.1, 2.0, 3.0, 8.5, 9.0]
green [0.0, 0.0, 0.0, 0.0, 0.0, # negative D
0.1, 1.0, 2.0, 3.0, 4.5]
blue [0.0, 0.0, 0.0, 0.0, 0.0, # negative D
0.1, 1.5, 4.0, 6.0, 2.0]
}
Material {
diffuseColor 77 716 654
}
Sphere {
radius 1.0
}
}
I experimented with a few different distributions to create the following
image of spherical emitters. [Scene File]
All code for this project : emittance-0.6.tar.gz
|