Advanced foil interface law¶
Description¶
The Advanced foil interface law is similar to the Thick foil interface law, but it adds the following features:
Custom child interface laws at both sides of the foil
Variable foil thickness
Optional birefringence anisotropy fields
The refractive indices of scene media located in front and behind the surface are taken into account, as well as the properties of the layer. The latter is defined by an internal medium defined in the law element, and a thickness shader.
The polarization state of light is computed accurately by this law.
This law is well suited for coated flat glass sheets and polymer foils, and can model very well glass tempering marks.
Note
Using this feature requires an Advanced Edition license
Children Nodes¶
The foil external interface law |
|
The foil internal interface law |
|
The foil dielectric function |
|
The foil thickness |
|
Foil anisotropy along the x axis |
|
Foil anisotropy along the y axis |
|
Foil anisotropy along the xy axis |
Parameters¶
name |
type |
description |
---|---|---|
thickness |
real |
The foil thickness in meters |
Ocean XML 6.1 example¶
<intlaw type="advfoil" name="intlaw">
<intlaw type="thinfilm" name="external" thickness="8e-09">
<dielectricfunc type="linked" name="dielectricfunc" target="ocean-metals::Au"/>
</intlaw>
<intlaw type="fresnel" name="internal"/>
<dielectricfunc type="linked" name="dielectricfunc" target="ocean-building-glass::blue"/>
<scalarshader type="uniform" name="thickness" value="0.003"/>
</intlaw>