java.lang.Object
de.grogra.ray.tracing.HagensBiDiStrategie1.RTPseudoLight
- Enclosing class:
- HagensBiDiStrategie1
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.grogra.ray.RTObject
RTObject.RTObjectUserData
-
Field Summary
-
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 out, RayList rays, boolean adjoint, int seed) float
getDistance
(Ray ray) float
getDistance
(Ray ray, RayContext context) void
getIntersectionDescription
(int params, IntersectionDescription desc) void
int
getLightRays
(IntersectionDescription desc, RayList rays) int
getLightRays
(Ray view, IntersectionDescription desc, ShadowProcessor shadowProcessor, RayList rays) boolean
isConvex()
boolean
boolean
boolean
isSolid()
-
Field Details
-
color
-
-
Constructor Details
-
RTPseudoLight
-
-
Method Details
-
isShadowless
public boolean isShadowless()- Specified by:
isShadowless
in interfaceRTLight
-
getLightRays
-
generateRandomOrigins
- Specified by:
generateRandomOrigins
in interfaceRTLight
-
generateRandomRays
- Specified by:
generateRandomRays
in interfaceRTLight
-
getDistance
-
getIntersectionDescription
-
isShadeable
public boolean isShadeable()- Specified by:
isShadeable
in interfaceRTObject
-
getBoundingVolume
- Specified by:
getBoundingVolume
in interfaceRTObject
-
computeBSDF
public float computeBSDF(ShadingEnvironment env, Vector3f in, Vector3f out, boolean adjoint, Color3f bsdf) - Specified by:
computeBSDF
in interfaceRTLight
-
isSolid
public boolean isSolid() -
getIntersectionDescription
- Specified by:
getIntersectionDescription
in interfaceRTObject
-
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
-
getMedium
-
getShader
-
getUserData
- Specified by:
getUserData
in interfaceRTObject
-
isConvex
public boolean isConvex()
-