mitsuba/data/tests/test_bsdf.xml

35 lines
946 B
XML
Raw Normal View History

2011-06-23 08:14:03 +08:00
<!-- This file defines a series of BSDF instances
to be tested for consistency. This is done
using the testcase 'test_chisquare' -->
<scene>
<!-- Test the lambertian model -->
<bsdf type="lambertian"/>
<!-- Test the diffuse transmission model -->
<bsdf type="difftrans"/>
<!-- Test the phong model with both diffuse + specular components -->
<bsdf type="phong">
<float name="diffuseAmount" value="0.5"/>
<float name="specularAmount" value="0.5"/>
2011-06-23 08:14:03 +08:00
<float name="exponent" value="20"/>
<spectrum name="diffuseReflectance" value="1"/>
<spectrum name="specularReflectance" value="1"/>
</bsdf>
2011-06-23 08:14:03 +08:00
<!--
<bsdf type="ward"/>
<bsdf type="microfacet">
<float name="diffuseAmount" value="0.5"/>
<float name="specularAmount" value="0.5"/>
<float name="alphaB" value="0.1"/>
<spectrum name="diffuseReflectance" value="1"/>
<spectrum name="specularReflectance" value="1"/>
</bsdf>
-->
<camera type="perspective"/>
</scene>