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.
    • AdamBA Offline
      AdamB
      last edited by

      I think its a great idea. But I'd guess you would be hard pushed to find people who thought it was a Bad idea!

      I've actually kept the bitmap of the control panel you posted some time ago as an aide memoire should I get around to adding stuff like that to LU.

      But its a none trivial amount of work.. So don't hold your breath!

      Adam

      Developer of LightUp Click for website

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

        My current idea is a panel less implementation since that would make it easier to script.
        The keyframe edit panel could always be added later.

        The important thing is that with attributes added to pages one could differentiate between key-pages and inbetween-pages and be able to delete the inbetweens that are there for "baking" each frame so it will work with different interpolations for easing in or out and with face me components and for renderers like Vray. With attributes it would be possible to keep info for going back to a previous transition time and more.
        I believe most of what I wrote in the post above could be done without to much headache. At least if we were a few scripters collaborating. 😉

        There are so many great modeling additions and I just wish there were more people developing the weakest parts of SU that we actually can do something about.
        (High poly support not beeing one of them.)

        Come on...lets do it!

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

          Its not too late to learn Ruby Bruce 😄

          I also think its a great effort Jan. I hope it gets support. Probably not from me unfortunately, unless I find myself getting into animation. At this point, animation something I have little skill with, need of, or understanding of. But good luck!

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

          1 Reply Last reply Reply Quote 0
          • S Offline
            steelers05
            last edited by

            I know you are looking for response of people that can help, and I am certainly not capable of scripting, but I just wanted to say that this would be ground breaking for the SU community if you were able to implement controls like you are talking about. I have been one of the many trying to push animation in SU to its fullest and I have had some success with my nightclub animation, but I still felt so limited and had to really on post processing for a lot of tweaking. It would be great to have the things you are talking about. Are you considering any controls for animating objects and such or just to improve the camera? Best of luck and I will be following this one for sure.

            1 Reply Last reply Reply Quote 0
            • 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