-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1726 from DassaultSystemes-Technology/KHR_materia…
…ls_volume KHR_materials_volume
- Loading branch information
Showing
11 changed files
with
1,024 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
90 changes: 90 additions & 0 deletions
90
extensions/2.0/Khronos/KHR_materials_transmission/figures/Nodes.dot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
digraph D { | ||
graph [rankdir="LR", fontname="Helvetica"] | ||
node [shape=plaintext, fontname="Helvetica"] | ||
edge [fontname="Helvetica"] | ||
|
||
subgraph cluster_dielectric { | ||
label="Dielectric" | ||
|
||
dielectric_specular_brdf [label=< | ||
<table border="1" cellborder="0"> | ||
<tr><td port="out"><font point-size="14"><b>specular_brdf</b></font></td></tr> | ||
<tr><td><font point-size="10">α = <i><roughness></i><sup>2</sup></font></td></tr> | ||
</table> | ||
>] | ||
|
||
dielectric_specular_btdf [label=< | ||
<table border="1" cellborder="0"> | ||
<tr><td port="out"><font point-size="14"><b>specular_btdf</b></font></td></tr> | ||
<tr><td><font point-size="10">color = <i><baseColor></i></font></td></tr> | ||
<tr><td><font point-size="10">roughness = <i><roughness></i><sup>2</sup></font></td></tr> | ||
</table> | ||
>] | ||
|
||
dielectric_diffuse_brdf [label=< | ||
<table border="1" cellborder="0"> | ||
<tr><td port="out"><font point-size="14"><b>diffuse_brdf</b></font></td></tr> | ||
<tr><td><font point-size="10">color = <i><baseColor></i></font></td></tr> | ||
</table> | ||
>] | ||
|
||
dielectric_base_mix [label=< | ||
<table border="1" cellborder="0"> | ||
<tr><td port="out"><font point-size="14"><b>mix</b></font></td></tr> | ||
<tr><td port="in_bsdf0"><font point-size="10">bsdf0</font></td></tr> | ||
<tr><td port="in_bsdf1"><font point-size="10">bsdf1</font></td></tr> | ||
<tr><td><font point-size="10">weight = <i><transmission></i></font></td></tr> | ||
</table> | ||
>] | ||
|
||
dielectric_fresnel_mix [label=< | ||
<table border="1" cellborder="0"> | ||
<tr><td port="out"><font point-size="14"><b>fresnel_mix </b></font></td></tr> | ||
<tr><td port="in_layer"><font point-size="10">layer</font></td></tr> | ||
<tr><td port="in_base"><font point-size="10">base</font></td></tr> | ||
<tr><td><font point-size="10">ior = 1.5</font></td></tr> | ||
</table> | ||
>] | ||
|
||
dielectric_diffuse_brdf:out -> dielectric_base_mix:in_bsdf0 | ||
dielectric_specular_btdf:out -> dielectric_base_mix:in_bsdf1 | ||
|
||
dielectric_base_mix:out -> dielectric_fresnel_mix:in_base | ||
dielectric_specular_brdf:out -> dielectric_fresnel_mix:in_layer | ||
} | ||
|
||
subgraph cluster_metal { | ||
label="Metal" | ||
|
||
metal_specular_brdf [label=< | ||
<table border="1" cellborder="0"> | ||
<tr><td port="out"><font point-size="14"><b>specular_brdf</b></font></td></tr> | ||
<tr><td><font point-size="10">α = <i><roughness></i><sup>2</sup></font></td></tr> | ||
</table> | ||
>] | ||
|
||
metal_conductor_fresnel [label=< | ||
<table border="1" cellborder="0"> | ||
<tr><td port="out"><font point-size="14"><b>conductor_fresnel </b></font></td></tr> | ||
<tr><td port="in_bsdf"><font point-size="10">bsdf</font></td></tr> | ||
<tr><td><font point-size="10">f0 = <i><baseColor></i></font></td></tr> | ||
</table> | ||
>] | ||
|
||
metal_specular_brdf:out -> metal_conductor_fresnel:in_bsdf | ||
} | ||
|
||
subgraph core { | ||
core_mix [label=< | ||
<table border="1" cellborder="0"> | ||
<tr><td port="out"><font point-size="14"><b>mix</b></font></td></tr> | ||
<tr><td port="in_bsdf0"><font point-size="10">bsdf0</font></td></tr> | ||
<tr><td port="in_bsdf1"><font point-size="10">bsdf1</font></td></tr> | ||
<tr><td><font point-size="10">weight = <i><metallic></i></font></td></tr> | ||
</table> | ||
>] | ||
|
||
dielectric_fresnel_mix:out -> core_mix:in_bsdf0 | ||
metal_conductor_fresnel:out -> core_mix:in_bsdf1 | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.