sketchucation logo sketchucation
    • Login
    โ„น๏ธ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    MSPhysics tests and questions

    Scheduled Pinned Locked Moved Plugins
    104 Posts 21 Posters 44.7k Views 21 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

      The left door now has the MSP Control Panel. However, it has a strange behaviour when it is slammed with it. Another question is why the Control Panel is unresponsive after some time?

      Ah, to set the constraint Type of the Servo to "Robust" solves one problem.
      Then, the door does not fly off the hinges. But the problems of the inactive panel and slide through the centre post remain.


      if you want to test it


      MSPh_DoorTest_06.gif

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

        Oh wow, wind and leaves, I would love that trick/option.

        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

          Need help to rewrite this SP script for a scene camera (Mr.K) in an MSP friendly version. This would facilitate the parallel control of camera and sliders.
          If this is possible at all. Thanks in advance. For the GIF illustration I have the leaves of MrWip modified a little.

          
          onUpdate {
          if frame==0
           @transition_time=90
           @pages=Sketchup.active_model.pages
           @cam=Sketchup.active_model.active_view.camera
           @page_num=@pages.count-1
           @cur_page=0
           @next_page=1
          end
          
          if frame>0
          per=frame%@transition_time
          if per==0
           @cur_page+=1
           @next_page+=1
           @cur_page=0 if(@cur_page>@page_num)
           @next_page=0 if(@next_page>@page_num)
          end
          per=per.to_f/@transition_time
          page_cam1=@pages[@cur_page].camera
          page_cam2=@pages[@next_page].camera
          
          p1=page_cam1.eye.to_a
          p2=page_cam2.eye.to_a
          eye=interp(p1,p2,per)
          p1=page_cam1.target.to_a
          p2=page_cam2.target.to_a
          tar=interp(p1,p2,per)
          p1=page_cam1.up.to_a
          p2=page_cam2.up.to_a
          up=interp(p1,p2,per)
          @cam.set(eye,tar,up)
          end
          
          if frame==0
          def interp(p1,p2,per2)
           p3=[]
           per1=1-per2
           (0..2).each{|index|
             p3[index]=p1[index]*per1+p2[index]*per2
           }
           return p3
          end
          end
          }
          
          

          MSPh_DoorTest_07.gif

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

            It's not a trick it's Physics... ๐Ÿ˜Ž
            Here two possible solutions to "wind machines" in MSP - pendulum and inclined plane ...
            Other variants could be aligned emitters, "leave-guns" or magnetism (which I have used in the door type a little).


            leaves of MrWip from parallel post


            MSPh_DoorTest_08-2.gif

            1 Reply Last reply Reply Quote 0
            • pilouP Offline
              pilou
              last edited by

              Tricky! ๐Ÿ˜Ž

              Frenchy Pilou
              Is beautiful that please without concept!
              My Little site :)

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

                I need help with a short camera script to transform from SP to MSP and to learn the differences. Thanks in advance.


                and so it should work - this sequence is made with SketchyPhysics


                scripts are in the CAM1-box


                MSPh_CameraFollow_01.skp

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

                  Idea for a game: "Orcano"
                  If anyone is interested, the model is attached.
                  Orca from the 3D Warehouse - reduced amount of data and optimized a little for MSP.
                  Inspiration and technique of control by AntonS models "wall&water" and "boat-car".
                  Control of Orca with arrow keys.
                  Kick the ball into the goal...


                  MSP_Orca05_03.gif


                  MSP_Orca05_04.gif


                  MSP_Orca_08k.avi


                  MSP_Orca_04.skp


                  shark is coming soon

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

                    Orcano - a little bit improved. It is now easier to hit the target. The Orca can jump.
                    If anyone can program a Score counter - please, it would be nice.
                    Waves there are not - too bad ... ๐Ÿ˜‰


                    Orca_TWL_18k.jpg


                    MSP_Orca07_01.gif


                    Orcano_02.skp

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

                      Progress with the path-controlled camera. Thanks to Anton_S and PituPhysics for the examples and the current MSPhysics models in the 3D Warehouse.


                      BirdyCam_03.gif


                      BirdyCam_01.gif

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

                        2 small GIFs from the first tests with Indigo RT. A fine thing would be if you could create abstracted objects of waves, water spray or foam where objects hit the water. This could be emitter objects that are released by a contact test with the Buoyancy Plane.


                        MSP_Orca08_03.gif


                        MSP_Orca08_04.gif

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

                          "Foam" test with the onTouch method. I have to keep working a little more...
                          Rendered with Indigo RT. Animals from 3D warehouse.


                          Foam_Test01.gif


                          Foam_Test02.gif

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

                            Test pictures of the evolving iceberg animation with fog and water splashes. Rendered with indigo RT for about 2 to 3 minutes per frame. Not to forget: TIG split tools.


                            MSPh_WaterSprayFog_39.jpg


                            MSPh_WaterSprayFog_40.jpg


                            MSPh_WaterSprayFog_41.jpg

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

                              Shark body contact - and a little bit of water splashes.
                              I slowly reach my desired results through MSPhysics and small improvements of my scripting capabilities...
                              It would be desirable to be able to start the simulation at a specific frame (MS Physics calculates the model until then in "the dark").
                              In addition it would be fine if we could save to Replay, export to the renderer and start rendering at the end of the simulation with default settings automatically (in the case of time consuming simulations).


                              pure SketchUp output


                              rendered with indigo(RT)

                              1 Reply Last reply Reply Quote 0
                              • Rich O BrienR Online
                                Rich O Brien Moderator
                                last edited by

                                These are amazing! Well done

                                Download the free D'oh Book for SketchUp ๐Ÿ“–

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

                                  Thanks Rich

                                  1 Reply Last reply Reply Quote 0
                                  • pilouP Offline
                                    pilou
                                    last edited by

                                    We are listening seagulls! ๐Ÿ˜Ž

                                    Frenchy Pilou
                                    Is beautiful that please without concept!
                                    My Little site :)

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

                                      Oh yes! Sound is the next step. No problem with MSPhysics...

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

                                        That's a fine piece of rendering, faust!

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

                                          Thanks, Anton! This is a great piece of plugin!

                                          1 Reply Last reply Reply Quote 0
                                          • N Offline
                                            nlipovac
                                            last edited by

                                            ๐Ÿ˜ฎ ๐Ÿ˜ฎ ๐Ÿ˜ฎ

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

                                            Advertisement