Navigation: Scripting Reference Manual > Functions & Subroutines > ImpSampSetReversed

 

ImpSampSetReversed

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets the reverse ray directions flag for an Importance Sampling specification.

 

Syntax

ImpSampSetReversed n, indx, reverse

 

Parameters

n As Long

Node number of the surface.

 

indx As Long

The index (zero based) of the importance sampling specification.

 

reverse As Boolean

Sets the new reverse setting; True if the ray directions for importance sampling specification are to be reversed, False otherwise.

 

Remarks

This subroutine sets the reverse ray directions flag for an Importance Sampling specification. If there is a problem, the subroutine returns without modifying the Importance Sampling specification or setting an error.

 

See Also

ImpSampIsReversed

Examples

Importance Samples

 

 

 

 

 

Copyright © Photon Engineering, LLC