Extract values to rotate the cube!!

Jun 22, 2010 at 8:37pm

Extract values to rotate the cube!!

I am making a cube with a texture video and want it to run on all sides with
computer vision! I’ve been researching and what better way to do it was arranged with the object cv.jitHSflow.It output a matrix of two pair up and down and one to the left and right (red and green values visually move left and right and yellow, and blue values up and down) Now I want to use these figures to rotate the cube and then use an object “line” to soften the rotações. My problem is that i can´t extract the king of values that can allow me to play whit the cube and to do what i want!! Can somebody help me whit this?
I send my patch attach:
Thanks

#51018
Jun 23, 2010 at 1:44am

I did some tests on something similar some time ago. this is what I came up with, with a lot of help form the forum.

You will have to change the jit.qt.grab back to jit.dx.grab since you seem to be on a windows machine…

– Pasted Max Patch, click to expand. –
#183047
Jun 23, 2010 at 2:26am

Hi!!
Thanks a lot !!
Can you please tell me how to use this patcher ,made whit text of letters and numbers?

#183048
Jun 23, 2010 at 5:20am

open a new max patcher and copy and paste(!)

#183049
Jun 24, 2010 at 1:22am

Hello!! MIB You are the greatest!! ; )

I just want to thank you for the help you gave me it was very important to me! I have been working hard but your patch was a gift to me. And even the cube can have difrent videos on their faces that was something that i wanted to do but didn´t know it was possible!
thanks very much
Tiago

#183050

You must be logged in to reply to this topic.