raja.renderer
Class World
java.lang.Object
|
+--raja.renderer.World
- All Implemented Interfaces:
- Serializable, Writable
- public class World
- extends Object
- implements Serializable, Writable
- See Also:
- Serialized Form
World
public World(Solid solid)
World
public World(Solid solid,
List lights,
RGB backgroundLight,
RGB ambiantLight,
Volume ambiantVolume)
build
public static Object build(ObjectReader reader)
throws IOException
addLightSource
public void addLightSource(LightSource light)
setBackgroundLight
public void setBackgroundLight(RGB light)
setAmbiantLight
public void setAmbiantLight(RGB light)
setAmbiantVolume
public void setAmbiantVolume(Volume v)
getBackgroundLight
public RGB getBackgroundLight()
getAmbiantLight
public RGB getAmbiantLight()
getAmbiantRefractiveIndex
public double getAmbiantRefractiveIndex(Point3D p)
toString
public String toString()
- Overrides:
toString in class Object
write
public void write(ObjectWriter writer)
throws IOException
- Specified by:
write in interface Writable