Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions Models/TransmissionTinting/LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# LICENSE file for the model: TransmissionThinwallTestGrid

All files in this directory tree are licensed as indicated below.

* All files directly associated with the model including all text, image and binary files:

* [CC0 1.0 Universal](https://creativecommons.org/publicdomain/zero/1.0/legalcode) [SPDX license identifier: "CC0-1.0"]

* This file and all other metadocumentation files including "metadata.json":

* [Creative Commons Attribution 4.0 International]("https://creativecommons.org/licenses/by/4.0/legalcode") [SPDX license identifier: "CC-BY-4.0"]

Full license text of these licenses are available at the links above.

<!-- This file is auto-generated by modelmetadata. Do not edit by hand. -->
16 changes: 16 additions & 0 deletions Models/TransmissionTinting/README.body.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
## Screenshot

![Screenshot from Adobe Substance 3D Stager](screenshot/raytraced.png)
<br/>_Screenshot from [Adobe Substance 3D Stager](https://www.adobe.com/products/substance3d/apps/stager.html)._

Rasterizer that only supports a single-layer of transparency. Notice that the volumetric materials include the double-tinting for both sides of the volume as an approximation while the thin-walled materials do not.
![Screenshot from Babylon.js](screenshot/single_layered_rasterizer.png)
<br/>_Screenshot from [Babylon.js](https://www.babylonjs.com/)._

Rasterizer that supports multiple layers of transparency.
![Screenshot from Adobe Substance 3D Stager](screenshot/multiple_layered_rasterizer.png)
<br/>_Screenshot from [Adobe Substance 3D Stager](https://www.adobe.com/products/substance3d/apps/stager.html)._

## Description

This asset tests the surface-tinting functionality of the [KHR_materials_transmission](https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_materials_transmission) and [KHR_materials_diffuse_transmission](https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_materials_diffuse_transmission) extensions used in conjunction with thin-walled meshes as well as volumetric (with the [KHR_materials_volume](https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_materials_volume) extension). While the cubes are tinted on both sides, the plane represents a single layer of geometry and so should appear lighter than the cubes.
42 changes: 42 additions & 0 deletions Models/TransmissionTinting/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# TransmissionThinwallTestGrid

<!-- This file is auto-generated by modelmetadata. Do not edit by hand. -->

## Tags

[extension](../Models-extension.md)

## Extensions Used

* KHR_materials_transmission
* KHR_materials_volume
* KHR_materials_ior

## Summary

Grid of spheres over a checkered backdrop to test Thinfilm and IOR rendering.

## Operations

* [Display](https://github.khronos.org/glTF-Sample-Viewer-Release/?model=https://raw.GithubUserContent.com/KhronosGroup/glTF-Sample-Assets/main/./Models/TransmissionThinwallTestGrid/glTF-Binary/TransmissionThinwallTestGrid.glb) in SampleViewer
* [Download GLB](https://raw.GithubUserContent.com/KhronosGroup/glTF-Sample-Assets/main/./Models/TransmissionThinwallTestGrid/glTF-Binary/TransmissionThinwallTestGrid.glb)
* [Model Directory](./)

## Screenshot

![Screenshot from glTF Sample Viewer](screenshot/screenshot_Large.jpg)
<br/>_Screenshot from [glTF Sample Viewer](https://github.khronos.org/glTF-Sample-Viewer-Release/)._

## Description

This asset tests the differences in index of refraction between thin-wall and volumetric transmission, using extensions [KHR_materials_ior](https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_materials_ior), [KHR_materials_transmission](https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_materials_transmission), and [KHR_materials_volume](https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_materials_volume). The top row of spheres omits the volume extension to cause thin-wall behavior.

The spheres in the bottom row are 2m in diameter with a volume `thicknessFactor` of 1m, to approximate an average thickness through each volume.

## Legal

&copy; 2023, Public. [CC0 1.0 Universal](https://creativecommons.org/publicdomain/zero/1.0/legalcode)

- Eric Chadwick for Everything

<!-- This file is auto-generated by modelmetadata. Do not edit by hand. -->
Binary file not shown.
Loading
Loading