Navigation: Scripting Reference Manual > Functions & Subroutines > ImpSampSetRayCount

 

ImpSampSetRayCount

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets the number of scattered rays for an Importance Sampling specification.

 

Syntax

ImpSampSetRayCount n, indx, count

 

Parameters

n As Long

Node number of the surface.

 

indx As Long

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

 

count As Long

Sets the number of rays scattered to the importance sampling specification.

 

Remarks

This subroutine sets the number of scattered rays for an Importance Sampling specification. If there is a problem, the subroutine returns without modifying the Importance Sampling specification.

 

See Also

ImpSampGetRayCount 

Examples

Importance Sampling

 

 

 

 

 

Copyright © Photon Engineering, LLC