Navigation: Scripting Reference Manual > Functions & Subroutines > ImpSampGetEllipsoid

 

ImpSampGetEllipsoid

 

Contact Us: fredsupport@photonengr.com

 

Description

Retrieves from a specific surface an importance sampling specification with type "Scatter rays toward an ellipsoidal volume".

 

Syntax

ImpSampGetEllipsoid n, indx, ellipse

 

Parameters

n As Long

Node number of the surface.

 

indx As Long

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

 

ellipse As T_IMPSAMPELLIPSOID

Returns the structure data from the ellipsoid.

 

Remarks

This subroutine retrieves from a surface an importance sampling specification with type "Scatter rays toward an ellipsoidal volume". If the type is not ellipsoid, or if there is another problem, the subroutine sets an error and returns without modifying the importance sampling specification.

 

See Also

T_IMPSAMPELLIPSOID

ImpSampAddEllipsoid

ImpSampSetEllipsoid

Examples

Importance Samples

 

 

 

 

 

Copyright © Photon Engineering, LLC