Skip to content

Commit

Permalink
Patch readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
kwokcb committed Jul 8, 2024
1 parent 68358fe commit b1f92ca
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.html
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ <h2 id="introduction">Introduction</h2>
<p>Below is an example of converting the &quot;Sci Fi Helmet&quot; asset (found in the <strong><a href="https://github.com/KhronosGroup/glTF-Sample-Assets/tree/main/Models/SciFiHelmet">glTF Sample Model repository</a></strong>) to MaterialX and previewing.</p>
<!--
<img src="https://github.com/kwokcb/glTF_MaterialX/raw/main/docs/gltf_import-graphEditor2.png" width="80%"> -->
<img src="https://github.com/kwokcb/materialxgltf/docs/images/SciFiHelmet_graph.png" width="100%">
<img src="https://kwokcb.github.io/materialxgltf/docs/images/SciFiHelmet_graph.png" width="100%">
<p>The functionality found here is equivalent to the C++ module available in<br>
<strong><a href="https://github.com/kwokcb/glTF_MaterialX">this repository</a></strong>. Note that additional documentation can be found on that site.</p>
<h2 id="installation">Installation</h2>
Expand Down Expand Up @@ -468,7 +468,7 @@ <h2 id="usage">Usage</h2>
<p>The sample input file is the &quot;BoomBox with Axes&quot; file from the glTF https://github.com/KhronosGroup/glTF-Sample-Assets/tree/main/Models/sitory found <strong><a href="https://github.com/KhronosGroup/glTF-Sample-Assets/tree/main/Models/BoomBoxWithAxes/glTF">here</a></strong>.</p>
<img src="https://github.com/KhronosGroup/glTF-Sample-Assets/blob/main/Models/BoomBoxWithAxes/screenshot/screenshot_large.jpg?raw=true" width=30%>
<p>This is converted from glTF to a MaterialX document which can be previewed / modified using an integration which supports MaterialX. Here the file is loaded into the a graph editor</p>
<img src="./docs/images/BoomBox_graph.png" alt="Graph Editor Snapshot" width="100%">
<img src="https://kwokcb.github.io/materialxgltf/docs/images/BoomBox_graph.png" alt="Graph Editor Snapshot" width="100%">
<p>The converted materials are then used to create a new glTF file using sample &quot;shaderball&quot; data with each material found assigned to different instances of the &quot;shaderball&quot;</p>
<p><img src="https://raw.githubusercontent.com/kwokcb/MaterialX_Learn/main/documents/images/mtlx_to_gltf_materialviewer.png" alt="VSCode Snapshot"
width="50%"></p>
Expand Down
2 changes: 1 addition & 1 deletion docs/gallery.html
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ <h4 id="%22standard-surface%22-shading-model-conversions">&quot;Standard Surface
</tbody>
</table>
<p>The following is one of the examples running QuiltiX with the <code>HDStorm</code> OpenUSD render delegate and a local model-viewer customization.</p>
<img src="./images/Copper_translated_baked_to_gltf.png?raw=true">
<img src="https://kwokcb.github.io/materialxgltf/docs/images/Copper_translated_baked_to_gltf.png?raw=true">
<p>These materials are from the &quot;Physically Based&quot; site maintained by Anton Palmqvist. The MaterialX files were downloaded from the <a href="https://physicallybased.info/">Physical Based Site</a>.</p>
<table>
<thead>
Expand Down
2 changes: 1 addition & 1 deletion docs/gallery.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ QuiltiX and MaterialX to use the MaterialX 1.38.9 definition library for OpenUSD

The following is one of the examples running QuiltiX with the `HDStorm` OpenUSD render delegate and a local model-viewer customization.

<img src="./images/Copper_translated_baked_to_gltf.png?raw=true">
<img src="https://kwokcb.github.io/materialxgltf/docs/images/Copper_translated_baked_to_gltf.png?raw=true">


These materials are from the "Physically Based" site maintained by Anton Palmqvist. The MaterialX files were downloaded from the [Physical Based Site](https://physicallybased.info/).
Expand Down

0 comments on commit b1f92ca

Please sign in to comment.