de.grogra.imp3d.ray
Class RTSky
java.lang.Object
de.grogra.imp3d.objects.SceneTree.Node
de.grogra.imp3d.objects.SceneTree.Leaf
de.grogra.imp3d.objects.SceneTreeWithShader.Leaf
de.grogra.imp3d.ray.RaytracerLeaf
de.grogra.imp3d.ray.RTSky
- All Implemented Interfaces:
- RTFakeObject, RTObject
public class RTSky
- extends RaytracerLeaf
- implements RTFakeObject
Constructor Summary |
RTSky(java.lang.Object object,
boolean asNode,
long pathId)
|
Methods inherited from class de.grogra.imp3d.objects.SceneTree.Leaf |
accept, getBoolean, getByte, getChar, getDouble, getFloat, getInt, getLong, getObject, getObject, getShort, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RTSky
public RTSky(java.lang.Object object,
boolean asNode,
long pathId)
getBoundingVolume
public BoundingVolume getBoundingVolume()
- Specified by:
getBoundingVolume
in interface RTObject
getColor
public void getColor(Ray ray,
IntersectionDescription desc,
Color3f color)
- Specified by:
getColor
in interface RTFakeObject
getDistance
public float getDistance(Ray ray,
RayContext context)
- Specified by:
getDistance
in interface RTObject
getIntersectionDescription
public void getIntersectionDescription(IntersectionDescription desc)
- Specified by:
getIntersectionDescription
in interface RTObject
isConvex
public boolean isConvex()
- Specified by:
isConvex
in interface RTObject
isShadeable
public boolean isShadeable()
- Specified by:
isShadeable
in interface RTObject
isSolid
public boolean isSolid()
- Specified by:
isSolid
in interface RTObject
setTransformation
public void setTransformation(Matrix4f mat)
- Overrides:
setTransformation
in class RaytracerLeaf