Module raytracer

Class ShadingEnvironment

java.lang.Object
de.grogra.ray.physics.Environment
de.grogra.ray.shader.ShadingEnvironment

public final class ShadingEnvironment extends Environment
This class serves as input to scattering calculations. The fields together constitute the local environment at a surface or light point, including geometrical and optical properties.
  • Field Details

    • rays

      public final RayList rays
    • view

      public final Vector3f view
    • photonDirection

      public boolean photonDirection
  • Constructor Details

    • ShadingEnvironment

      public ShadingEnvironment()
  • Method Details

    • print

      public void print()