Synfig Issue Tracker
star_faded.png
Please log in to bookmark issues
bug_report_small.png
OPEN  Bug report #85  -  Integer valuenodes interpolate wrongly
Posted Dec 16, 2012 - updated Jan 05, 2019
action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
Issue details
  • Type of issue
    Bug report
  • Status
     
    New
  • Assigned to
    Not assigned to anyone
  • Progress
       
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     Imported User
  • Owned by
    Not owned by anyone
  • Category
    Animation
  • Resolution
    Not determined
  • Priority
    Not determined
  • Targetted for
    icon_milestones.png Not determined
  • Tags
    icon_customdatatype.png Not determined
  • Difficulty
    icon_customdatatype.png Not determined
Issue description
genete:

Although there are not many layers or Value Nodes that uses integers as Parameter of sub Parameter, the integer valuenode does incorrectly the interpolation.

To understand what is happening do the following:
  1. Create a new document and set its fps to be 10 (10 frames per second)
  2. Create any layer (a circle for example)
  3. Select any parameter and convert it to Random. For example the circle's Radius.
  4. Expand the Random Value Node and find the Seed sub parameter it is an integer.
  5. Enter in animation mode.
  6. At frame 0f edit the Seed sub parameter and set it to be 0
  7. At frame 3s (or 30f at 10 fps) set it to be 30
  8. Now select the Seed sub parameter and watch the curve produced in the graph panel. It is a step curve (it is integer) as it is supposed to be but the step is 3 units of eight!. There is not reason to make it by each three steps (because it there are 30 frames for a variation of 30 units so there it room for intermediate steps.


It is a bug.

Attached is a sample file. It has two circles, one showing the problem (Integer interpolation) and other showing the correct behavior after convert the integer value to scale and set the link to be 1 and the scalar to be interpolated from 0 to 30)
Steps to reproduce this issue
Nothing entered.

#2
Comment posted by
 Imported User
Dec 16, 16:35
A file was uploaded. integer.sifzicon_open_new.png