Navigation: Scripting Reference Manual > Functions & Subroutines > ImpSampSetAngleScale

 

ImpSampSetAngleScale

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets the solid angle scale factor for an Importance Sampling specification.

 

Syntax

ImpSampSetAngleScale n, indx, scale

 

Parameters

n As Long

Node number of the surface.

 

indx As Long

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

 

scale As Double

Sets the new scale factor for the importance sampling specification.

 

Remarks

This subroutine sets the solid angle scale factor for an Importance Sampling specification.  If there is a problem, the subroutine returns without modifying the Importance Sampling specification.

 

See Also

ImpSampGetAngleScale

Examples

Importance Samples

 

 

 

 

 

Copyright © Photon Engineering, LLC