org.autochthonous.graphics.rt
Class Viewer
java.lang.Object
org.autochthonous.graphics.rt.Viewer
- public abstract class Viewer
- extends java.lang.Object
Class for a viewer - viewers are objects such as cameras that act as
sources for primary rays.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rand
protected RandomTable rand
name
protected java.lang.String name
viewFactor
protected float viewFactor
Viewer
public Viewer()
getName
public java.lang.String getName()
viewFactor
public float viewFactor()
configureLenseMask
public abstract void configureLenseMask(int samples,
boolean jitter)
generateRay
public abstract Ray generateRay(int sampleNo,
float time,
float x,
float y)