33 lines
989 B
XML
33 lines
989 B
XML
<scene>
|
|
<!-- Independent sample generator, one sample per pixel -->
|
|
<sampler type="independent">
|
|
<integer name="sampleCount" value="1"/>
|
|
</sampler>
|
|
|
|
<!-- Render the visible surface normals -->
|
|
<integrator type="normals"/>
|
|
|
|
<!-- Load the Stanford bunny (https://graphics.stanford.edu/data/3Dscanrep/) -->
|
|
<mesh type="obj">
|
|
<string name="filename" value="bunny.obj"/>
|
|
<bsdf type="diffuse"/>
|
|
</mesh>
|
|
|
|
<!-- Render the scene viewed by a perspective camera -->
|
|
<camera type="perspective">
|
|
<!-- 3D origin, target point, and 'up' vector -->
|
|
<transform name="toWorld">
|
|
<lookat target="-0.0123771, 0.0540913, -0.239922"
|
|
origin="-0.0315182, 0.284011, 0.7331"
|
|
up="0.00717446, 0.973206, -0.229822"/>
|
|
</transform>
|
|
|
|
<!-- Field of view: 30 degrees -->
|
|
<float name="fov" value="16"/>
|
|
|
|
<!-- 768 x 768 pixels -->
|
|
<integer name="width" value="768"/>
|
|
<integer name="height" value="768"/>
|
|
</camera>
|
|
</scene>
|