Navigation: Scripting Reference Manual > Functions & Subroutines > ImpSampGetCurve

 

ImpSampGetCurve

 

Contact Us: fredsupport@photonengr.com

 

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

ImpSampAddCurve

ImpSampSetCurve

Examples

Importance Samples

 

 

 

 

 

 

 

Copyright © Photon Engineering, LLC