Forums > Jitter

jit.gl.nurbs mouse click rendered control points

March 2, 2014 | 7:57 pm

Here is a patch I got on here.

I found out that with the message (ctlshow 1) I could see the control points coming from matrix

Now it is obvious that each vertex is controllable with the setcell message , but would it be possible to mouse click directly on the cltshow blue point ?

I know there is screentoworld $1 <– message that sends the mouse coordinate out jit.window's right outlet . but I can't quite get it to work.

here is the patch. Any help would be greatly appreciated
thanks

<code>

– Pasted Max Patch, click to expand. –

</code>

 

phil


March 3, 2014 | 6:45 am

hi
maybe a method could be the use of physics :

<code>

– Pasted Max Patch, click to expand. –

</code>


March 3, 2014 | 10:58 am

Woah!! Thanks so much MatMat that was exactly one approach I had in mind but had no idea how to do it. I got the idea when I saw the versatility of jit.phys.picker in patches on this forum.

The other approach i was thinking is to draw a Matrix on a Matrix using jit.gl.sketch.
like so (patch @ bottom) <– a bit of a nightmare to still get the mouse coordinates when you're a noob like me, But I'm sure there is a simple way to get to it.

I found a post on here by Mj saying that he was simply using jit.matrix and jit.gl.texture.
here it is, it contains a nice demonstration picture.

http://bb-attachments.cycling74.com.s3.amazonaws.com/2578.mjmap.png

I believe he wrote a java code to imitate the photoshop pen tool
http://www.adobetutorialz.com/content_images/AdobePhotoshop/ART-D/tutorial199/5.jpg

but i really like the simple and straight-forward approach of the original patch I sent you that also incorporated the use of the jit.gl.cornerpin.

Anyways, I guess there several ways to do this and i’m sure it’s quite simple and straight forward when one masters the basics.

-Is your patch heavy on cpu and gpu if I duplicated for something like 12 vids?

Also, have you seen this one,
http://cycling74.com/project/meshwarpserver-a-new-3d-mapping-tool/

Seems Ace for quick mapping and mesh warping I quickly checked it out
but could not get it to work. Will look @ it again tonight.

Again I can’t thank you enough MatMat!!!.

-oh yes I almost forgot, Would you be willing to give me a few primer lessons over gchat or skype.
I could pay you via paypal. thanks for considering.

<code>

– Pasted Max Patch, click to expand. –

</code>


March 3, 2014 | 2:24 pm

the patch is not heavy because you can use jit.phys.multiple only for editing..
like in this patch

<>

thank you for your attention, but i’m not a teacher at all, and i speak english
like a french cat :)


March 3, 2014 | 5:12 pm

Avez vous reçu mon email de la part de philippehughes1@gmail.com
J’ai visité votre site web et j’ai découvert que vous étiez francophone.

Moi je suis de Montreal. J’aimerai bien t’envoyer tout ça en privé mais C74 on tristement suprimé cette possibilitée.

J’ai envoyé mon message à silicatproject@gmail.com, J’ai aussi découvert que vous étiez 2 dans ce projets. Alors, je ne sais pas si c’est toi qui prends les messages.

Peut importe ce qu’il arrive,(cours ou pas) fait moi signe pour savoir si tu l’as bien reçu et sinon je te l’envois à nouveau .

Merci mille fois encore :-) !!

phil


March 3, 2014 | 5:17 pm

woah ! je viens d’ouvrir ton patch, C’est trop malade. Merci tellement
J’en ai beaucoup à étudier, je ne savais pas qu’il éxistait
Nurbs01matrix.jit<– au font c'est la sauvegarde de matrice ??


Viewing 6 posts - 1 through 6 (of 6 total)