move models in three dimensions with jit.gl.node

Nov 13, 2013 at 12:03am

move models in three dimensions with jit.gl.node

Hello!
I need some helps. Is it ok to post my question?
So, I want to animate models bundled with jit.gl.node object.
I watched openGL tutorial in cycling74.
here’s link : http://cycling74.com/wiki/index.php?title=00_Getting_Started_with_openGL
and I’m trying to repeat this but It’s not working.
and when I use message box, It only makes models move horizontally. but i want to move models in three dimensions.
What should I do?
I added my patch files in photo.

#271051
Nov 13, 2013 at 3:31am

patch this into your jit.gl.model.
float float float
into pak 0. 0. 0.
message box with the arguments $1 $2 $3
then prepend position

You can use this same method with rotate, color, etc..

#271062
Nov 13, 2013 at 3:47am

My bad. Don’t use the message box, just plug it straight into prepend.

#271065
Nov 13, 2013 at 6:11am

Thanks It’s working.

#271078

You must be logged in to reply to this topic.