Description Retrieves from a surface an importance sampling specification of type "Scatter rays through a closed curve".
Syntax ImpSampGetCurve n, indx, curve
Parameters n As Long Node number of the surface.
indx As Long The index (zero based) of the importance sampling specification.
curve As Long Returns the identifier of the closed curve towards which the rays scatter.
Remarks This subroutine retrieves from a surface an importance sampling specification of type "Scatter rays through a closed curve". If the i'th importance sample is not a curve, or if there is another problem, the subroutine sets an error and returns without modifying curve.
See Also Examples
|