Module raytracer

Class RadiationModel.RayPoint

java.lang.Object
de.grogra.ray2.tracing.RadiationModel.RayPoint
Enclosing class:
RadiationModel

public class RadiationModel.RayPoint extends Object
  • Field Details

    • point

      public Vector3f point
    • color

      public Color3f color
    • power

      public float power
      Integrated spectrum power (W) at the start of this ray segment.
    • groupId

      public int groupId
      Volume group index of the hit object at this point; -1 for the light-source origin.
    • dominantWavelength

      public float dominantWavelength
      Estimated dominant wavelength in nm (hue-based approximation); -1 = broadband / unknown.
    • lightSourceId

      public int lightSourceId
      Light-source index — set only on the first point of each path; -1 on all subsequent points.
    • isMissTerminal

      public boolean isMissTerminal
      True only on the artificial terminal point added for primary rays that miss all objects.
  • Constructor Details

    • RayPoint

      public RayPoint()