Description Sets the parameters of a Tabulated Scatter model. Data is given in spherical polar coordinates over the hemisphere.
Syntax SetTabulatedScatter id, ,scat, A0, B0, Adata, Bdata, BSDFdata
Parameters id As Long Identifier of scatter model in Scatter Tree.
scat As T_TABULATEDSCATTER Tabulated Scatter structure.
A0() As Double Array of elevation angles (degrees) for the specular direction.
B0() As Double Array of azimuth angles (degrees) for the specular direction.
Adata() As Double Array of elevation angles (degrees) for the scatter direction.
Bdata() As Double Array of azimuth angles (degrees) for the scatter direction.
BSDFdata() As Double Array of BSDF values (positive values only).
Remarks Data is given in spherical polar coordinates over the hemisphere. All arrays have the same dimension. Like elements in arrays A0, B0, Adata, Bdata & BSDFdata constitute a single data entry. Tabular BSDF data cannot be read from a text file in the script language unless parsed by the user.
See Also
|