3D Engine
-
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 basicmovement 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/3s62cdakahave a nice day
NeoNF
-
anybody tried it out yet?? please take a look on my scripts
-
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.
Advertisement