Navigation: Scripting Reference Manual > Data Structures > T_RAYTRACECTRL

 

T_RAYTRACECTRL

 

Contact Us: fredsupport@photonengr.com

 

Description

Data structure for Raytrace Controls.

 

Definition

Type T_RAYTRACECTRL

AbsAbsorbedPowerCutoff As Double

AbsReflPowerCutoff As Double

AbsTranPowerCutoff As Double

RelAbsorbedPowerCutoff As Double

RelReflPowerCutoff As Double

RelTranPowerCutoff As Double

NumConsecIntersectCutoff As Long

NumTotalIntersectCutoff As Long

ScatterAncestryCutoff As Long

SpecularAncestryCutoff As Long

Name As String

Description As String

ParentRaySpec As String

AllowAbsorbed As Boolean

AllowRefl As Boolean

AllowTIR As Boolean

AllowTran As Boolean

AllowScatRefl As Boolean

AllowScatTran As Boolean

End Type

 

Members

AbsAbsorbedPowerCutoff

FRED does not allow an absorbed ray when the absolute power of the absorbed ray drops below this level.

 

 AbsReflPowerCutoff

FRED halts ray propagation when the absolute power of the reflected ray drops below this level.

 

AbsTranPowerCutoff

FRED halts ray propagation when the power of the transmitted ray relative to the incident ray drops below this level.

 

RelAbsorbedPowerCutoff

FRED does not allow an absorbed ray when the power of the absorbed ray relative to the incident ray drops below this level.

 

RelReflPowerCutoff

FRED halts ray propagation when the power of the reflected ray relative to the incident ray drops below this level.

 

RelTranPowerCutoff

FRED halts ray propagation when the power of the transmitted ray relative to the incident ray drops below this level.

 

NumConsecIntersectCutoff

This value sets the number of consecutive intersections each ray can have with a single surface.

 

NumTotalIntersectCutoff

This value sets the maximum number of surface intersections for each ray.

 

ScatterAncestryCutoff

This value sets the maximum number of Scatter generations that can be split.

 

SpecularAncestryCutoff

This value sets the maximum number of Specular generations that can be split.

 

Name

Name of the Raytrace Control.

 

Description

Description of the Raytrace Control.

 

ParentRaySpec

Identifies the Parent Ray Specifier. May be set to "Highest Power", "Transmitted", "Reflected" or "Monte-Carlo.

 

AllowAbsorbed

Allows creation of the absorbed ray component when set to True.

 

AllowRefl

Allows propagation of the reflected ray component when set to True.

 

AllowTIR

Allows propagation of a ray that undergoes Total Internal Reflection when set to True.

 

AllowTran

Allows propagation of the transmitted ray component when set to True.

 

AllowScatRefl

Allows propagation of the reflected scattered ray component when set to True.

 

AllowScatTran

Allows propagation of the transmitted scattered ray component when set to True.

 

Used as Parameter in

AddRaytraceCtrl

GetRaytraceCtrl

InitRaytraceCtrl

SetRaytraceCtrl

 

See Also

GetRaytraceCtrlCount

FindRaytraceCtrl

Examples

Raytrace Controls

 

 

 

 

 

Copyright © Photon Engineering, LLC