Make world in test scene larger and flatter.

This commit is contained in:
Bill Thiede 2018-09-23 21:32:40 -07:00
parent 3839ff316d
commit 73002df31e

View File

@ -53,8 +53,8 @@ pub fn new(opt: &Opt) -> Scene {
)), )),
// Earth sized sphere // Earth sized sphere
Box::new(Sphere::new( Box::new(Sphere::new(
Vec3::new(0., -100., 0.), Vec3::new(0., -1000., 0.),
100., 1000.,
// Box::new(Lambertian::new(ground_color)), // Box::new(Lambertian::new(ground_color)),
Box::new(Lambertian::new(Box::new(NoiseTexture::with_scale(10.)))), Box::new(Lambertian::new(Box::new(NoiseTexture::with_scale(10.)))),
)), )),