Re: jit.gl.picker for jit.gl.multiple?


Forums > Jitter > jit.gl.picker for jit.gl.multiple?
May 8, 2012 | 2:14 pm

hi!
so first i am generating the objects positions to fit the whole field of view, using tg(field of view)*depth for maximum x val. than i am converting the real radius and position of the spheres to that what we see from camera view and chech if mouse is over. i dont know how to explain it clearly, abu i am attaching some images, that will show, what i am meaning.

now everything works more or less ok, but my problem is that i want to animate the positions matrix first, and have the opportunity to grab the object and drag it to the other position, and i am stuck..
i hope, that images, and my patch will illustrate my thought clearly :)

– Pasted Max Patch, click to expand. –

[attachment=193266,3840] [attachment=193266,3841] [attachment=193266,3842] [attachment=193266,3843] [attachment=193266,3844] [attachment=193266,3845]