clampedSpectrum Element Reference

n-length Vector of real scalars values corresponding to unitless coefficients sampled at n distinct frequencies More...


Detailed Description

n-length Vector of real scalars values corresponding to unitless coefficients sampled at n distinct frequencies

Note:
Currently, only RGB spectra are handled, but this abstraction is in place and used ubiquitously throughout Milton s.t. we can eventually come back and implement spectrally-aware rendering with the majority of the changes taking place in this one class.

clampedSpectrum corresponds to the underlying Milton class 'SpectralSampleSet.'

A clampedSpectrum is an input to a bsdf, emitter, or sensor. As such, it is allowed to vary across the surface of the material via lookup in a texture map defined over the unit (u,v) coordinates of the surface. Note: for convenience, a clampedSpectrum may be specified as either a single real scalar value, an n-length array of scalar values (one per active frequency being simulated), or as a path to a texture map image.

typevector[real+] or real or string
unitsunitless


Generated on 28 Feb 2009 for MiltonScenefileFormat by doxygen 1.5.6