Repository navigation
Answer animation variability without enumerating frames - #530
Merged
Merged
Conversation
A Boolean variability query only needs the kind of the winning source and, for a single sample, whether its value composes over weaker values. Inspect authored opinions in strength order so long animations can answer without projecting, sorting, and discarding their timelines. Keep clip scheduling and unresolved clip demands in the decision. Compare the direct answer against full resolution across layered defaults, blocks, sparse values, and sample maps.
Joint transforms can answer as soon as one component varies. Keep frame enumeration in the sample-time accessors so polling animation never builds and discards the union of every component timeline.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A scene can ask whether an attribute animates before deciding which parts to evaluate each frame. For an ordinary authored attribute, the strongest value source already answers that question. Previously the query built and sorted the entire composed timeline. A skeletal animation query also enumerated frame times independently for each component.
Read ordinary opinions in strength order. Distinguish one dense sample from a composing sample, follow sparse defaults into weaker sources, and stop at blocks. Clip-backed properties still use the composed schedule, and pending clip assets still make the answer conservative. The skeletal helpers can now stop at the first varying component.
The resolve benchmark covers static attributes and series with 1 to 100,000 samples. A regression compares both variability predicates with full resolution across 729 three-opinion stacks.
Nine alternating release runs on Apple Silicon, with an already composed stage. Each skeletal scan looks up 1,000 SkelAnimation prims and calls
blend_shape_weights_might_be_time_varying. The prims share a sampled weights curve. Times are medians per scan.On a single 100,000-sample attribute, DHAT measured 6,097,248 allocated bytes per variability query before and zero after. Timing and allocation measurements exclude stage construction.