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

    [Plugin] Smoothstep Animation

    Scheduled Pinned Locked Moved Plugins
    80 Posts 50 Posters 91.5k Views 50 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.
    • facerF Offline
      facer
      last edited by

      I support Dan's suggestion above (10 Feb 09) about numbering image files on export.
      I did a small test which resulted in 160 frames exported. I had to re-number
      61 frames to allow VirtualDub to read them in correctly. This would make a typical
      building file unmanageable for video software as VirtualDub.

      I have attached my CHECK Note for anyone who has not tried it before.
      This is my process for a SunTool Video TEST.

      Process:
      The following video used these key SketchUp plugins:

      1. SunTool - http://tx.technion.ac.il/~arrguedi/SunTools/dwnld_after_reg/STdwnld.htm

      2. Scenes Transition Times - scenes_transition_times.rb - by http://morisdov.googlepages.com

      3. Export smooth Animation - smoothStepAnim.rb - by Whaat

      Process used on a TEST SketchUp Model with SunTool set for the month of Sept 21

      1. Jpeg images of views are exported using Export smooth Animation. These have to be re-numbered as they are not numbered to maintain the "number width" as required. For example images0035 image0036 etc when 1000 frames are exported. This is a nuisance but it has been pointed out by Dan to Whaat the Ruby programmer. Hopefully this will be addressed in a future update.

      2. Scenes were created for:
        scene1. Sept 21 - 0800 (start)__scene2. Sept 21 - 0900
        scene3. Sept 21 - 1200__scene4. Sept 21 - 1500 (end)

      These correspond to shadow studies for one of the months and dates set by the local town planning authority hear in Melbourne.

      Layers are used to turn off the sun location graphics produced by SunTool for times not in the scene. Therefore each SCENE shows only the sun location for
      the time corresponding to the shadow turned on.

      1. Transition times are set using the Scenes Transition Times plugin. This plugin allows quick comparisons VISUALLY for different time settings for each scene.

      2. Exported jpeg images using Export smooth Animation and assign all to one folder - CHECK number sequencing to maintain "number width" (refer note above).

      3. Using VirtualDub:
        http://www.virtualdub.org/

        1.File>open video file
        select files of type - image sequence >select first file > open
        Files are imported and images should display in VirtualDub window.

        1. Video > compress (compress file size)

        2. File > save as AVI ( compressed AVI)

          1. Video Completed.
      1 Reply Last reply Reply Quote 0
      • S Offline
        Stray
        last edited by

        I made a small change to Whaat's code so it pads the filenumbers with leading zeroes, I hope you don't mind.

        Just change this line (line 107):

        @image_path=File.join(@export_path,@filename+"#{@frame}"+".#{@format.downcase}")
        

        to this:

        @image_path=File.join(@export_path,@filename+"#{@frame.to_s.rjust(10, '0')}"+".#{@format.downcase}")
        

        Thanks for the plugin Whaat! Best regards.


        A very slightly modified version of Whaat's Smoothstep Animation script that pads the output filenames with zeroes for better sorting.

        1 Reply Last reply Reply Quote 0
        • D Offline
          driven
          last edited by

          Hi

          I've been trying this out and had two very different results re: output quality (they're both up on youtube, link to one here...
          http://www.youtube.com/watch?v=YMRfjRsIQ7g&layer_token=9015d6617d71c051

          the first was made was made manually from 12 layers containing 12 instances (re-named) at 15º of rotation, made using xformclone.rb (fantastic...)

          I tranfered this at (640x480 12 fps jpg >1) into iStopmotion so I could remove the 6-8 dead frames between each layer swop, I also batch cropped, and did a half speed test by dropping more frames, I'm very happy with the results...

          the 2nd was a linear motion test with a single incident component (but much hire poly-count), on only one layer. Steps were achieved using mover.rb and tying the object to and the green axis with the rotate tool, scroll wheel clicks were used for spacing... the movement look acceptable on screen but SU frose when transferring at the previous settings... I turned the frame rate up... and then down... crashed SU... I removed xformclone and standard views just in case, sill frose during transfer, I then stripped out the clip, used your default settings and finally got a set out..

          Each try did output jpgs, all of equally bad quality, any thoughts?

          I tend to think that more organised layering(with sub folders) will always give a better quality result, if you take out the lag or play to it.
          I haven't tried out putting with proper_animation.rb yet as I needed to get my head around the basic functionality of using scenes first.

          Anyway I was very impressed with output quality on the first one and for any mac user iStopMotion and iMovie make post-production and posting to YouTube a breeze..

          cheers
          john


          16KB


          12KB

          learn from the mistakes of others, you may not live long enough to make them all yourself...

          1 Reply Last reply Reply Quote 0
          • R Offline
            rickymon
            last edited by

            Hey guyz

            I know this is an old thread, but just for you to know...

            Was looking for a plugin to animate objects, and I found Properanimation.rb by morisdov
            This is a very cool plugin but did not have any way to export, native SU export engine did not support it. There are hughe threads about this issue, other people was considering to make screencapture videos, or get fancy external render engines.

            But guess what...?

            Smoothstep Animation not only exports smooth camera scenes, it also recognizes all Properanimation.rb animations.....!!!!

            So if you are looking for a cool tool to animate objects, try both plugins
            Properanimation.rb + SmoothstepAnim.rb

            Uploading utube
            http://www.youtube.com/watch?v=UL6tnTvphAE
            Done

            1 Reply Last reply Reply Quote 0
            • jcdbJ Offline
              jcdb
              last edited by

              Created with Smoothstep Animation

              http://www.acustombuilder.com

              1 Reply Last reply Reply Quote 0
              • romboutR Offline
                rombout
                last edited by

                @rickymon said:

                Hey guyz

                I know this is an old thread, but just for you to know...

                Was looking for a plugin to animate objects, and I found Properanimation.rb by morisdov
                This is a very cool plugin but did not have any way to export, native SU export engine did not support it. There are hughe threads about this issue, other people was considering to make screencapture videos, or get fancy external render engines.

                But guess what...?

                Smoothstep Animation not only exports smooth camera scenes, it also recognizes all Properanimation.rb animations.....!!!!

                So if you are looking for a cool tool to animate objects, try both plugins
                Properanimation.rb + SmoothstepAnim.rb

                Uploading utube
                http://www.youtube.com/watch?v=UL6tnTvphAE
                Done

                but how did you get to export all geometry, cause i thought he said i could only export images???

                1 Reply Last reply Reply Quote 0
                • R Offline
                  rickymon
                  last edited by

                  @rombout said:

                  @rickymon said:

                  Hey guyz

                  I know this is an old thread, but just for you to know...

                  Was looking for a plugin to animate objects, and I found Properanimation.rb by morisdov
                  This is a very cool plugin but did not have any way to export, native SU export engine did not support it. There are hughe threads about this issue, other people was considering to make screencapture videos, or get fancy external render engines.

                  But guess what...?

                  Smoothstep Animation not only exports smooth camera scenes, it also recognizes all Properanimation.rb animations.....!!!!

                  So if you are looking for a cool tool to animate objects, try both plugins
                  Properanimation.rb + SmoothstepAnim.rb

                  Uploading utube
                  http://www.youtube.com/watch?v=UL6tnTvphAE
                  Done

                  but how did you get to export all geometry, cause i thought he said i could only export images???

                  U can make a video out of a sequence of images, twhat I didnt knew is that both plugins were compatibles. So u dont need any fancy external engine to export smooth transitions and object animation. Unless u wanna go photorealistic. }

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

                    Hi

                    I made as well some small change to the script, I hope you don't mind.

                    Added support of saving the Export Property's to the Model.

                    If you cancel the export dialog or the save dialog the script stops instantly.

                    And reduced the filenumber padding to 6 numbers.

                    And my first Animation with Properanimation + SmoothstepAnim http://www.youtube.com/watch?v=agCUtjEJssM


                    smoothStepAnim.rb

                    1 Reply Last reply Reply Quote 0
                    • dereiD Offline
                      derei
                      last edited by

                      Is it a similar plugin to this one http://forums.sketchucation.com/viewtopic.php?f=323&t=33417 ?

                      DESIGNER AND ARTIST [DEREI.UK](http://derei.uk/l)

                      1 Reply Last reply Reply Quote 0
                      • V Offline
                        vidy
                        last edited by

                        thanks jackson 😉

                        still so much to learn..

                        1 Reply Last reply Reply Quote 0
                        • R Offline
                          rickymon
                          last edited by

                          @jakson said:

                          Hi

                          I made as well some small change to the script, I hope you don't mind.

                          Added support of saving the Export Property's to the Model.

                          If you cancel the export dialog or the save dialog the script stops instantly.

                          And reduced the filenumber padding to 6 numbers.

                          And my first Animation with Properanimation + SmoothstepAnim http://www.youtube.com/watch?v=agCUtjEJssM

                          Thanks Jackson, I wish I can learn to do those scripts too
                          uploaded another test...

                          take care

                          1 Reply Last reply Reply Quote 0
                          • L Offline
                            luciano.au
                            last edited by

                            GREAT!!!
                            Best plugin ever!!
                            Solved all my problems.

                            Congratulations!!!

                            1 Reply Last reply Reply Quote 0
                            • D Offline
                              DesignChest
                              last edited by

                              Hi

                              Great plug in . . . one thing. I am wandering what the best program is to stitch together the images for a mac. Imovie is driving me crazy and keeps zooming in and out of each individual frame. Any tips?


                              http://img823.imageshack.us/img823/2785/953499.png

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

                                Quicktime all the way. It works fast and does a very good job.

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

                                1 Reply Last reply Reply Quote 0
                                • B Offline
                                  BaffaloWing
                                  last edited by

                                  Thank you very much : )

                                  i think it very work 😄

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

                                    Wow, great!!!

                                    1 Reply Last reply Reply Quote 0
                                    • G Offline
                                      Grice
                                      last edited by

                                      Whaat, many many thanks for this and the person who replied to my post solving my little artifact problem that the programmers appeared not to be interested in fixing. Great script!

                                      1 Reply Last reply Reply Quote 0
                                      • F Offline
                                        FS
                                        last edited by

                                        how to install on mac..?

                                        1 Reply Last reply Reply Quote 0
                                        • D Offline
                                          driven
                                          last edited by

                                          @fs said:

                                          how to install on mac..?

                                          same as any .rb files & theres lots of info on this forum.
                                          download from the first post in this thread, move to 'plugins' folder
                                          if it's hidden you can paste this into 'Ruby Console' under 'Window' menu in Sketchup

                                          `open "/Library/Application Support/Google SketchUp 8/SketchUp/Plugins"`
                                          

                                          , then hit return/enter
                                          drag the ruby in and restart SU.
                                          john

                                          learn from the mistakes of others, you may not live long enough to make them all yourself...

                                          1 Reply Last reply Reply Quote 0
                                          • G Offline
                                            Gadgetguru
                                            last edited by

                                            thanks for the brilliant plugin!!

                                            using Proper Animation, Smoothstep & Adobe Lightroom and getting an excellent video
                                            is there any chance of adding support for exporting TIFF files?

                                            thanks 😄

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

                                            Advertisement