Navigation: Scripting Reference Manual > Functions & Subroutines > ImpSampGetAngleScale

 

ImpSampGetAngleScale

 

Contact Us: fredsupport@photonengr.com

 

Description

Retrieves the solid angle scale factor from a particular importance sampling specification on a surface.

 

Syntax

scale = ImpSampGetAngleScale ( n, indx )

 

Parameters

scale (Double)

Returns the solid angle scale factor from the importance sampling specification.

 

n As Long

Node number of the surface.

 

indx As Long

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

 

Remarks

This function retrieves the solid angle scale factor from a particular importance sampling on a specific surface. If there is a problem the function does not set an error and returns 0.

 

See Also

ImpSampSetAngleScale

Examples

Importance Samples

 

 

 

 

 

Copyright © Photon Engineering, LLC