ArrayArrayArrayArrayArrayArrayArrayArrayArrayArray BrainModular BrainModular Users Forum 2009-05-26T00:16:42+02:00 https://brainmodular.com/forums/app.php/feed/topic/1588 2009-05-26T00:16:42+02:00 2009-05-26T00:16:42+02:00 https://brainmodular.com/forums/viewtopic.php?t=1588&p=9047#p9047 <![CDATA[how to activate an object only if it is in a specific area of my table]]> if I can quite understand I started a little :D

Statistics: Posted by marcelvincent — 26 May 2009, 00:16


]]>
2009-05-25T23:45:41+02:00 2009-05-25T23:45:41+02:00 https://brainmodular.com/forums/viewtopic.php?t=1588&p=9046#p9046 <![CDATA[how to activate an object only if it is in a specific area of my table]]> which only works if the marker is in this area and there have no interaction if I move elsewhere on the table.
So I lock my property to change x in an area from 0 to 0,1. but for the Y it remains active across the table.

Statistics: Posted by marcelvincent — 25 May 2009, 23:45


]]>
2009-05-25T23:38:26+02:00 2009-05-25T23:38:26+02:00 https://brainmodular.com/forums/viewtopic.php?t=1588&p=9045#p9045 <![CDATA[how to activate an object only if it is in a specific area of my table]]>
http: / / marcelvincent47.free.fr/test.zip

It contains the patch make by olivier for retrieve the data and specially to choose the id of the marker is placed on the table.
It works very well. I hope to make it evolve to share in the additions.

It also contains the table simulator that allows to test the displacement of markers on the table virtually.

That way we can analyze their data.

As against it must be factory modified version to work correctly with the protocol TUIO. It is here.

http://www.sensomusic.com/forums/viewtopic.php?id=1581

To receive messages osc must listen to port 3333.

Normally with that you can easily simulate my situation to better understand the problem.

If you can help me it's great!

Image

Statistics: Posted by marcelvincent — 25 May 2009, 23:38


]]>
2009-05-25T23:09:40+02:00 2009-05-25T23:09:40+02:00 https://brainmodular.com/forums/viewtopic.php?t=1588&p=9043#p9043 <![CDATA[how to activate an object only if it is in a specific area of my table]]>
Let's say your basic area is x 0-100 (horizontal axis, 0 is left side) y 0-100 (vertical axis 0 is bottom),

If you want to create a sub area x 75-100 y 0-25 (a square 25x25 in the bottom right corner)

just use 75<x<100 and 0<y<25 in conjuction with pass and stop event flow to make sure your object is only active in the specific area.

Then do x->Mapper Curves (min in set to 75, max in set to 100, curve set to linear, min out set to 0, max out to 100).
y->Mapper Curves (min in set to 0, max in set to 25, curve set to linear, min out set to 0, max out to 100).
maybe some smoother modules to avoid "step jumps" after the mapper curve.

this way you get a "virtual" area of x1 0-100, y1 0-100 in the bottom right corner of your table.

Hope it can help, but actually I'm not really sure I've really understood your problem.

Regards,

B.

Statistics: Posted by bmoussay — 25 May 2009, 23:09


]]>
2009-05-25T22:46:15+02:00 2009-05-25T22:46:15+02:00 https://brainmodular.com/forums/viewtopic.php?t=1588&p=9041#p9041 <![CDATA[how to activate an object only if it is in a specific area of my table]]> Statistics: Posted by bsork — 25 May 2009, 22:46


]]>
2009-05-25T20:45:23+02:00 2009-05-25T20:45:23+02:00 https://brainmodular.com/forums/viewtopic.php?t=1588&p=9037#p9037 <![CDATA[how to activate an object only if it is in a specific area of my table]]> Statistics: Posted by marcelvincent — 25 May 2009, 20:45


]]>
2009-05-25T20:35:31+02:00 2009-05-25T20:35:31+02:00 https://brainmodular.com/forums/viewtopic.php?t=1588&p=9036#p9036 <![CDATA[how to activate an object only if it is in a specific area of my table]]> Statistics: Posted by marcelvincent — 25 May 2009, 20:35


]]>
2009-05-25T20:23:49+02:00 2009-05-25T20:23:49+02:00 https://brainmodular.com/forums/viewtopic.php?t=1588&p=9035#p9035 <![CDATA[how to activate an object only if it is in a specific area of my table]]> Statistics: Posted by marcelvincent — 25 May 2009, 20:23


]]>
2009-05-25T20:09:35+02:00 2009-05-25T20:09:35+02:00 https://brainmodular.com/forums/viewtopic.php?t=1588&p=9034#p9034 <![CDATA[how to activate an object only if it is in a specific area of my table]]> Statistics: Posted by 23fx23 — 25 May 2009, 20:09


]]>
2009-05-25T19:58:11+02:00 2009-05-25T19:58:11+02:00 https://brainmodular.com/forums/viewtopic.php?t=1588&p=9033#p9033 <![CDATA[how to activate an object only if it is in a specific area of my table]]>
Olivier helped me by providing me a module to retrieve the X and Y coordinates of the markers on the surface of the table.

I filter my well to maximum and minimum values with mathematical operations.

So far so good...

Now I'd like to understand how to activate an object only if it is in a specific area of the table.

But I can not!

Maybe this is impossible given that some information provided by TUIO are not recovered in plant.

For exemple i can't show the "set object" and "kill object" infomation...

Anyway this is what I concluded.

can someone confirm that ? or someone can give me a solution?

