-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into PotOfCoalsAnimationPointer
- Loading branch information
Showing
310 changed files
with
22,885 additions
and
5,141 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
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
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
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,15 @@ | ||
# LICENSE file for the model: Animated Colors Cube | ||
|
||
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 Attribtution 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 | ||
|
||
#### Generated by modelmetadata |
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,15 @@ | ||
## Screenshot | ||
|
||
![screenshot](screenshot/screenshot-large.gif) | ||
|
||
## Description | ||
|
||
This model tests the [`KHR_animation_pointer`](https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Khronos/KHR_animation_pointer) extension's effect on the `baseColorFactor` of a material. When animated, the top cube should rotate above other colored cubes, and change its own color to match the cubes below. | ||
|
||
This model was created in Blender 4.2.0 by placing keyframes for a material's default base color and using the "Push Down Action" button in the NLA Track Editor. The glTF export settings were configured with "Animation Mode" set to "NLA Tracks" and with a checkmark placed on "Animation Pointer (experimental)". | ||
|
||
## Possible Problems | ||
|
||
- If the top cube moves but stays red the entire time, it may indicate that `KHR_animation_pointer` is not supported in your renderer. | ||
|
||
- If the color changes become out-of-sync with the physical motion of the cube, it may indicate that the various animation tracks are not being driven by the same clock. The movement is defined for the `[0, 3]` range while colors are defined for the `[0, 2.5]` range. This checks that the last color keyframe remains active until the movement track is complete. A similar test exists in the [BoxAnimated](../BoxAnimated) sample without any animation pointers. |
Oops, something went wrong.