Minor update to MIS Test scene
This commit is contained in:
parent
4759c79b87
commit
27ea5c5d93
1 changed files with 12 additions and 19 deletions
|
|
@ -41,22 +41,22 @@ impl<R: Rng> MISTest<R> {
|
|||
materials: || {
|
||||
vec![
|
||||
BVHMaterial::new_material(Mirror::new(Color::white())),
|
||||
BVHMaterial::new_material(Microfacet::new(
|
||||
BeckmannDistribution::new(0.005175),
|
||||
Color::white(),
|
||||
)),
|
||||
BVHMaterial::new_material(Microfacet::new(
|
||||
BeckmannDistribution::new(0.0125),
|
||||
Color::white(),
|
||||
)),
|
||||
BVHMaterial::new_material(Microfacet::new(
|
||||
BeckmannDistribution::new(0.025),
|
||||
Color::white(),
|
||||
)),
|
||||
BVHMaterial::new_material(Microfacet::new(
|
||||
BeckmannDistribution::new(0.05),
|
||||
Color::white(),
|
||||
)),
|
||||
BVHMaterial::new_material(Microfacet::new(
|
||||
BeckmannDistribution::new(0.1),
|
||||
Color::white(),
|
||||
)),
|
||||
BVHMaterial::new_material(Microfacet::new(
|
||||
BeckmannDistribution::new(0.2),
|
||||
Color::white(),
|
||||
)),
|
||||
BVHMaterial::new_material(Microfacet::new(
|
||||
BeckmannDistribution::new(0.3),
|
||||
Color::white(),
|
||||
)),
|
||||
]
|
||||
},
|
||||
}
|
||||
|
|
@ -118,13 +118,6 @@ impl<R: Rng + 'static> ExampleScene<R> for MISTest<R> {
|
|||
|
||||
let theta = (theta_camera + theta_light) * 0.5;
|
||||
|
||||
dbg!(
|
||||
i,
|
||||
theta_camera.to_degrees(),
|
||||
theta_light.to_degrees(),
|
||||
theta.to_degrees()
|
||||
);
|
||||
|
||||
let offset_x = self.plane_depth * Float::cos(theta);
|
||||
let offset_y = self.plane_depth * Float::sin(theta);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue