use of raytracer.objects.Sphere in project narchy by automenta.
the class BowlingScene method createEnvironment.
protected void createEnvironment() throws Exception {
// Umgebungstextur hinzuf�gen:
add(new Sphere(new Vector3d(0.0, -6.0, 0.0), 1000000.0, new TextureShader("texture/sky.jpg")));
// Sonne hinzuf�gen:
add(new SphereLight(new Vector3d(-25000.0, 100000.0, 50000.0), 2000.0, new ColorEx(10000000000.0f, 9200000000.0f, 7000000000.0f)));
}
Aggregations