Statistics: Posted by marcelvincent — 25 May 2009, 19:58


]]>
BrainModular BrainModular Users Forum 2009-05-26T00:16:42+02:00 https://brainmodular.com/forums/app.php/feed/topic/1588 2009-05-26T00:16:42+02:00 2009-05-26T00:16:42+02:00 https://brainmodular.com/forums/viewtopic.php?t=1588&p=9047#p9047 <![CDATA[how to activate an object only if it is in a specific area of my table]]> if I can quite understand I started a little :D

Statistics: Posted by marcelvincent — 26 May 2009, 00:16


]]>
2009-05-25T23:45:41+02:00 2009-05-25T23:45:41+02:00 https://brainmodular.com/forums/viewtopic.php?t=1588&p=9046#p9046 <![CDATA[how to activate an object only if it is in a specific area of my table]]> which only works if the marker is in this area and there have no interaction if I move elsewhere on the table.
So I lock my property to change x in an area from 0 to 0,1. but for the Y it remains active across the table.

Statistics: Posted by marcelvincent — 25 May 2009, 23:45


]]>
2009-05-25T23:38:26+02:00 2009-05-25T23:38:26+02:00 https://brainmodular.com/forums/viewtopic.php?t=1588&p=9045#p9045 <![CDATA[how to activate an object only if it is in a specific area of my table]]>
http: / / marcelvincent47.free.fr/test.zip

It contains the patch make by olivier for retrieve the data and specially to choose the id of the marker is placed on the table.
It works very well. I hope to make it evolve to share in the additions.

It also contains the table simulator that allows to test the displacement of markers on the table virtually.

That way we can analyze their data.

As against it must be factory modified version to work correctly with the protocol TUIO. It is here.

http://www.sensomusic.com/forums/viewtopic.php?id=1581

To receive messages osc must listen to port 3333.

Normally with that you can easily simulate my situation to better understand the problem.

If you can help me it's great!

Image

Statistics: Posted by marcelvincent — 25 May 2009, 23:38


]]>
2009-05-25T23:09:40+02:00 2009-05-25T23:09:40+02:00 https://brainmodular.com/forums/viewtopic.php?t=1588&p=9043#p9043 <![CDATA[how to activate an object only if it is in a specific area of my table]]>
Let's say your basic area is x 0-100 (horizontal axis, 0 is left side) y 0-100 (vertical axis 0 is bottom),

If you want to create a sub area x 75-100 y 0-25 (a square 25x25 in the bottom right corner)

just use 75<x<100 and 0<y<25 in conjuction with pass and stop event flow to make sure your object is only active in the specific area.

Then do x->Mapper Curves (min in set to 75, max in set to 100, curve set to linear, min out set to 0, max out to 100).
y->Mapper Curves (min in set to 0, max in set to 25, curve set to linear, min out set to 0, max out to 100).
maybe some smoother modules to avoid "step jumps" after the mapper curve.

this way you get a "virtual" area of x1 0-100, y1 0-100 in the bottom right corner of your table.

Hope it can help, but actually I'm not really sure I've really understood your problem.

Regards,

B.

Statistics: Posted by bmoussay — 25 May 2009, 23:09


]]>
2009-05-25T22:46:15+02:00 2009-05-25T22:46:15+02:00 https://brainmodular.com/forums/viewtopic.php?t=1588&p=9041#p9041 <![CDATA[how to activate an object only if it is in a specific area of my table]]> Statistics: Posted by bsork — 25 May 2009, 22:46


]]>
2009-05-25T20:45:23+02:00 2009-05-25T20:45:23+02:00 https://brainmodular.com/forums/viewtopic.php?t=1588&p=9037#p9037 <![CDATA[how to activate an object only if it is in a specific area of my table]]> Statistics: Posted by marcelvincent — 25 May 2009, 20:45


]]>
2009-05-25T20:35:31+02:00 2009-05-25T20:35:31+02:00 https://brainmodular.com/forums/viewtopic.php?t=1588&p=9036#p9036 <![CDATA[how to activate an object only if it is in a specific area of my table]]> Statistics: Posted by marcelvincent — 25 May 2009, 20:35


]]>
2009-05-25T20:23:49+02:00 2009-05-25T20:23:49+02:00 https://brainmodular.com/forums/viewtopic.php?t=1588&p=9035#p9035 <![CDATA[how to activate an object only if it is in a specific area of my table]]> Statistics: Posted by marcelvincent — 25 May 2009, 20:23


]]>
2009-05-25T20:09:35+02:00 2009-05-25T20:09:35+02:00 https://brainmodular.com/forums/viewtopic.php?t=1588&p=9034#p9034 <![CDATA[how to activate an object only if it is in a specific area of my table]]> Statistics: Posted by 23fx23 — 25 May 2009, 20:09


]]>
2009-05-25T19:58:11+02:00 2009-05-25T19:58:11+02:00 https://brainmodular.com/forums/viewtopic.php?t=1588&p=9033#p9033 <![CDATA[how to activate an object only if it is in a specific area of my table]]>
Olivier helped me by providing me a module to retrieve the X and Y coordinates of the markers on the surface of the table.

I filter my well to maximum and minimum values with mathematical operations.

So far so good...

Now I'd like to understand how to activate an object only if it is in a specific area of the table.

But I can not!

Maybe this is impossible given that some information provided by TUIO are not recovered in plant.

For exemple i can't show the "set object" and "kill object" infomation...

Anyway this is what I concluded.

can someone confirm that ? or someone can give me a solution?

Statistics: Posted by marcelvincent — 25 May 2009, 19:58


]]>