|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.grogra.ray2.radiosity.OptionReader
public class OptionReader
Reads all Radiosity Options from the registry and checks if values where changed.
Constructor Summary | |
---|---|
OptionReader(PixelwiseRenderer renderer)
This Constructor reads all Radiosity parameter from the registry. |
Method Summary | |
---|---|
void |
calcFinished(Scene scene)
Call this after the rendering to update the values. |
int |
getCubeWidth()
Return the cube pixel size. |
float |
getHemiWorldWide()
Returns the cube size in world coordinates. |
int |
getMaxsubdivdepth()
Returns the max subdivision size. |
float |
getSubdivthreshold()
Returns the subdivision threshold. |
int |
getThreadCount()
Returns the thread count. |
boolean |
isHemicubeCalcNeeded()
Returns true, if a new Hemicube must be created. |
boolean |
isRadiosityCalcNeeded(Scene scene)
Returns true, if all Radiosity values must be calculated. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OptionReader(PixelwiseRenderer renderer)
renderer
- the PixelwiseRendererMethod Detail |
---|
public void calcFinished(Scene scene)
scene
- the scene object.public int getCubeWidth()
public float getHemiWorldWide()
public int getMaxsubdivdepth()
public float getSubdivthreshold()
public int getThreadCount()
public boolean isHemicubeCalcNeeded()
public boolean isRadiosityCalcNeeded(Scene scene)
scene
- the Scene.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |