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

    Camera Simulation with MSPhysics

    Scheduled Pinned Locked Moved Plugins
    15 Posts 4 Posters 9.6k Views 4 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.
    • F Offline
      faust07
      last edited by

      Example 3 of the camera motion simulation: linear camera motion -
      controlled via a "Slider Controller" in the "MSphysics Control Panel".

      Add a "Piston" joint at a position you like to start the linear movement of the camera.
      Place the camera object at the desired camera start position (near the Piston joint).

      Delete the Motor joint or disconnect it from the camera object if it still exists.
      Connect the Piston joint to the camera object with the MSPhysics "Joint Connection Tool":

      • click on the "Joint Connection Tool" in the MSP Toolbars
      • select the Piston joint with the green arrow
      • press the "+" key and add the camera object to the selection ("-" key to disconnect a joint).

      In the attached file the Piston joint moving the camera is already equipped with a Slider Controller.
      Now it is possible to control the linear movement of the camera during the simulation with the slider.

      Record, Play and Export with MSPhysics Replay functions if you want.


      MSP-Tut_CamLinFix_Slider_P3.skp


      MSP-Tut_CamLinearFix_01.jpg

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

        Example 4 of the camera motion simulation could be the basis for path bound camera flights.
        Again controlled with a "Slider Controller" in the "MSphysics Control Panel".

        Add a CurvyPiston joint at a position you like to start the flight of the camera.
        Place the camera object at the desired camera start position (near the Piston joint).

        Connect camera and joint as described in the posts above.

        Everything is prepared in the attached file.
        The CurvyPiston joint moving the camera is already equipped with a Slider Controller.
        Have fun trying it out!


        MSP-Tut_CamCurvyPiston_P4.skp


        MSP-Tut_CamCurvyPiston_01.jpg

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

          Example 5: Camera and target movement.
          Different movement paths are defined for the camera and the target object.
          The speeds of the camera is again controlled with Slider Controller.
          You can test it with the attached file.


          MSP-Tut_CamCurvyP_MovingT_P5.skp


          MSP-Tut-CamCurvyP_MovingT_02.gif


          MSP-Tut_CamCurvyMovedOject_01.jpg

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

            Example 6: Camera and target on the same line - fly through animation.
            The same movement paths is defined for the camera and the target object.
            The speed of the camera is controlled with Slider Controller.
            The target speed is automatically the same.
            You can test it with the attached file again.


            MSP-Tut_Cam&Target_on_CurvyPiston_P6.skp


            MSP-Tut_Cam&Target_on_CurvyPiston_01.jpg

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

              And last but not least, the camera can also be controlled via the entry in the scene description "camera follow 'entity name'" and "camera track 'entity name'". Just as it was possible in SketchyPhysics. In these scenes, the camera will automatically track the corresponding named object.

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

                And, in case you haven't discovered it yet: MSPhysics has an improved Scenes animation compared to SketchUp and also an excellent keyboard navigation, which is in no way inferior to the camera simulation of first person shooters and has some good setting possibilities.
                You can find the activation and settings directly in the MSPhysics User Interface (UI). It couldn't be easier...
                The next post will be a bit more exciting. I think I'll make suggestions for simulating camera and target movements. But I think anyone who has followed the exercises so far can do it on their own.
                One possibility is to place the target point on the existing camera curve, another is to define a separate movement or movement curve for the target object.
                The speeds of the camera and target objects can also be controlled via scripts or keyboard input.
                I hope there is some interest in it....

                1 Reply Last reply Reply Quote 0
                • soloS Offline
                  solo
                  last edited by

                  If only I knew this was possible a week ago, would have saved me a ton of time and grey hairs. Awesome

                  http://www.solos-art.com

                  If you see a toilet in your dreams do not use it.

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

                    Yes, and there are a few more things you can do with MSP scripts...


                    F-Town_SUp-MSP_02.gif

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      Ahmed0007
                      last edited by

                      thanks for sharing
                      i can use your scripts ?

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

                        Yes of course. Please post improvements.

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

                          Hello,
                          Do you know if there is a way to make the camera follow a group, if say the group was a car that was steered by the arrow keys.

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

                            For that purpose you can find very good scripts in models of István Nagy in 3D Warehouse:
                            MSPhysics 1.0.1: Follow- and fix camera script
                            MSPhysics 1.0.1: Car with particle effect

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

                              MSPhysics for SketchUp 2022
                              I tried to get the MSPhysics camera models from 2017 to work with the MSPhysics plugin modified for newer SketchUp versions (see GitHub). This was partially successful.
                              The camera, target point, and objects can be moved along curves...
                              This could be useful for model simulations, flyovers, etc.

                              TopView-0004.gif
                              CamView-0004.gif
                              CamViewW-0007.gif

                              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