Skip to content

Commit

Permalink
Merge pull request #4 from prefrontalcortex/add-blend-test-asset
Browse files Browse the repository at this point in the history
Add AlphaBlendModeTest
  • Loading branch information
meshula authored Jun 4, 2022
2 parents d083867 + 4004766 commit 3a7fc94
Show file tree
Hide file tree
Showing 13 changed files with 746 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
706 changes: 706 additions & 0 deletions test_assets/AlphaBlendModeTest/AlphaBlendModeTest.usd

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
40 changes: 40 additions & 0 deletions test_assets/AlphaBlendModeTest/Readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Alpha Blend Mode Test

## Screenshot

![screenshot](screenshots/20220603-usdview.png)
_usdview 21-05_

## Description

This model tests UsdPreviewSurface alpha modes and blending, especially the interplay between opacity, opacityThreshold, and diffuseColor.

It's a conversion from the glTF test asset with the same name found here: https://github.com/KhronosGroup/glTF-Sample-Models/blob/master/2.0/AlphaBlendModeTest/README.md.

![glTF reference](screenshots/gltf-reference.jpg)
_glTF reference_

## Problem: Opacity Values Used in Opaque Mode

![Blender 3.1](screenshots/20220603-blender.png)
_Blender 3.1_

## Problem: Opacity Values combined with opacityThreshold values

![QuickLook on iOS 15.6](screenshots/20220603-QuickLook.jpeg)
_QuickLook on iOS 15.6_

## Problem: Incorrect use of default opacityTreshold (?)

![Omniverse VIEW 2022.1](screenshots/20220603-Omniverse.png)
_Omniverse VIEW 2022.1_

## License Information

This conversion bears the same license as the [source asset](https://github.com/KhronosGroup/glTF-Sample-Models/blob/master/2.0/AlphaBlendModeTest/README.md).

Copyright 2018 Analytical Graphics, Inc.
CC-BY 4.0 https://creativecommons.org/licenses/by/4.0/
Model and textures by Ed Mackey.

Conversion by Felix Herbst.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 3a7fc94

Please sign in to comment.