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, shaderFields inherited from class de.grogra.imp3d.objects.SceneTree.Leaf
asNode, object, pathIdFields inherited from class de.grogra.imp3d.objects.SceneTree.Node
next -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatcomputeBSDF(ShadingEnvironment env, Vector3f in, Vector3f out, boolean adjoint, Color3f bsdf) voidgenerateRandomOrigins(RayList out, int seed) voidgenerateRandomRays(Vector3f vout, RayList out, boolean adjoint, int seed) floatgetDistance(Ray ray) floatgetDistance(Ray ray, RayContext context) voidintgetLightRays(IntersectionDescription desc, RayList rays) intgetLightRays(Ray view, IntersectionDescription desc, ShadowProcessor shadowProcessor, RayList rays) booleanisConvex()booleanbooleanbooleanisSolid()voidMethods inherited from class de.grogra.imp3d.ray.RaytracerLeaf
getMedium, getRTMedium, getRTShader, getShader, getTransformation, getUserData, setMedium, setShaderMethods inherited from class de.grogra.imp3d.objects.SceneTreeWithShader.Leaf
setInteriorMethods inherited from class de.grogra.imp3d.objects.SceneTree.Leaf
accept, getBoolean, getByte, getChar, getDouble, getFloat, getInt, getLong, getObject, getObject, getShort, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface de.grogra.ray.RTObject
getMedium, getShader, getUserData
-
Constructor Details
-
RTDirectionalLight
-
-
Method Details
-
setTransformation
- Overrides:
setTransformationin classRaytracerLeaf
-
isShadowless
public boolean isShadowless()- Specified by:
isShadowlessin interfaceRTLight
-
isShadeable
public boolean isShadeable()- Specified by:
isShadeablein interfaceRTObject
-
isSolid
public boolean isSolid() -
getLightRays
-
getDistance
-
getIntersectionDescription
- Specified by:
getIntersectionDescriptionin interfaceRTObject
-
getBoundingVolume
- Specified by:
getBoundingVolumein interfaceRTObject
-
generateRandomOrigins
- Specified by:
generateRandomOriginsin interfaceRTLight
-
generateRandomRays
- Specified by:
generateRandomRaysin interfaceRTLight
-
computeBSDF
public float computeBSDF(ShadingEnvironment env, Vector3f in, Vector3f out, boolean adjoint, Color3f bsdf) - Specified by:
computeBSDFin interfaceRTLight
-
getGloabalOrigin
-
getGlobalOrigin
- Specified by:
getGlobalOriginin interfaceRTLight
-
getLightRays
public int getLightRays(Ray view, IntersectionDescription desc, ShadowProcessor shadowProcessor, RayList rays) - Specified by:
getLightRaysin interfaceRTLight
-
getDistance
- Specified by:
getDistancein interfaceRTObject
-
isConvex
public boolean isConvex()
-