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.RTDirectionalLight
-
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
-
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) float
getDistance
(Ray ray, RayContext context) void
int
getLightRays
(IntersectionDescription desc, RayList rays) int
getLightRays
(Ray view, IntersectionDescription desc, ShadowProcessor shadowProcessor, 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
-
RTDirectionalLight
-
-
Method Details
-
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
-
getDistance
-
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
-
getGloabalOrigin
-
getGlobalOrigin
- Specified by:
getGlobalOrigin
in interfaceRTLight
-
getLightRays
public int getLightRays(Ray view, IntersectionDescription desc, ShadowProcessor shadowProcessor, RayList rays) - Specified by:
getLightRays
in interfaceRTLight
-
getDistance
- Specified by:
getDistance
in interfaceRTObject
-
isConvex
public boolean isConvex()
-