Ticket #99 (closed enhancement: fixed)

Opened 4 months ago

Last modified 3 months ago

Model code: are looping vs. non-looping sequences properly advanced in time?

Reported by: Carsten Owned by:
Priority: normal Milestone:
Component: Libs Version: svn-head
Keywords: Cc:
Platform:

Description

If an animation sequence has four frames 0...3, the maximum frame number maxF is

  • for looping sequences: maxF < 4.0,
    because e.g. a value of 3.9 is 10% of frame 3 and 90% of frame 0.
  • for non-looping sequences: maxF == 3.0,
    because frame 3 is the last frame in the non-looping sequence.

The subject of this ticket is to make sure that these rules are properly respected and implemented.

Change History

Changed 3 months ago by Carsten

  • status changed from new to closed
  • resolution set to fixed

(In [484]) Model code:

  • Moved the "force loop" feature from being a parameter to AnimExpressionT::AdvanceTime() to a property of AnimExprStandardT.
  • Clarified how looping vs. non-looping sequences are correctly handled, and updated related methods AnimExprStandardT::AdvanceTime() and AnimExprStandardT::GetData() accordingly.

Closes #99.

Note: See TracTickets for help on using tickets.