However, it seems to not work with any materials that have an IOR, is that a bug or a feature?
0.7 does not support IOR?
-
mrCarnivore
- Posts: 517
- Joined: Sun Mar 04, 2007 6:20 am
- Location: Stuttgart, Germany
0.7 does not support IOR?
I downloaded 0.7 test 5 and tried some of the tests that come with it.
However, it seems to not work with any materials that have an IOR, is that a bug or a feature?
However, it seems to not work with any materials that have an IOR, is that a bug or a feature?
-
mrCarnivore
- Posts: 517
- Joined: Sun Mar 04, 2007 6:20 am
- Location: Stuttgart, Germany
Yes, that's the problem, I guess...
You use xml-tags from 0.6, but you need those from 0.7...
Especially for transparent stuff, you have to be careful
Transparent mats do need a medium-tag now, where IOR is specified...
In material-tags, you just have to set the type of the mat, the exponent, the name and, if it's transparent, the medium, that should be used!
an example:
You use xml-tags from 0.6, but you need those from 0.7...
Especially for transparent stuff, you have to be careful
Transparent mats do need a medium-tag now, where IOR is specified...
In material-tags, you just have to set the type of the mat, the exponent, the name and, if it's transparent, the medium, that should be used!
an example:
Code: Select all
<medium>
<name>Window Glass</name>
<precedence>10</precedence>
<basic>
<ior>1.52</ior>
<cauchy_b_coeff>0.0</cauchy_b_coeff>
<absorption_coefficient_spectrum>
<rgb>
<rgb>0.1 0.06 0.08</rgb>
</rgb>
</absorption_coefficient_spectrum>
</basic>
</medium>
<material>
<name>Window Glass</name>
<specular>
<transparent>true</transparent>
<internal_medium_name>Window Glass</internal_medium_name>
</specular>
</material>
