java.lang.Object
de.grogra.ray2.tracing.RadiationModel.RayPoint
- Enclosing class:
RadiationModel
-
Field Summary
FieldsModifier and TypeFieldDescriptionfloatEstimated dominant wavelength in nm (hue-based approximation); -1 = broadband / unknown.intVolume group index of the hit object at this point; -1 for the light-source origin.booleanTrue only on the artificial terminal point added for primary rays that miss all objects.intLight-source index — set only on the first point of each path; -1 on all subsequent points.floatIntegrated spectrum power (W) at the start of this ray segment. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
point
-
color
-
power
public float powerIntegrated spectrum power (W) at the start of this ray segment. -
groupId
public int groupIdVolume group index of the hit object at this point; -1 for the light-source origin. -
dominantWavelength
public float dominantWavelengthEstimated dominant wavelength in nm (hue-based approximation); -1 = broadband / unknown. -
lightSourceId
public int lightSourceIdLight-source index — set only on the first point of each path; -1 on all subsequent points. -
isMissTerminal
public boolean isMissTerminalTrue only on the artificial terminal point added for primary rays that miss all objects.
-
-
Constructor Details
-
RayPoint
public RayPoint()
-