google / google/filament

Consider adding stateful interface for glTF animation

Open
#3,121 23 comments 0 reactions 1 assignee Claimed by @pixelflinger View on GitHub
gltf
Dominant language
C++
Stars
20.5k
Forks
2.3k
Avg merge
2d 16h
Merged PRs (30d)
74

Description

Some users find the stateless Animator interface to be too low-level because it merely pushes a user-provided "elapsed time" into the glTF animation machinery. It is currently agnostic of concepts like play / pause / loop / reverse.

If we make this enhancement, users may need callback notifications as well.

We can either enhance Animator, or add a layer on top. I'm leaning towards the latter since callbacks often need to be expressed in a platform-specific (or language-specific) way.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.