de.grogra.ray.tracing
public class HagensBiDiStrategie1.RTPseudoLight extends java.lang.Object implements RTLight
RTObject.RTObjectUserData| Constructor and Description |
|---|
HagensBiDiStrategie1.RTPseudoLight(Tuple3f newOrigin,
Color3f newColor) |
| Modifier and Type | Method and Description |
|---|---|
float |
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) |
BoundingVolume |
getBoundingVolume() |
float |
getDistance(Ray ray) |
float |
getDistance(Ray ray,
RayContext context) |
Point3f |
getGloabalOrigin() |
Point3f |
getGlobalOrigin() |
void |
getIntersectionDescription(IntersectionDescription desc) |
void |
getIntersectionDescription(int params,
IntersectionDescription desc) |
int |
getLightRays(IntersectionDescription desc,
RayList rays) |
int |
getLightRays(Ray view,
IntersectionDescription desc,
ShadowProcessor shadowProcessor,
RayList rays) |
RTMedium |
getMedium() |
RTShader |
getShader() |
RTObject.RTObjectUserData |
getUserData() |
boolean |
isConvex() |
boolean |
isShadeable() |
boolean |
isShadowless() |
boolean |
isSolid() |
public Color3f color
public float computeBSDF(ShadingEnvironment env, Vector3f in, Vector3f out, boolean adjoint, Color3f bsdf)
computeBSDF in interface RTLightpublic void generateRandomOrigins(RayList out, int seed)
generateRandomOrigins in interface RTLightpublic void generateRandomRays(Vector3f out, RayList rays, boolean adjoint, int seed)
generateRandomRays in interface RTLightpublic BoundingVolume getBoundingVolume()
getBoundingVolume in interface RTObjectpublic float getDistance(Ray ray)
public float getDistance(Ray ray, RayContext context)
getDistance in interface RTObjectpublic Point3f getGloabalOrigin()
public Point3f getGlobalOrigin()
getGlobalOrigin in interface RTLightpublic void getIntersectionDescription(IntersectionDescription desc)
getIntersectionDescription in interface RTObjectpublic void getIntersectionDescription(int params,
IntersectionDescription desc)
public int getLightRays(IntersectionDescription desc, RayList rays)
public int getLightRays(Ray view, IntersectionDescription desc, ShadowProcessor shadowProcessor, RayList rays)
getLightRays in interface RTLightpublic RTObject.RTObjectUserData getUserData()
getUserData in interface RTObjectpublic boolean isShadeable()
isShadeable in interface RTObjectpublic boolean isShadowless()
isShadowless in interface RTLight