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

    Which rubies for better camera movement in animations?

    Scheduled Pinned Locked Moved Developers' Forum
    30 Posts 12 Posters 5.4k Views 12 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.
    • O Offline
      otb designworks
      last edited by

      @whaat said:

      @unknownuser said:

      you can smooth the timing of transitions over an entire animation sequence;

      Can you clarify this? Does this allow 'ease-in' and 'ease-out' of scene tabs?

      I was thinking about writing such a plugin last night. However, I'm too busy right now.

      I don't think it could allow "ease in" and "ease out", if by this you mean that it starts the transition slowly and then speeds up after a set amount of time and visa versa at the end of scene. That would be a great script, though!

      I don't know what it does under the hood, but it allows the user to set a motion speed and then applies this across all of the scenes. I have used this to even out the movement of a car along a path, first ensuring that all of my line segments are the same length.

      I am sure that Rick could dial you in with the specifics.

      Cheers, Chuck

      OTB Designworks is on Youtube

      6 core nMP, 32 gig RAM, (2) D700 GPU's, dual monitors

      1 Reply Last reply Reply Quote 0
      • K Offline
        kwistenbiebel
        last edited by

        'Ease in' and 'ease out' actually is something that is easily done on a still image in your compositing software (premiere etc..) . But indeed easier to have straight in your Su animation.

        Some other things like speed fluctuations can also be done in Adobe After effects with a graph editor ( x-axis=time; y-axis=speed).
        However it can be cool to have it in SU built in.

        What interests me the most is having a better way of making your camera move in a realistic way.
        As Kannonbal mentioned, the Bezier technique is quite difficult to master. (Rhino users complain about the Bezier method in their app)

        So my suggestion for a camera ruby would be : use it as it works now (setting up some views that get transitions automatically), but enhance it with options to regulate the transitions = a menu with camera 'effects' to choose from.

        So for the transition between two scenes you would get to choose options.
        For instance: keep target at specific height,fixed camera height, wiggle camera as if you are walking, from slow to rapid and back, etc.....

        It needs some investigation (cfr. camera motion filters in Adobe after effects ?) which parameters to provide....but I would love a plugin like that.

        The thing that bothers me the most in the default transitions in SU, is that sometimes the camera will move under the ground plane, or fly through geometry...
        I don't know if there's a way to overcome this by setting options...

        Another thing would be having a solution for the 'hickups' between the transitions.
        A Sketchup animation is not smooth. You can see the different transitions as the animation produces a sudden shock when a new one starts. So some 'global' settings could fix that.
        Actually that would be similar to what Solo mentioned.

        Maybe some of the dinosaur package users on the forum could fill us in on how walk through animation is done for instance in C4D....as that seems to be a popular animation tool. Keyframing would be an option, but maybe that is very complicated to code.

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

          @whaat said:

          @unknownuser said:

          you can smooth the timing of transitions over an entire animation sequence;

          Can you clarify this? Does this allow 'ease-in' and 'ease-out' of scene tabs?

          I was thinking about writing such a plugin last night. However, I'm too busy right now.

          SketchUp have linear interpolation which means the camera have the same speed leaving last scene/keyframe as it has coming to the next. Ease in ease out is slowing in and accelerating and would give the user much more control over camera speed. Lets say you want to give the viewer time to watch some detail you could slow in when the camera came close to it.

          @unknownuser said:

          The thing that bothers me the most in the default transitions in SU, is that sometimes the camera will move under the ground plane, or fly through geometry...
          I don't know if there's a way to overcome this by setting options...

          Another thing would be having a solution for the 'hickups' between the transitions.
          A Sketchup animation is not smooth. You can see the different transitions as the animation produces a sudden shock when a new one starts. So some 'global' settings could fix that.
          Actually that would be similar to what Solo mentioned.

          SketchUps camera is a "two node camera" meaning it has a position for the actual camera and another position for the focus point. While this can be good at some occations it makes it harder to animate a flythrough. A "one node camera" has position and rotation which makes it easier to animate since it doesnt fly away out of course so easily like you describe.

          I've posted an idea for a script before that I belive would help making better animations.
          I'm not able to make this myself since it would need some webdialogs programming that is beyond my knowledge. The other stuff is not so hard to make I think.
          http://www.sketchucation.com/forums/scf/viewtopic.php?f=180&t=8547&p=51051&hilit=pixero#p51051
          I've made a script called js_CameraControl.rb (Here: http://www.pixero.com) for positioning the camera more like a one node camera as a small start for this.

          I really, really would love to see someone (Whaat maybe) take a look at this. 😉

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

            Kannonball referenced the set of plugins available in PresentationBundle2.

            FlightPath(2) doesn't speed up or slow down at the beginning/end of the path, though it woudn't be hard to add. SketchUp does do some of that if there is a page delay (I think).

            The SceneTiming plugin allows changes to the transition and delay times of scenes.

            The PageTransitionSmoother (needs to be renamed, it came from the days when "Scenes" were called "Pages") will get a user-defined speed and calculate a scene's transition time based on the speed and the distance between scene cameras. Useful if you have set up your scenes manually, and want a constant motion speed between them. It will NOT automatically make all the transitions between scenes "cinematic", it just provides even speed between scene cameras - you need to do due diligence in creating the scenes. 😄

            I'm working on (among other things) some improvements for FP2 to better the radial motion effects.

            RickW
            [www.smustard.com](http://www.smustard.com)

            1 Reply Last reply Reply Quote 0
            • K Offline
              kwistenbiebel
              last edited by

              Rick,
              Would it be possible to show some example animations made with the current flightpath2 (presentation bundle)? Maybe a youtube?
              It would make me understand better what it can do.

              1 Reply Last reply Reply Quote 0
              • plot-parisP Offline
                plot-paris
                last edited by

                I think with all these add ons for SketchUp it is very important to keep the interface as simple (and close to the native SU interface) as possible.

                some sort of slider bars would be a nice idea.

                http://img356.imageshack.us/img356/2315/animationtransitionsmj1.jpg

                I would prefer, if you are able to adjust the interpolation of camera movement and the transition of traveling speed independently (to do fast accelerations in some points). another slider to choose a specific time for each scene would come in handy too (perhaps a check box like "keep traveling speed" could change the scene time automatically, to match the traveling speed with the previous scene, if you wish a continuous flight).

                one could even consider to have an additional slider bar for the transition of camera focus (so that the camera either does one fluent movement or keeps its focus on one point and then quickly pans to the next point of focus).

                in order to have advanced control of the camera focus it would be very nice to be able to add a scene in-between two others, which is placed halfway on the interpolated camera path (and with halfway interpolated orientation). thus you could simply change your focus point and update the scene, without changing the camera movement at all...

                1 Reply Last reply Reply Quote 0
                • M Offline
                  Matt666
                  last edited by

                  Good idea Plot-Paris !
                  +1

                  Frenglish at its best !
                  My scripts

                  1 Reply Last reply Reply Quote 0
                  • jujuJ Offline
                    juju
                    last edited by

                    +1. An interface like that would rock!

                    Save the Earth, it's the only planet with chocolate.

                    1 Reply Last reply Reply Quote 0
                    • O Offline
                      otb designworks
                      last edited by

                      +1 on the stellar interface suggestion! That would be fantastic.

                      Cheers, Chuck

                      OTB Designworks is on Youtube

                      6 core nMP, 32 gig RAM, (2) D700 GPU's, dual monitors

                      1 Reply Last reply Reply Quote 0
                      • FrederikF Offline
                        Frederik
                        last edited by

                        +1 😉

                        Cheers
                        Kim Frederik

                        1 Reply Last reply Reply Quote 0
                        • K Offline
                          kwistenbiebel
                          last edited by

                          yeah, something like that 😄

                          Also, to have a more defined speed control, one could implement a speed graph (curve).
                          That way, the transition between 2 scenes could for instance start slow, gradually increase in speed and end slow (sinusoidal curve). Each speed variation could be setup as a different curve (horizontal line is continuous speed, curve going up is increase of speed, etc...)

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

                            I disagree.
                            Not that I don't want the functionality in SketchUp, but doing a animation editor in just a small panel is bad in several ways. First that would mean it would have to be coded by Google when ever they deside to do it. Secondly it would be impractical with such a small panel for lets say a animation between 15-20 scenes or more. The sliders would be on top of each other.

                            I've simplified the image I previously posted a link to just to explain if someone didn't understand what I meant with it.

                            http://www.pixero.com/bilder/pics/timelineeditor_mini.jpg

                            The timeline would be extended dynamicly when changing the animation lenght value.
                            This means you will always have enough space to see all the keys even if they are on each frame.

                            The black rectangles would be the same as the sliders in the post by Plot-Paris.
                            Draggable to the left and right to change the timing between scenes/keyframes.
                            The red rectangle shows the key you are currently editing. Adding new keys would be as simple as ctrl+clicking (Or something like that.)

                            Doing a animation control with Ruby and a web dialog means the community could start making it NOW instead of waiting for whenever Google desides they would like to do it. It would also mean it could be extended with new features so it could start simple and be enhanced with perhaps a spline curve to control speed. I believe also that is doable with a web dialog through java.

                            My two cents...

                            1 Reply Last reply Reply Quote 0
                            • K Offline
                              kwistenbiebel
                              last edited by

                              Ok that is nice to control speed.
                              But can it also do smoother camera motion and control the path?

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

                                @kwistenbiebel said:

                                But can it also do smoother camera motion and control the path?

                                Rick W's flightpath can do that in a limited way IMHO. Its not easily editable.
                                It would be better with editable spline curves that you can move around in the scene to change the path.
                                Maybe with a editor similar to my idea you could even add new spline knots (points) when new keys were created at the location specified in the position input boxes.

                                Just thinking loud here...

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

                                  Here is a quick mock up (basicly from Maya) of how a spline animation editor might look like for those who dont know.

                                  http://img117.imageshack.us/img117/6218/splineeditordv3.jpg

                                  And here is a link to a java web example:
                                  http://www.cs.brown.edu/exploratories/freeSoftware/repository/edu/brown/cs/exploratories/applets/bezierSplines/bezier_splines_java_browser.html

                                  Drag P1, P2, P3 and P4 to see that a editable splinecurve can be done in a web window/web dialog.

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

                                    Like I said, SketchUp's camera would need several curves, three for the camera position (x,y,z)and three for the focus points position.
                                    For flythroughs it would be much easier with a "one node" camera which only has one position and rotation. A 2 node and a 1 node camera is what all the big 3d apps like Maya and 3ds Max have.

                                    1 Reply Last reply Reply Quote 0
                                    • plot-parisP Offline
                                      plot-paris
                                      last edited by

                                      splines are a good idea, for they give a huge ammount of control.

                                      however, we have to bear in mind, that we are talking about SketchUp - the one 3D app with the easiest user-interface!

                                      I would very much prefer controls that are simple to use and seemlesly blend into the workflow of SU (like the wonderful SkIndigo plugin does - double clicking a material to get advanced settings for rendering...)

                                      so even if we used splines for camera movement/speed control, we have to think carefully about the way to implement them. SketchUp is a one window application (has only one stage, in which all the work is done). we should not go too far in another direction... 😕

                                      1 Reply Last reply Reply Quote 0
                                      • K Offline
                                        kwistenbiebel
                                        last edited by

                                        I agree Plot-Paris.
                                        An animation enhancement plugin should breath the simplicity of Sketchup.
                                        Also, an editable bezier curve as camera path seems an easy but effective method.

                                        1 Reply Last reply Reply Quote 0
                                        • JClementsJ Offline
                                          JClements
                                          last edited by

                                          I think interface shown above and the bezier curve for path are great ideas for controlling the sequencing and speed of the camera.

                                          I would like to suggest the other side of the coin, if you will, and that is the how the geometry could be animated/displayed in addtion to the camera. If it is possble I would like to see someway of animating geometry on the screen similar to what SKETCHY PHYSICS does, so the we wouldn't have to depend upon multiple copies of geometry at separate scenes; this would keep the file size down and I'd think it would make animation updating efficient. Make a path (it could be the same as the camera path or not), associate geometry and other transitioning atttributes to the path, assign the initiation of the animation to a scene tab (the scene tab could be assigned more than one object-path animation). Show/trigger the object animation by Shift-Clicking on a scene tab or use SU's View > Animation for the entire animation (with the addition of a pause button).

                                          John | Illustrator | Beaverton, Oregon

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

                                            John,

                                            Object animation is an ongoing request and dream for users and scripters alike. You could start a new thread about this.

                                            RickW
                                            [www.smustard.com](http://www.smustard.com)

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

                                            Advertisement