aggregate Element Reference

Linear combination of different BSDF implementations, where the coefficients are determined either a priori (inherent property described in scenefile) or via a texture map lookup. More...

Inheritance diagram for aggregate:

bsdf

List of all members.

Attributes

array[bsdfbsdfs
 Array of sub-bsdfs of length n which this aggregate bsdf is composed of.
array[clampedSpectrumweights
 Array of weighting coefficients for sub-bsdfs of length n, specifying what fraction of each sub-bsdf this aggregate bsdf is composed of.


Detailed Description

Linear combination of different BSDF implementations, where the coefficients are determined either a priori (inherent property described in scenefile) or via a texture map lookup.

Note:
aggregate corresponds to the underlying Milton class 'AggregateBSDF.'

Attribute Documentation

Array of sub-bsdfs of length n which this aggregate bsdf is composed of.

typearray[bsdf]
optionalfalse
restrictionsmust be non-empty and have the same length as weights

Array of weighting coefficients for sub-bsdfs of length n, specifying what fraction of each sub-bsdf this aggregate bsdf is composed of.

Note:
Array of weights does not need to be normalized, and since individual weights are clampedSpectrum elements themselves, they may be mapped over the surface of the material (eg, via a "weight" texture map)
typearray[clampedSpectrum]
optionalfalse
restrictionsmust be non-empty


Generated on 28 Feb 2009 for MiltonScenefileFormat by doxygen 1.5.6