Jit.gl.model problem

Nov 9, 2011 at 10:29pm

Jit.gl.model problem

Hi everybody !!!! I have a patch where I use the jit.gl.model object. My goal is to move the Seymour example not just by walking but maybe anything that


----------begin_max5_patcher----------
4494.3oc6cs0aqibj94S.x+ABi.jcArU5q7x9zrIHODffLKTPxKYGXPI01lw
RjZHoN93Dr+229Fsor4kVTcQoYv3CNRhroDq9qqtt0UW7e+q+Ue4lUEeSTcS
v+Uv+H3Ke4eKOyWzmScluzbhubytzusdaZk9BuYcwtch75at01Xs3a05F9SA
ujlWGTWDrq3qhfMYO7fnTnNySY4OJeUjGjVUWVrp3U4kt8Y0YyxC18Zv9z50
OcavCEkAhukta+Vg5xCpdp3v1MhxEK9eye69sMKWrt3Pt9lxZNa9gcY4aE0Z
ZD2b1GJxqyS2Izz2+cYV51aZ8EJNT27MPMmNai9ZKV8OuiFdS6empr+k92AS
V71UqoaY239Rw5ZCLhC4b4EDvvIp2vbj5sH44B9A825+6W+qTuKe6Vmw7bwK
RJ5yP9+LqdQZd1tE4EaD23IrfzAVPd6ZMWX8q6El96M2bq7+A+vTfJFmtHhe
a.mPzfjFwHnyBpdXagr6by621RYetVTduHOc0VwQC1..TXLuenRRao0J7ZUZ
9iSDyH5KHfGq4qLbWmIj0G20uK.iPcyUQNYvB2IXw5GrxTyvmBDQnL1BIWUX
LVANzne5yUEFCJSEgEqkYEx3dio5BiXLDvHFIw2HVeSCOjuOc8yAOn9mujwS
6BxHN.Ye3CSbBZDUCd3XsJRJ1CnmClkr9I43szvjBQUP8KxiKJJ2jkmVKOVZ
GhxhichppT40HuYpSUIT7s0h.I5sRTFnMWJ3+nHWnsUQ8M9VPZ9lf1m40+y4
2VEFcJ1pP3LCWLQOdfiiMGAy.weQ7Rv9BoXc4qUY0YE4ZnqpNs9P0MPBNrtA
GzHSwoFMsbigbLrAifAb9ez.SV9Fw2.EJ3SCJB0cdtQWJO1CHgYFka5GV835
hsEkFhAsHNT9Wzsc9IrhnZ9dR3KamTITa36jAUIU27iD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8loc5Cu3vLZ9gYrKDVbx7SXH2jLgmeJyMB
a9EL4xDlK.cE6Dfkvm8AxXmzkGyleDKxkgRNd9ILmLWfmbsRXe.WcvpLDRm5
RTa8TEapJB5CgSaQrSlXL+tL4jo7y+fuZOZLNcEQtLD1nyiileQxQN4Udz7K
fIxIyQtDHlSpJlcxJzI4dgQyttUMggchvvyOgQbhvHyKgccJymm3rl0qQBiE
exAhwpxmYq5nLbzaGBmJed7U5vuaB9t.C+WqyWXWolHycxJI976sC2Ic974W
mOG4ogxOJgghzkmt3PaMvxrOf+vgL6SrtFwQbPCPE2ofGL+SyYNIWjMticfP
XihXrvqUDa98FReKG2xq3KCgM9PI5xPXNr3oyuLamTxQOYauvHrovcFxVDIe
OIL98CgS3GMwScGuSXNY8EkN+D1UZDpzPAcz3GPuLD13ij3KCgMpTYR7kgvF
2jj4mtHWor9XWvK57qEi5jYzj42iH5U5B4QR.R6JIVuV2LS5mZUtxN94pBHc
FL.cFJCaH+ni5LQf2YH.zYXVm7l8QFJDcFS0WmQQKHuaDm4P.6NQvZSJijz1
lTyg.1cbJ9Vj42ibBGHbFStH3L4J01ehSgEiL+FZfcR8DY9i7A9JMF53qzPU
i4vJwjJmP2RAf4P3lIicJnDWfLMGSuRG+cSz27SWtwXRvW.JicstcFzOxVcX
k5t.hkQb2bzJ7zWpVRR6bluIYsfMm40OpkAp+XkTNy8GJT8G0S.rKP+g3q9i
+IMmLpKY9SpYGorOgsyBng7jjsd1wETSYp9M1S0gtwdp1wbx29+Af5saW
-----------end_max5_patcher-----------

#59926
Nov 10, 2011 at 6:02pm

hi benoit-1842.
take a look at the patch below, which shows how to bind an internal model-node to an external jit.anim.node, allowing you to control the model node via the anim.node.

it also utilizes a anim.drive object to map mouse movements to animation messages.

please let me know if you have any questions on any of this.

– Pasted Max Patch, click to expand. –
#215771
Nov 10, 2011 at 6:48pm

Thanx a lot for your nice example…. Thumbs up…… My ultimate goal is to not use the mouse but a kinect who controls the 3d animation… I am using the civ.jit objects right now but is it the good way or you have a little trick out of your sleeve to make me progress in my project…

#215772
Nov 11, 2011 at 2:50pm

Is it possible to move multiple nodes on an animation… For example on the same 3d object if I want to move the head and the knee….

Thanx a lot

#215773

You must be logged in to reply to this topic.