Skip to content

Add animated clock example#2329

Merged
jstone-lucasfilm merged 7 commits into
AcademySoftwareFoundation:mainfrom
autodesk-forks:zicher/clock_sample
May 26, 2025
Merged

Add animated clock example#2329
jstone-lucasfilm merged 7 commits into
AcademySoftwareFoundation:mainfrom
autodesk-forks:zicher/clock_sample

Conversation

@zicher3d

@zicher3d zicher3d commented Apr 2, 2025

Copy link
Copy Markdown
Contributor

Adding an animated procedural sample for a simple clock.

This was created in Maya/LookdevX and exported through the LookdevX Publishing option. Manual changes were then made to remove xpos/ypos attributes, and change the texcoord input adding defaultgeomprop="UV0".

Currently there is no way to test the animation in Viewer or Graph Editor. In Graph Editor, when clock.mtlx is loaded, it appers as a node in the "animated" nodegroup. Connect the color output to a material base color. A Time node should be plugged into the Time input to properly see the animation once the ability to play a timeline is available.

zicher3d and others added 7 commits April 2, 2025 13:49
Adding an animated procedural sample for a simple clock.

This was created in Maya/LookdevX and exported through the LookdevX Publishing option.
Manual changes were then made to remove xpos/ypos attributes, and change the texcoord input adding defaultgeomprop="UV0".

Currently there is no way to test the animation in Viewer or Graph Editor.
In Graph Editor, when clock.mtlx is loaded, it appers as a node in the "animated" nodegroup.
Connect the color output to a material base color.
A Time node should be plugged into the Time input to properly see the animation once the ability to play a timeline is available.
- Add `time` node for initial testing in MaterialX Viewer and Graph Editor.
- Refactor example as a compound nodegraph for consistency.
- Update MaterialX version to 1.39.
- Remove application-specific metadata.
@jstone-lucasfilm jstone-lucasfilm changed the title Adding Clock animated sample Add animated clock example May 26, 2025

@jstone-lucasfilm jstone-lucasfilm left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the great contribution, @zicher3d!

In the MaterialX viewer and editor, we still have work to do in handling animated materials robustly, but this should provide a great first example that we can work with.

@jstone-lucasfilm jstone-lucasfilm merged commit 1fe47a1 into AcademySoftwareFoundation:main May 26, 2025
32 checks passed
@zicher3d zicher3d deleted the zicher/clock_sample branch August 18, 2025 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants