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
Fields -
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 out, RayList rays, boolean adjoint, int seed) floatgetDistance(Ray ray) floatgetDistance(Ray ray, RayContext context) voidgetIntersectionDescription(int params, IntersectionDescription desc) voidintgetLightRays(IntersectionDescription desc, RayList rays) intgetLightRays(Ray view, IntersectionDescription desc, ShadowProcessor shadowProcessor, RayList rays) booleanisConvex()booleanbooleanbooleanisSolid()
-
Field Details
-
color
-
-
Constructor Details
-
RTPseudoLight
-
-
Method Details
-
isShadowless
public boolean isShadowless()- Specified by:
isShadowlessin interfaceRTLight
-
getLightRays
-
generateRandomOrigins
- Specified by:
generateRandomOriginsin interfaceRTLight
-
generateRandomRays
- Specified by:
generateRandomRaysin interfaceRTLight
-
getDistance
-
getIntersectionDescription
-
isShadeable
public boolean isShadeable()- Specified by:
isShadeablein interfaceRTObject
-
getBoundingVolume
- Specified by:
getBoundingVolumein interfaceRTObject
-
computeBSDF
public float computeBSDF(ShadingEnvironment env, Vector3f in, Vector3f out, boolean adjoint, Color3f bsdf) - Specified by:
computeBSDFin interfaceRTLight
-
isSolid
public boolean isSolid() -
getIntersectionDescription
- Specified by:
getIntersectionDescriptionin interfaceRTObject
-
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
-
getMedium
-
getShader
-
getUserData
- Specified by:
getUserDatain interfaceRTObject
-
isConvex
public boolean isConvex()
-