forked from blender/cycles
Thomas Dinges
acb51a8eb2
Due to changes in Cycles (variable names and defaults) this scene rendered wrong.
49 lines
1.4 KiB
XML
49 lines
1.4 KiB
XML
<cycles>
|
|
<!-- Camera -->
|
|
<camera width="800" height="500" />
|
|
|
|
<transform translate="0 0 -4" scale="1 1 1">
|
|
<camera type="perspective" />
|
|
</transform>
|
|
|
|
<!-- Background Shader -->
|
|
<background>
|
|
<sky_texture name="tex" sky_type="hosek_wilkie" />
|
|
<background name="bg" strength="8.0" />
|
|
|
|
<connect from="tex color" to="bg color" />
|
|
<connect from="bg background" to="output surface" />
|
|
</background>
|
|
|
|
<!-- Monkey Shader -->
|
|
<shader name="monkey">
|
|
<noise_texture name="tex" scale="2.0"/>
|
|
<glass_bsdf name="monkey_closure" distribution="beckmann" IOR="1.4" roughness="0.5" />
|
|
<connect from="tex color" to="monkey_closure color" />
|
|
<connect from="monkey_closure bsdf" to="output surface" />
|
|
</shader>
|
|
|
|
<!-- Floor Shader -->
|
|
<shader name="floor">
|
|
<checker_texture name="checker" color1="0.8, 0.8, 0.8" color2="1.0, 0.1, 0.1" />
|
|
<glossy_bsdf name="floor_closure" distribution="beckmann" roughness="0.2"/>
|
|
<connect from="checker color" to="floor_closure color" />
|
|
<connect from="floor_closure bsdf" to="output surface" />
|
|
</shader>
|
|
|
|
<!-- Objects -->
|
|
<transform rotate="180 0 1 1">
|
|
<state interpolation="smooth" shader="monkey">
|
|
<include src="./objects/suzanne.xml" />
|
|
</state>
|
|
</transform>
|
|
|
|
<transform rotate="90 1 0 0">
|
|
<transform translate="0 0 1">
|
|
<state shader="floor">
|
|
<mesh P="-3 3 0 3 3 0 3 -3 0 -3 -3 0" nverts="4" verts="0 1 2 3" />
|
|
</state>
|
|
</transform>
|
|
</transform>
|
|
</cycles>
|