|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RTScene
3D scene representation for Ray-tracing.
MicroFacet
,
LightSource
,
BSSRDF
,
RayGenerator
Field Summary |
---|
Fields inherited from interface cz.cuni.jagrlib.iface.Property |
---|
LOGGING, STATISTICS, TEXT_DESCRIPTION |
Method Summary | |
---|---|
double[] |
getBackground()
Retrieves background color (used when a ray doesn't hit anything). |
RayGenerator |
getCamera()
Retrieves the actual camera (ray-generator). |
LightSource[] |
getLights()
Retrieves all light sources from the scene. |
LightSource[] |
getLightsToMicroFacet(MicroFacet mf,
int order,
int total)
Retrieves light sources which light up the given micro-facet. |
void |
setCamera(RayGenerator camera)
Sets the camera object (ray-generator) for the scene. |
void |
setLights(LightSource[] l)
Sets all the light sources from the given array. |
void |
setRoot(SceneNode root)
Sets root node (assumes hierarchical scene representation based on SceneNode ). |
Methods inherited from interface cz.cuni.jagrlib.iface.Intersectable |
---|
intersection |
Methods inherited from interface cz.cuni.jagrlib.iface.TimeDependent |
---|
getTime, getTimeInterval, setTime |
Methods inherited from interface cz.cuni.jagrlib.iface.Property |
---|
commit, get, set |
Method Detail |
---|
void setRoot(SceneNode root)
SceneNode
).
void setCamera(RayGenerator camera)
RayGenerator getCamera()
RayGenerator
object (camera).void setLights(LightSource[] l)
LightSource[] getLights()
getLightsToMicroFacet(cz.cuni.jagrlib.MicroFacet, int, int)
LightSource[] getLightsToMicroFacet(MicroFacet mf, int order, int total)
mf
- Micro-facet which is to be lighted.order
- Order of this sample inside the actual pixel.total
- Total number of samples in the actual pixel.
null
marks end of data).getLights()
double[] getBackground()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |