• Login
sketchucation logo sketchucation
  • Login
🤑 30% Off | Artisan 2 on sale until April 30th Buy Now

Animator: Parametric Animation plugin - Discussion

Scheduled Pinned Locked Moved Plugins
223 Posts 55 Posters 74.1k Views
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.
  • F Offline
    fredo6
    last edited by 2 Nov 2017, 10:49

    Hi Tom,

    Just published Animator 1.8a and LibFredo6 7.9a, which should improve the situation regarding large models.

    Thanks to advise if this is better for your model.

    Fredo

    1 Reply Last reply Reply Quote 0
    • T Offline
      TDahl
      last edited by 2 Nov 2017, 23:45

      Hi Fredo, I upgraded to the new Animator 1.8a - WOW a huge improvement in performance! Thank you very much for making the enhancement, and providing it so soon. A complex model (about 2x the content of the model I linked in a prior reply) that previously required four or five seconds to update the viewport any time I dragged or clicked the cursor in the timeline, now allows moderately smooth dragging of the cursor in the timeline - nice, very usable! When playing the animation of that model within the extension it renders faster by a factor of 10x frames per second (from one frame per four seconds, improved to three or so frames per second with v1.8a).

      I still have some slight trouble creating a rotation motion within the sample model I linked in a prior reply, I cannot seem to use the mouse to establish the rotation sweep angle. But I can get it to work by clicking on the rotation point, and then using the properties dialog box to enter a numeric value for the rotation (which I could not get to work with v1.7d). Also, the screen updating when selecting the object to be animated, and the ability to orbit and pan around the model while in that mode, is MUCH improved. Thank you again!

      • Tom
      1 Reply Last reply Reply Quote 0
      • F Offline
        fredo6
        last edited by 3 Nov 2017, 11:34

        Tom,

        Glad it improved the performance for you.

        I am interested in the 'complex' model too, as I'll start a second round of performance improvements. This is helpful for me to find out what is relevant to animator itself versus the native Sketchup performance.

        Fredo

        1 Reply Last reply Reply Quote 0
        • T Offline
          TDahl
          last edited by 3 Nov 2017, 23:33

          I uploaded a more complete version of my work-in-progress model to DropBox.
          - Tom

          1 Reply Last reply Reply Quote 0
          • T Offline
            TDahl
            last edited by 4 Nov 2017, 17:30

            I've encountered an Animator problem (in v1.8a) that I encountered once or twice with v1.7d, where the editor and player become mostly unresponsive. In editor mode, clicking or dragging in the timeline has no effect other than to update the digital time text in the upper GUI area (the red timeline cursor does not move, no changes occur in the SketchUp viewport corresponding to camera or object movements); trying to render an animation causes the red frame rectangle to appear in the SketchUp viewport but the animation settings dialog box (for setting frame rate, selecting video formats, etc. plus the button to start the rendering) does not appear; clicking the green Play button seems to do nothing (no movement of blue cursor in timeline, nothing happening in the SketchUp viewport) other than toggle the button to become the Pause button (and clicking the Pause button reverts it back to the green Play button, but again has no effect on the timeline or viewport).

            Here is a file that is exhibiting this behavior for me.

            Through some experimentation, I found that if I disable the animation of object movements (but leave other actions enabled, in particular camera movements), then both the timeline behaves normally, and the render-animation mode displays the expected settings dialog box. If I disable camera movements but enable everything else, it still behaves badly (the timeline is mostly dead, the render-animation mode does not display the settings dialog box, the Play button does not do much).

            When I encountered this a couple of weeks ago with v1.7d I'm not sure what I eventually did to get past the behavior. I might have simply resorted to a previously saved copy of the SketchUp file and then re-created what I wanted (and somehow managed to avoid the behavior until today).

            If I open an older SketchUp file, Animator's GUI behaves normally - so it's not something that has somehow globally broken Animator. It seems to be something in the data of a particular SketchUp file. I have unintentionally triggered the behavior by opening an old version of the above linked file (which was behaving OK at the point I opened it), and then fiddling around in Animator - change some camera start/duration settings for example. BAM this opened file has begun exhibiting the broken behavior. Sigh.

            1 Reply Last reply Reply Quote 0
            • T Offline
              TDahl
              last edited by 4 Nov 2017, 21:28

              Aha! That makes sense. Thank you very much Fredo for diagnosing my model's problem! Before seeing your fast reply I was experimenting further and noticed that when hovering the mouse over three of the rotation animations in the timeline, the entire Animator GUI temporarily disappears. I could click in empty space (in the SketchUp viewport) and the chosen rotation would be selected and the GUI would reappear. I could then delete the rotation. After deleting the three rotations with this odd GUI behavior, the rest of Animator started working as expected. For all three of those rotations, I had used a temporary piece of geometry to be able to select the pivot point easily. Then I later deleted those "temp" objects. I did not correlate the beginning of the strange behavior with my having deleted those three rotation-pivot key objects.

              Lesson learned, thank you. I will simply hide those pivot objects in the future.

              • Tom
              1 Reply Last reply Reply Quote 0
              • F Offline
                fredo6
                last edited by 4 Nov 2017, 22:44

                @tdahl said:

                I still have some slight trouble creating a rotation motion within the sample model I linked in a prior reply, I cannot seem to use the mouse to establish the rotation sweep angle. But I can get it to work by clicking on the rotation point, and then using the properties dialog box to enter a numeric value for the rotation (which I could not get to work with v1.7d).

                I tried on my side and I did not observe particular problem of performance. Maybe I did not choose the right object? (note: I also added a few movements in a random manner, so that why the final playback looks disorganized)

                Animator Rotation Viking Lander.gif

                Animator Rotation Viking Lander.mov

                1 Reply Last reply Reply Quote 0
                • F Offline
                  fredo6
                  last edited by 4 Nov 2017, 23:18

                  @tdahl said:

                  I uploaded a more complete version of my work-in-progress model to DropBox.
                  - Tom

                  Wooh, big file, 136 Mb and superb model, really!!

                  I tried to include a rotation in the model, and did not have major issue of performance.

                  Note that I must have a much smaller screen than you have, which explains why the camera seems to be offset.

                  Fredo

                  Animator Viking Lander complex2.gif

                  Animator Viking Lander complex.mov

                  1 Reply Last reply Reply Quote 0
                  • F Offline
                    fredo6
                    last edited by 5 Nov 2017, 11:00

                    @tdahl said:

                    I've encountered an Animator problem (in v1.8a) that I encountered once or twice with v1.7d, where the editor and player become mostly unresponsive.

                    There is a problem with one of the Rotation movement, called SSAA Azimuth, which apparently references a pivot component which has disappeared.

                    Viking Lander SSAA Rotation.png

                    This causes the error, blocking the whole animation of objects. If you open the Ruby console, you can see the errors.

                    I would suggest you remove it from the animation, using the Maintenance dialog box (as it is uneasy to select the clip element in the timeline). Then you can recreate this rotation.

                    I have fixed the errors in the code for a next release.

                    One limitation in Animator is that groups and components referenced by the animation must not be deleted. Otherwise, you get this type of behavior.
                    Animator already tracks this for the main objects to move (Clip element will appear in red), but here it is the reference pivot object, and I did not cover the case yet.

                    Fredo

                    EDIT: I made the changes to ensure that this type of error is detected. The faulty sequences will appear in Red (with a tooltip giving the error) and will be ignored
                    This will go in the next release

                    Viking Lander SSA Rotation trap error.png

                    1 Reply Last reply Reply Quote 0
                    • T Offline
                      TDahl
                      last edited by 5 Nov 2017, 21:34

                      Fredo, thank you for conducting further experiments with my model files. The remaining performance issue I saw and reported with v1.8a seems to have been a transient condition, because creating animation steps has been OK for the past day or so. Sorry for the false-alarm report. By the way, I also learned how to hide the Animator GUI while playing an animation in Edit mode and have happily discovered that playback performance is great with that approach.

                      Thanks for the compliment on my work-in-progress model. It represents about 1,500 hours or so of time in SketchUp and Photoshop (to do photo scaling and interpolated measurement using a collection of some 3,500 detail photographs I've taken of actual Viking hardware during the past few years). In 2016 I created a making-of video that describes my process. I'm currently using Animator (and also hope to use MSPhysics) to create another video demonstration of the model.
                      https://youtu.be/1vyzoWudom8

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        TDahl
                        last edited by 5 Nov 2017, 22:07

                        What approaches do people suggest for configuring a camera path that orbits around and closes in on a subject, with the goal to have a smooth motion throughout the path (while keeping the camera pointed where desired)?

                        I have been using SketchUp scenes to define discrete camera positions, and creating Animator camera objects in the timeline for each scene. I have a hard time avoiding a bounce when the camera reaches each discrete scene key position. The three Animator camera path choices (circular, linear, bezier) all yield bounces unless the straight-line path between camera positions is naturally somewhat linear (which defeats the goal of orbiting around a subject, perhaps dipping above or below). The circular and bezier choices sometimes yield wildly crazy intermediate pointing and pathing (compared to SketchUp's native scene-to-scene camera motion), so I tend to use the linear choice in Animator.

                        Perhaps I could create a curve (welded out of line segments, curves, etc.) using SketchUp tools, and then constrain the camera to that geometric path? I seem to recall that is possible, but I don't know how camera pointing is defined with that approach.

                        1 Reply Last reply Reply Quote 0
                        • F Offline
                          fredo6
                          last edited by 6 Nov 2017, 20:08

                          @tdahl said:

                          Aha! That makes sense. Thank you very much Fredo for diagnosing my model's problem! Before seeing your fast reply I was experimenting further and noticed that when hovering the mouse over three of the rotation animations in the timeline, the entire Animator GUI temporarily disappears. I could click in empty space (in the SketchUp viewport) and the chosen rotation would be selected and the GUI would reappear. I could then delete the rotation. After deleting the three rotations with this odd GUI behavior, the rest of Animator started working as expected. For all three of those rotations, I had used a temporary piece of geometry to be able to select the pivot point easily. Then I later deleted those "temp" objects. I did not correlate the beginning of the strange behavior with my having deleted those three rotation-pivot key objects.

                          Lesson learned, thank you. I will simply hide those pivot objects in the future.

                          • Tom

                          Maybe you can use a construction point on the component / group that serve the pivot.
                          Also, when you select the rotation pivot, right click to show the contextual menu. Then you can choose the right object, or the absolute coordinates for pivot. I'll try to make this more user friendly in a next release, but this is today the way you can select the pivot reference.

                          Fredo

                          1 Reply Last reply Reply Quote 0
                          • F Offline
                            fredo6
                            last edited by 19 Nov 2017, 11:35

                            @tdahl said:

                            The circular and bezier choices sometimes yield wildly crazy intermediate pointing and pathing (compared to SketchUp's native scene-to-scene camera motion), so I tend to use the linear choice in Animator.

                            I have modified the algorithm for circular interpolation in Animator 1.8b (along with LibFredo6 8.0b).

                            Still not the native Sketchup scene transition algorithm, but I hope a smoother transition.

                            Fredo

                            1 Reply Last reply Reply Quote 0
                            • T Offline
                              TDahl
                              last edited by 22 Nov 2017, 14:40

                              @unknownuser said:

                              I have modified the algorithm for circular interpolation in Animator 1.8b (along with LibFredo6 8.0b).

                              Still not the native Sketchup scene transition algorithm, but I hope a smoother transition.

                              Fredo, thank you very much! I just upgraded to 1.8b and the circular camera paths are definitely better to my taste. I have been working on a sequence with multiple camera positions (see below) where the prior circular pathing was a bit too crazy for a number of the transitions. With this new version I was able to set them to circular and achieve a nicer result. Fantastic improvement, thank you again.
                              - Tom

                              1 Reply Last reply Reply Quote 0
                              • F Offline
                                fredo6
                                last edited by 23 Nov 2017, 17:03

                                Tom,

                                Quite impressive, first the model itself and the animation for the mountng.

                                For the animation, did you proceed by unmounting from an assembled model (and then running the video backward), or the contrary?

                                Fredo

                                1 Reply Last reply Reply Quote 0
                                • T Offline
                                  TDahl
                                  last edited by 24 Nov 2017, 01:10

                                  Hi Fredo, as you suspected the animation was done by disassembling an intact model and then running the animation in reverse. A very handy feature of Animator to be able to do that!

                                  • Tom
                                  1 Reply Last reply Reply Quote 0
                                  • ntxdaveN Offline
                                    ntxdave
                                    last edited by 27 Nov 2017, 17:59

                                    Very impressive Tom.......

                                    1 Reply Last reply Reply Quote 0
                                    • R Offline
                                      ruudvanderham
                                      last edited by 13 Dec 2017, 11:31

                                      I am completely new to Sketchup, but it seems that Animator might be a good starting point for what I would like to realize.
                                      I have discrete event simultion of a container terminal written in Python (with my salabim tool). There I can do 2D animations. My idea is to interface either the code or a file with actions (crane moves, spreader, lowers, container is placed, ...) with Sketchup.
                                      Is there any possibility of interfacing Animator with 'the outside world', preferably with an API, but a file is also acceptable. Does that involve Ruby programming.

                                      Any advise is welcome.

                                      1 Reply Last reply Reply Quote 0
                                      • F Offline
                                        fredo6
                                        last edited by 13 Dec 2017, 12:31

                                        @ruudvanderham said:

                                        I have discrete event simultion of a container terminal written in Python (with my salabim tool). There I can do 2D animations. My idea is to interface either the code or a file with actions (crane moves, spreader, lowers, container is placed, ...) with Sketchup.
                                        Is there any possibility of interfacing Animator with 'the outside world', preferably with an API, but a file is also acceptable. Does that involve Ruby programming.

                                        Animator is designed to generate videos of animation based on parameterization of object and camera movement.
                                        If the simulation aspect is more important for you, then I would suggest that you have a look at MSPhysics, which is more a Physical engine, which can also generate videos. I think it has some kind of script programming.

                                        Fredo

                                        1 Reply Last reply Reply Quote 0
                                        • R Offline
                                          ruudvanderham
                                          last edited by 13 Dec 2017, 15:46

                                          @Fredo
                                          Thanks for the response.
                                          Maybe just a little bit more explanation: All I want to do is animate the output of a simulation. This output might look like:
                                          t0=100 t1=110 object=crane1 x0=10 x1=300
                                          t0=100 t1=120 object=crane2 x0=20 x1=200
                                          t0=110 t1=200 object=spreader1 z0=100 z1=10
                                          t0=120 t1=130 object=container191 location=(10,20,40)
                                          Just to give an example.
                                          Would there be any way to interpret that kind of info (format totally discussable) and animate it with Animator/Sketchup?

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 7
                                          • 8
                                          • 9
                                          • 10
                                          • 11
                                          • 12
                                          • 9 / 12
                                          • First post
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement