Navigation: Scripting Reference Manual > Functions & Subroutines > ImpSampSetEllipsoid

 

ImpSampSetEllipsoid

 

Contact Us: fredsupport@photonengr.com

 

Description

Modifies an importance sampling specification with type "Scatter rays toward an ellipsoidal volume" on a surface.

 

Syntax

ImpSampSetEllipsoid 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

Structure used to set the new data for the ellipsoid.

 

Remarks

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

 

See Also

T_IMPSAMPELLIPSOID

ImpSampGetEllipsoid

ImpSampAddEllipsoid

Examples

Importance Samples

 

 

 

 

 

Copyright © Photon Engineering, LLC