sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🫛 Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download

    3D Engine

    Scheduled Pinned Locked Moved Developers' Forum
    3 Posts 2 Posters 255 Views 2 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.
    • N Offline
      neonfish
      last edited by

      Hello

      Im a ruby beginner.And I am trying to animate something in a simple 3d engine which has a ruby binding available.So
      you can utilize some loaded models in the engine to move, blink etc.I ve managed to blink,to rotate and to move a
      loaded model.The scene you will see is basicaly a globe model with the texture of the sky on it in the middle is a ground model with a grass texture.There is a road juncion model and a car on the road.I m asking for help or litle guidance because Im stuck in this one.Basicaly I m trying to create a turning movement (method) for an object(car or anything else).{A very basic

      movement with no physics involved) .To be able to take a turn on a junction for example in any way.

      If I send you the

      basic engine and my scripts along with the models could you please help me with this? I am not or maybe the

      philosophy behind of the programming of this kind of a movement.AS I uderstand you are creating scripts in Ruby

      for Google Sketchup.So maybe you can help me in this.

      #####The files####

      You can run my basic script with the start.bat. The models and the configuration files are in DATA and DATA\Vila directory there is also the *rb fle which creates the whole scene.

      there is a simple blinking script and a simple movemetn script aslo a rotation script. But Im not able to do a

      movement along a curve.MAybe a bazier curve or something with that? hoping for help.

      ALL is the same one file just uploaded on more hosting servers.For your convinience.

      http://www.zshare.net/download/73810106b9303da5/
      http://www.megaupload.com/?d=G0ZVI4KU
      http://rapidshare.com/files/364471302/enginescriptmodels.zip.html
      http://depositfiles.com/files/3s62cdaka

      have a nice day

      NeoNF

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

        anybody tried it out yet?? please take a look on my scripts

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

          Take a look at my 3-minute movie to see SketchUp in its full-4D glory.

          Then use the code in my tutorial's Chapter 16 for classes that let you do all this without need for the APIs Transformation class.

          Author, Edges to Rubies - The Complete SketchUp Tutorial at http://www.MartinRinehart.com/models/tutorial.

          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