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:

Attributes | |
| array[bsdf] | bsdfs |
| Array of sub-bsdfs of length n which this aggregate bsdf is composed of. | |
| array[clampedSpectrum] | weights |
| 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 [bsdf] aggregate::bsdfs |
| array [clampedSpectrum] aggregate::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)
| type | array[clampedSpectrum] |
| optional | false |
| restrictions | must be non-empty |
Generated on 28 Feb 2009 for MiltonScenefileFormat by
1.5.6