Animator.rb - Call for participation
-
SketchUp can only do linear interpolations between scenes. That means no speed changes like slowing in or speeding up.
With every frame "baked" as a scene you can have speed changes and more control.
(Since you/the script will create scenes based on your input. Like smoothstep or ease in/out.)
This is also good when rendering animations with an external renderer like Vray. -
@pixero said:
SketchUp can only do linear interpolations between scenes. That means no speed changes like slowing in or speeding up.
It's OK, but I don't think I get it yet.
You said you would be using your own easing functions between scenes. Scenes are not required to move the camera or change rendering options.
I guess it is the exporter for the renderer that requires the scenes?
-
-
I was looking into this stuff today. It started with making a Group.move_to method, then got factored out into a Group.animate_to method, which again got factored out into an MovableObject.animate(properties, duration, ease_method); which fits right in with this topic.
I don't mean I wrote this today, but was only thinking about a programmer's interface for animations.
SketchUp's Animation appears to support a single animation at a time, so I also was thinking an AnimationManager might be needed if there (and there certainly would be) more than one object being animated concurrently. And also only if SU's animation class was used.
-
@jim said:
I was looking into this stuff today. It started with making a Group.move_to method
Different from the existing Group.move! method? http://code.google.com/intl/nb/apis/sketchup/docs/ourdoc/group.html#move!
I see that .move! method for Groups and ComponentInstances create an undoable event. But there's nothing for scale and rotate...
-
Thats interesting. It says it accepts a transformation object, so perhaps any transformation - rotation, scaling, transform(move) will work.
-
Ah! Didn't notice that it took a Transformation object. Didn't read that. Just assumed x,y,z from the name. I can see use for more than animation for this.
What would be interesting with an Animation toolkit was if render software developers had some feedback to what would make things easier for them to make animating objects work. Since I use VfSU I'd like to talk with ASGVis and see if maybe something can be provided that would allow them to implement object animation to a future VfSU version.
-
A free ruby from morisdov.googlepages.com can control each scenes(pages) transition time for animations . and also consider about target point movement.
Thanks for your good idea.
-
Jan,
Have you looked at thefilm and stage plugin? It has some of the features you want, and so may be a good place to look for ideas.
-
Yes I have used it for a long time but it doesnt really help with animation. Very good though.
Also, see the BZ_Animator thread for my tutorial on how to use it with some other scripts for better animation control.
I'll try to write it tonight. Tomorrow at the latest. -
And Jim has made some crazzy animationstests
Advertisement