sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Animator.rb - Call for participation

    Scheduled Pinned Locked Moved Developers' Forum
    19 Posts 10 Posters 3.4k Views 10 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K Offline
      kwistenbiebel
      last edited by

      Very good idea Pixero and definitely something SU needs.
      Unfortunately, I haven't got coding skills...

      1 Reply Last reply Reply Quote 0
      • J Offline
        Jim
        last edited by

        Jan, I am interested from the selfish perspective of learning as much as possible.

        What is the purpose of creating in-between pages just so you can delete them when editing the animation? I can see where scenes at the keyframes are needed to create and edit the animation, but with a simple dialog you could still step through the frames without creating scenes for each in-between.

        Hi

        1 Reply Last reply Reply Quote 0
        • thomthomT Offline
          thomthom
          last edited by

          @jim said:

          Jan, I am interested from the selfish perspective of learning as much as possible.

          What is the purpose of creating in-between pages just so you can delete them when editing the animation? I can see where scenes at the keyframes are needed to create and edit the animation, but with a simple dialog you could still step through the frames without creating scenes for each in-between.

          So you can render the animation.

          Thomas Thomassen — SketchUp Monkey & Coding addict
          List of my plugins and link to the CookieWare fund

          1 Reply Last reply Reply Quote 0
          • PixeroP Offline
            Pixero
            last edited by

            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.

            1 Reply Last reply Reply Quote 0
            • J Offline
              Jim
              last edited by

              @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?

              Hi

              1 Reply Last reply Reply Quote 0
              • PixeroP Offline
                Pixero
                last edited by

                @jim said:

                I guess it is the exporter for the renderer that requires the scenes?

                Yes.

                1 Reply Last reply Reply Quote 0
                • J Offline
                  Jim
                  last edited by

                  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.

                  Hi

                  1 Reply Last reply Reply Quote 0
                  • thomthomT Offline
                    thomthom
                    last edited by

                    @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...

                    Thomas Thomassen — SketchUp Monkey & Coding addict
                    List of my plugins and link to the CookieWare fund

                    1 Reply Last reply Reply Quote 0
                    • Chris FullmerC Offline
                      Chris Fullmer
                      last edited by

                      Thats interesting. It says it accepts a transformation object, so perhaps any transformation - rotation, scaling, transform(move) will work.

                      Lately you've been tan, suspicious for the winter.
                      All my Plugins I've written

                      1 Reply Last reply Reply Quote 0
                      • thomthomT Offline
                        thomthom
                        last edited by

                        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.

                        Thomas Thomassen — SketchUp Monkey & Coding addict
                        List of my plugins and link to the CookieWare fund

                        1 Reply Last reply Reply Quote 0
                        • Y Offline
                          yuyayu
                          last edited by

                          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.

                          1 Reply Last reply Reply Quote 0
                          • J Offline
                            Jim
                            last edited by

                            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.

                            Hi

                            1 Reply Last reply Reply Quote 0
                            • PixeroP Offline
                              Pixero
                              last edited by

                              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.

                              1 Reply Last reply Reply Quote 0
                              • pilouP Offline
                                pilou
                                last edited by

                                And Jim has made some crazzy animationstests

                                Frenchy Pilou
                                Is beautiful that please without concept!
                                My Little site :)

                                1 Reply Last reply Reply Quote 0
                                • 1 / 1
                                • First post
                                  Last post
                                Buy SketchPlus
                                Buy SUbD
                                Buy WrapR
                                Buy eBook
                                Buy Modelur
                                Buy Vertex Tools
                                Buy SketchCuisine
                                Buy FormFonts

                                Advertisement