Skip to content

Commit

Permalink
Add test of animated base color
Browse files Browse the repository at this point in the history
  • Loading branch information
emackey committed Aug 1, 2024
1 parent 5dbfa1b commit c374746
Show file tree
Hide file tree
Showing 7 changed files with 477 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Models/AnimatedColorsCube/README.body.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
## 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.

If the top cube moves but stays red the entire time, it may indicate that `KHR_animation_pointer` is not supported in your renderer.

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)".
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit c374746

Please sign in to comment.