-
Nested Class Summary
Nested classes/interfaces inherited from interface de.grogra.ray.RTObject
RTObject.RTObjectUserData
-
Field Summary
Fields inherited from class de.grogra.imp3d.objects.SceneTreeWithShader.Leaf
interior, shader
Fields inherited from class de.grogra.imp3d.objects.SceneTree.Leaf
asNode, object, pathId
Fields inherited from class de.grogra.imp3d.objects.SceneTree.Node
next
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloat
computeBSDF
(ShadingEnvironment env, Vector3f in, Vector3f out, boolean adjoint, Color3f bsdf) void
generateRandomOrigins
(RayList out, int seed) void
generateRandomRays
(Vector3f vout, RayList out, boolean adjoint, int seed) float
getDistance
(Ray ray, RayContext context) void
int
getLightRays
(Ray view, IntersectionDescription desc, ShadowProcessor shadowModel, RayList rays) boolean
isConvex()
boolean
boolean
boolean
isSolid()
void
Methods inherited from class de.grogra.imp3d.ray.RaytracerLeaf
getMedium, getRTMedium, getRTShader, getShader, getTransformation, getUserData, setMedium, setShader
Methods inherited from class de.grogra.imp3d.objects.SceneTreeWithShader.Leaf
setInterior
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
Methods inherited from interface de.grogra.ray.RTObject
getMedium, getShader, getUserData
-
Constructor Details
-
RTSpotLight
-
-
Method Details
-
isConvex
public boolean isConvex() -
setTransformation
- Overrides:
setTransformation
in classRaytracerLeaf
-
isShadowless
public boolean isShadowless()- Specified by:
isShadowless
in interfaceRTLight
-
isShadeable
public boolean isShadeable()- Specified by:
isShadeable
in interfaceRTObject
-
isSolid
public boolean isSolid() -
getLightRays
public int getLightRays(Ray view, IntersectionDescription desc, ShadowProcessor shadowModel, RayList rays) - Specified by:
getLightRays
in interfaceRTLight
-
getDistance
- Specified by:
getDistance
in interfaceRTObject
-
getIntersectionDescription
- Specified by:
getIntersectionDescription
in interfaceRTObject
-
getBoundingVolume
- Specified by:
getBoundingVolume
in interfaceRTObject
-
generateRandomOrigins
- Specified by:
generateRandomOrigins
in interfaceRTLight
-
generateRandomRays
- Specified by:
generateRandomRays
in interfaceRTLight
-
computeBSDF
public float computeBSDF(ShadingEnvironment env, Vector3f in, Vector3f out, boolean adjoint, Color3f bsdf) - Specified by:
computeBSDF
in interfaceRTLight
-
getGlobalOrigin
- Specified by:
getGlobalOrigin
in interfaceRTLight
-