Page 1 of 1

(WIP) Finger tracking

Posted: Fri Jan 02, 2009 12:49 pm
by tom
Heres a little app that allows you to track an actor/dancer whatever with your finger.

At least thats the theory. Theres still lots of flaws. Anyway :

In the rar you'll find the app and the spf file. Load up the files, then imagine the they dark grey square is a live video feed from above the stage and start tracing with your finger.

Look at the little mac and you'll see the pan and tilt reacting. There are 4 looks for you to define the area. Pan neg, pan positive and the same for tilt. Look for the finger_tracking looks page.

I've got no idea how this will react with a mover. But it's a start.

MAIN PROBLEM: for now
I cant make a look with only a pan value in it, it automatically throws in a 0 tilt value. Is there any way of just knocking out the tilt value? When i try a knockout as it is now it takes out the full position. I'd like to see pan and tilt as seperate attributes rather than grouping them together in position.

Re: (WIP) Finger tracking

Posted: Fri Jan 02, 2009 3:44 pm
by MattKlasmeier
Tom,

Much like colour, Pan and Tilt get stored as one value. You can not have one without the other. I don't believe that this is possible without some major reworking of the code. I wanted this function so I could create a sub with red, blue and green so I could use them to color mix but due to the fact that color gets stored as one value it was not possible.

Re: (WIP) Finger tracking

Posted: Fri Jan 02, 2009 5:01 pm
by tom
Hmm pity,
It seems that tilt knockout should'nt be that hard to do.

Anyway if that is the case a wrokaround to make this app realistic would be to patch the channels individually. Of course you would'nt want to do that with a entire rig but if you have two follow fixtures (to use in this sense) it would'nt be too complicated.

I smell a challenge :D

So how about it? Is it posible to seperate pan an tilt? And the colours? I do miss the .3 and .4 of the 500 series.

Re: (WIP) Finger tracking

Posted: Sat Jan 03, 2009 1:32 pm
by AlanMartello
Tom:

The reason Pan and Tilt are always locked together (changed, recorded, knocked out, etc.) is because you can get very strange and (potentially) undesirable effects on the console because (a) it's a tracking desk and (b) it can do linear fades (which by their nature, require both pan and tilt). The same (basically) holds for color mixing as well (this time, because you have color space).

The only time this typically comes up is when someone wants to put individual attributes (like pan, tilt, cyan, magenta, yellow, etc.) on individual sliders.

Regarding your application (which is cool), have you thought about using HC.AttributeFade? You could say
HC.AttributeFade(3,'Pan', 45)
and add an optional 4th argument which would be the fade time (if you don't want it to fade in zero).

It will still capture both Pan and Tilt (i.e. puts them on red delta), but you can just modify each one individually instead of using a look.

Does this help what you're doing at all? You could use looks, palettes, cues, etc. to define two corners of your area and use AttributeGetValue to get the pan and tilt values of the bounds if you want to limit the bounds. Using this method, you would be sending the actual Pan and Tilt value to the engine vs. sending a percentage look value. This would permit you to limit (in your UI) the pan/tilt range but also allow "ignore range" if you want as well.

Re: (WIP) Finger tracking

Posted: Sat Jan 03, 2009 2:01 pm
by tom
Cool,

Ill do it that way then.

"HC.AttributeFade(3,'Pan', 45)"

Does that break down to:
fixture 3 / pan attr / 45 degrees (or is it 45 dmx value?)

Re: (WIP) Finger tracking

Posted: Sat Jan 03, 2009 2:02 pm
by BrianEvans
All Attribute Fade commands are in the abstract value.
Degrees
RPM
Hz
etc.

Re: (WIP) Finger tracking

Posted: Sat Jan 03, 2009 2:26 pm
by tom
Well, that made life much easier.

Re: (WIP) Finger tracking

Posted: Sat Jan 03, 2009 3:05 pm
by tom
AlanMartello wrote: It will still capture both Pan and Tilt (i.e. puts them on red delta), but you can just modify each one individually instead of using a look.
This does'nt seem to be the case.
01.jpg
01.jpg (21.96 KiB) Viewed 2144 times
If i modify the app to only speak to the pan attr, it only puts a delta on the pan. Then when i throw that into a look i seem to have seperated pan and tilt.

I do hope that you'll leave it like that.