Module raytracer

Class PathValues

java.lang.Object
de.grogra.ray2.tracing.modular.PathValues
Direct Known Subclasses:
CombinedPathValues

public class PathValues extends Object
  • Field Details

    • intersecList

      public ArrayList<Intersection> intersecList
    • envList

      public ArrayList<Environment> envList
    • shaderList

      public ArrayList<Scattering> shaderList
    • specReflectionList

      public boolean[] specReflectionList
    • specRefractionList

      public boolean[] specRefractionList
    • hitLights

      public Light[] hitLights
    • rayListBE

      public ArrayList<Line> rayListBE
    • weightListBE

      public ArrayList<Spectrum> weightListBE
    • geometryFactorsBE

      public ArrayList<Float> geometryFactorsBE
    • pathResultList

      public float pathResultList
    • initialSpectrum

      public Spectrum3d initialSpectrum
    • pathLength

      public int pathLength
    • color

      public Color4f color
    • creatorID

      public int creatorID
  • Constructor Details

    • PathValues

      public PathValues()
  • Method Details

    • initialize

      public void initialize(int size)
    • saveValues

      public void saveValues(int i, Line r, Intersection desc, Environment env, Spectrum spec, Scattering sh, boolean isSpec, boolean isRefrac)
    • saveProbabilityDensity

      public void saveProbabilityDensity(int i, float probDens)
    • saveGeometryFactor

      public void saveGeometryFactor(int i, float geoFac)
    • saveResult

      public void saveResult(float value)
    • saveHitLight

      public void saveHitLight(int index, Light hitLight)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • savePathLenght

      public void savePathLenght(int depth)
    • isSpecular

      public boolean isSpecular(int index)