de.grogra.ray.shader
Class ShadingEnvironment

java.lang.Object
  extended by de.grogra.ray.physics.Environment
      extended by 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 Summary
 boolean photonDirection
           
 RayList rays
           
 Vector3f view
           
 
Fields inherited from class de.grogra.ray.physics.Environment
bounds, boundsCenter, boundsRadius, dpdu, dpdv, globalToLocal, iorRatio, localPoint, localToGlobal, normal, PATH_TRACER, point, RADIATION_MODEL, solid, STANDARD_RAY_TRACER, tmpMatrix30, tmpPoint0, tmpPoint1, tmpPoint2d0, tmpSpectrum0, tmpSpectrum1, tmpVector0, tmpVector1, type, userMatrix, userMatrix2, userMatrix3, userObject, userObjectOwner, userVector, userVector2, userVector3, uv
 
Constructor Summary
ShadingEnvironment()
           
 
Method Summary
 void print()
           
 
Methods inherited from class de.grogra.ray.physics.Environment
set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

photonDirection

public boolean photonDirection

rays

public final RayList rays

view

public final Vector3f view
Constructor Detail

ShadingEnvironment

public ShadingEnvironment()
Method Detail

print

public void print()