Bugs item #2342835, was opened at 2008-11-25 03:03
Message generated for change (Comment added) made by zelgadis_ksee
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=757416&aid=2342835&group_id=144022

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: dooglus (dooglus)
Assigned to: Nobody/Anonymous (nobody)
Summary: dynamic waypoints only support linear interpolation

Initial Comment:
The attached file shows two circles both using the same waypoints but they move 
differently.

The cyan one which behaves correctly has waypoints like this:
        <waypoint time="0s" before="auto" after="auto"><vector><x>-3.0</x><y> 
1.25</y></vector></waypoint>

The red one which doesn't has this:
        <waypoint time="0s" use="a" before="auto" after="auto"/>
    <vector id="a"><x>-3.0</x><y> 1.25</y></vector>

ie. if the waypoints use exported values then the TCB smoothing doesn't work.

----------------------------------------------------------------------

Comment By: Konstantin Dmitriev (zelgadis_ksee)
Date: 2012-12-26 04:16

Message:
This bugtracker is no longer active. The issue is moved to the new
bugtracker - http://synfig.org/issues/thebuggenie/synfig

----------------------------------------------------------------------

Comment By: dooglus (dooglus)
Date: 2008-11-25 03:42

Message:
synfig-core/trunk/src/synfig/valuenode_animated.cpp says:

                                // At the moment, the only type of non-constant 
interpolation
                                // that we support is linear.

So that's why.

synfig-core/trunk/src/synfig/waypoint.cpp defines:

bool Waypoint::is_static()const {
        return
static_cast<bool>(ValueNode_Const::Handle::cast_dynamic(value_node)) &&
value_node && !value_node->is_exported();
}

to determine whether to use static or dynamic interpolation.  In this
example the value-node->is_exported() and so dynamic interpolation is used.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=757416&aid=2342835&group_id=144022

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Synfig-devl mailing list
Synfig-devl@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to