Hi,<br>In Synfig we are considering to rewrite the current behavior of gradients animation. <br>The current behavior is really user unsatisfactory when the gradient modify its number of <br>stops along the time or moves it along the time. <br>
<br>It seems (because I haven't deep look the code yet) that stops never are moved and instead <br>of move the the stops the when the gradient is interpolated between two frames it just add as <br>many stops needs to match the previous and next frames where the changes are made. So the <br>
extra added stop points match the color of the two extreme gradients at that position.<br><br>So I'm considering modify the gradient interpretation when animated to allow move stop points <br>instead of create new static stop points and change its color.<br>
<br>I would like to have some feed back on anyone who has deal with animated gradients and how was <br>the solution adopted. <br><br>Attached the definition of an animated gradient in its xml file in Synfig (stop points are moved but Synfig creates <br>
new stop points that merges the first and second waypoint)<br>As you can see, there is not information that specify if the stop points are moved or they are just created on the fly <br>and its color adapted.I wold like to include some information in the file definition to tell the application to behave moving the stop points<br>
without change the color or add dummy stop points and change its color to match the gradients in each waypoint. <br><br> <param name="gradient"><br> <animated type="gradient"><br> <waypoint time="0s" before="auto" after="auto"><br>
<gradient guid="69ED6766CEA5C3EA94A650F755509AE2"><br> <color pos="0.000000"><br> <r>1.000000</r><br> <g>0.000000</g><br>
<b>1.000000</b><br> <a>1.000000</a><br> </color><br> <color pos="1.000000"><br> <r>0.000000</r><br> <g>0.000000</g><br>
<b>0.000000</b><br> <a>1.000000</a><br> </color><br> </gradient><br> </waypoint><br> <waypoint time="1s" before="auto" after="auto"><br>
<gradient guid="C4E3A15BFF3FA7BEF9ED11B63F7C708C"><br> <color pos="0.316239"><br> <r>0.000000</r><br> <g>0.000000</g><br>
<b>0.000000</b><br> <a>1.000000</a><br> </color><br> <color pos="0.683761"><br> <r>1.000000</r><br> <g>0.000000</g><br>
<b>1.000000</b><br> <a>1.000000</a><br> </color><br> </gradient><br> </waypoint><br> </animated><br> </param><br>
<br>Greetings<br>Carlos<br>