31 lines
731 B
XML
31 lines
731 B
XML
<!-- This file defines a series of BSDF instances
|
|
to be tested for consistency. This is done
|
|
using the testcase 'test_chisquare' -->
|
|
<scene>
|
|
<!-- Test the dielectric model -->
|
|
<bsdf type="dielectric">
|
|
<string name="intIOR" value="water"/>
|
|
<string name="extIOR" value="air"/>
|
|
</bsdf>
|
|
|
|
<!-- Test the diffuse model -->
|
|
<bsdf type="diffuse"/>
|
|
|
|
<!-- Test the diffuse transmission model -->
|
|
<bsdf type="difftrans"/>
|
|
|
|
<bsdf type="mixture">
|
|
<string name="weights" value=".5 .5"/>
|
|
|
|
<bsdf type="diffuse">
|
|
<rgb name="reflectance" value=".5 0 0"/>
|
|
</bsdf>
|
|
<bsdf type="difftrans">
|
|
<rgb name="transmittance" value="0 .5 0"/>
|
|
</bsdf>
|
|
</bsdf>
|
|
|
|
<!-- Test the conductor model -->
|
|
<bsdf type="conductor"/>
|
|
</scene>
|