de.grogra.imp3d.ray
public class RTSpotLight extends RaytracerLeaf implements RTLight
RTObject.RTObjectUserDatainterior, shaderasNode, object, pathIdnext| Constructor and Description |
|---|
RTSpotLight(java.lang.Object object,
boolean asNode,
long pathId,
Light light) |
| 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 vout,
RayList out,
boolean adjoint,
int seed) |
BoundingVolume |
getBoundingVolume() |
float |
getDistance(Ray ray,
RayContext context) |
Point3f |
getGlobalOrigin() |
void |
getIntersectionDescription(IntersectionDescription desc) |
int |
getLightRays(Ray view,
IntersectionDescription desc,
ShadowProcessor shadowModel,
RayList rays) |
boolean |
isConvex() |
boolean |
isShadeable() |
boolean |
isShadowless() |
boolean |
isSolid() |
void |
setTransformation(Matrix4f mat) |
getMedium, getRTMedium, getRTShader, getShader, getTransformation, getUserData, setMedium, setShadersetInterioraccept, getBoolean, getByte, getChar, getDouble, getFloat, getInt, getLong, getObject, getObject, getShort, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetMedium, getShader, getUserDatapublic RTSpotLight(java.lang.Object object,
boolean asNode,
long pathId,
Light light)
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 vout, RayList out, boolean adjoint, int seed)
generateRandomRays in interface RTLightpublic BoundingVolume getBoundingVolume()
getBoundingVolume in interface RTObjectpublic float getDistance(Ray ray, RayContext context)
getDistance in interface RTObjectpublic Point3f getGlobalOrigin()
getGlobalOrigin in interface RTLightpublic void getIntersectionDescription(IntersectionDescription desc)
getIntersectionDescription in interface RTObjectpublic int getLightRays(Ray view, IntersectionDescription desc, ShadowProcessor shadowModel, RayList rays)
getLightRays in interface RTLightpublic boolean isShadeable()
isShadeable in interface RTObjectpublic boolean isShadowless()
isShadowless in interface RTLightpublic void setTransformation(Matrix4f mat)
setTransformation in class RaytracerLeaf