diff options
Diffstat (limited to 'hw5/data/HW5-scene12.xml')
-rw-r--r-- | hw5/data/HW5-scene12.xml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/hw5/data/HW5-scene12.xml b/hw5/data/HW5-scene12.xml new file mode 100644 index 0000000..b3d1003 --- /dev/null +++ b/hw5/data/HW5-scene12.xml @@ -0,0 +1,27 @@ +<scene> + + <camera eye="0.0 0.0 0.0" up="0.0 1.0 0.0" view="0.0 0.0 -1.0" fov="30.0" width="512" height="512" auto="true"/> + + <material id="mirror"> + <phong> + <albedo value="1.0 1.0 1.0"/> + <sharpness value="128.0"/> + </phong> + </material> + + <triangleMesh id="sphere" filename="sphere.obj"> + <material ref="mirror"/> + </triangleMesh> + + + <intersector type="bvh"/> + <renderer type="recursiveRaytracing" samplesPerPixel="1" maxDepth="2"/> + <environmentMap> + <transformation> + <rotationX angle="270.0"/> + <rotationZ angle="230.0"/> + </transformation> + <texture type="bilinear" repeatTexture="true" filename="grace.ppm"/> + </environmentMap> + +</scene> |