| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectorg.sunflow.core.primitive.CornellBoxConstructor Summary | |
Method Summary | |
PrimitiveList | |
float |
|
BoundingBox | |
int | |
int | |
void | |
float |
|
float |
|
Color |
|
void |
|
BoundingBox |
|
void |
|
void |
|
boolean |
|
void |
|
void |
|
boolean |
|
public PrimitiveList getBakingPrimitives()
- Specified by:
- getBakingPrimitives in interface PrimitiveList
public float getBound(int i)
public int getNumPrimitives()
- Specified by:
- getNumPrimitives in interface PrimitiveList
public void getPhoton(double randX1,
double randY1,
double randX2,
double randY2,
Point3 p,
Vector3 dir,
Color power)
- Specified by:
- getPhoton in interface LightSource
public float getPrimitiveBound(int primID,
int i)
- Specified by:
- getPrimitiveBound in interface PrimitiveList
public void getSamples(ShadingState state)
- Specified by:
- getSamples in interface LightSource
public BoundingBox getWorldBounds(Matrix4 o2w)
- Specified by:
- getWorldBounds in interface PrimitiveList
public void intersectPrimitive(Ray r, int primID, IntersectionState state)
- Specified by:
- intersectPrimitive in interface PrimitiveList
public void prepareShadingState(ShadingState state)
- Specified by:
- prepareShadingState in interface PrimitiveList
public void scatterPhoton(ShadingState state, Color power)
- Specified by:
- scatterPhoton in interface Shader
public boolean update(ParameterList pl, SunflowAPI api)
- Specified by:
- update in interface RenderObject