Navigation: Scripting Reference Manual > Functions & Subroutines > ImpSampGetSpecular

 

ImpSampGetSpecular

 

Contact Us: fredsupport@photonengr.com

 

Description

Retrieves the data from an importance sampling specification of type "Scatter rays into the specular direction".

 

Syntax

ImpSampGetSpecular n, indx, angle

 

Parameters

n As Long

Node number of the surface.

 

indx As Long

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

 

angle As Double

Returns the semi-angle (degrees) of the solid angle cone for the importance sampling specification.

 

Remarks

This subroutine retrieves the data from an importance sampling specification of type "Scatter rays into the specular direction". If the type is not Specular, or if there is another problem, the subroutine returns without modifying angle.

 

See Also

ImpSampAddSpecular

ImpSampSetSpecular

Examples

Importance Samples

 

 

 

 

 

 

Copyright © Photon Engineering, LLC