Navigation: Scripting Reference Manual > Functions & Subroutines > ImpSampSetCurve

 

ImpSampSetCurve

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets the values of an importance sampling specification of type "Scatter rays through a closed curve" on a surface.

 

Syntax

ImpSampSetCurve 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

Sets the node number of the closed curve towards which the rays will scatter.

 

Remarks

This subroutine sets on a surface the values of an importance sampling specification of type "Scatter rays through a closed curve". If the type was not previously "Curve", or if there is another problem, the subroutine sets an error and returns without modifying curve.

 

See Also

ImpSampAddCurve

ImpSampGetCurve

Examples

Importance Samples

 

 

 

 

 

 

Copyright © Photon Engineering, LLC