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' -->
|
2011-06-23 07:08:23 +08:00
|
|
|
<scene>
|
2011-07-05 05:39:44 +08:00
|
|
|
<!-- Test the dielectric model -->
|
|
|
|
<bsdf type="dielectric">
|
|
|
|
<string name="intIOR" value="water"/>
|
|
|
|
<string name="extIOR" value="air"/>
|
|
|
|
</bsdf>
|
|
|
|
|
2011-07-05 02:13:36 +08:00
|
|
|
<!-- Test the diffuse model -->
|
|
|
|
<bsdf type="diffuse"/>
|
2011-07-01 07:48:33 +08:00
|
|
|
|
2011-06-23 07:08:23 +08:00
|
|
|
<!-- Test the diffuse transmission model -->
|
|
|
|
<bsdf type="difftrans"/>
|
|
|
|
|
2011-07-05 02:13:36 +08:00
|
|
|
<bsdf type="mixture">
|
|
|
|
<string name="weights" value=".5 .5"/>
|
2011-06-24 07:29:52 +08:00
|
|
|
|
2011-07-05 02:13:36 +08:00
|
|
|
<bsdf type="diffuse">
|
|
|
|
<rgb name="reflectance" value=".5 0 0"/>
|
2011-06-23 10:23:07 +08:00
|
|
|
</bsdf>
|
2011-07-05 02:13:36 +08:00
|
|
|
<bsdf type="difftrans">
|
|
|
|
<rgb name="transmittance" value="0 .5 0"/>
|
2011-06-25 06:24:41 +08:00
|
|
|
</bsdf>
|
|
|
|
</bsdf>
|
2011-07-07 09:07:32 +08:00
|
|
|
|
|
|
|
<!-- Test the conductor model -->
|
|
|
|
<bsdf type="conductor"/>
|
2011-06-23 07:08:23 +08:00
|
|
|
</scene>
|