Description Adds an importance sampling with type "Scatter rays toward an ellipsoidal volume" to a specific surface.
Syntax impSamp = ImpSampAddEllipsoid ( n, iname, ellipsedata )
Parameters impSamp (Long) The index (zero based) into the list of the surface's new importance sampling.
n As Long Node number of the surface.
iname As String Returns the new name of the importance sampling.
ellipsedata As T_IMPSAMPELLIPSOID Structure containing the data for the new ellipsoid importance sampling.
Remarks This function adds to a specific surface an importance sampling with type "Scatter rays toward an ellipsoidal volume". If there is a problem the function returns -1 without setting an error.
See Also Examples
|