On Friday, October 22, 2004, 1:42:17 PM, andr� wrote:

amw> hi,

amw> i was wondering if it is possible to apply an animation along a path in
amw> the x an y attributes of fePointLight.

Not directly, no.

amw> animateMotion/mpath needs an element that supports transformations (i
amw> guess so), but fePointLight doesn't seem to.

Right.

amw> what i want: moving the sun in the example from michel hirzler 
amw> (<http://pilat.free.fr/filtres/fsp_anim.htm>) along an bezier curve and
amw> not only between points. i had only success with feeding the animate x
amw> and animate y attributes with pairs of values, thus moving along 
amw> straight segments 
amw> 
<http://tirolatlas.uibk.ac.at/kids/modules/learnmaps/_graphics/17_sonnenstand/sun.svgz>.

This is a known limitation of SVG. Apart from moving an object along a
path, other properties can only be animated by linearly interpolating
between a list of values (effectively, animating along a polyline).

So the work around is as you have it: convert the bezier to a polyline
approximation and use the vertices of the polyline as your z and y
values list.


-- 
 Chris Lilley                    mailto:[EMAIL PROTECTED]
 Chair, W3C SVG Working Group
 Member, W3C Technical Architecture Group



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/1U_rlB/TM
--------------------------------------------------------------------~-> 

-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to