(WIP) Finger tracking

Open Source software contributions and discussions that supplement or extend the Palette / Light Palette software
Post Reply
tom
Posts: 224
Joined: Thu Jun 26, 2008 5:30 am
Location: The Netherlands

(WIP) Finger tracking

Post by tom » Fri Jan 02, 2009 12:49 pm

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.
Attachments
app and spf.rar
(37.21 KiB) Downloaded 60 times
Last edited by tom on Sat Jan 03, 2009 2:27 pm, edited 2 times in total.
Light palette : classic
Nederlands Dans Theater.

"Come forth and thy shalt win eternal happiness", but he came fifth, so he won an electric toaster.

MattKlasmeier
Posts: 491
Joined: Tue Oct 23, 2007 1:41 pm
Location: Cincinnati, OH
Contact:

Re: (WIP) Finger tracking

Post by MattKlasmeier » Fri Jan 02, 2009 3:44 pm

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.

tom
Posts: 224
Joined: Thu Jun 26, 2008 5:30 am
Location: The Netherlands

Re: (WIP) Finger tracking

Post by tom » Fri Jan 02, 2009 5:01 pm

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.
Light palette : classic
Nederlands Dans Theater.

"Come forth and thy shalt win eternal happiness", but he came fifth, so he won an electric toaster.

User avatar
AlanMartello
Posts: 500
Joined: Thu Oct 11, 2007 9:00 pm
Primary Venue / Use: Other
Where I Am: Pittsburgh, Pennsylvania USA
Location: Pittsburgh, Pennsylvania

Re: (WIP) Finger tracking

Post by AlanMartello » Sat Jan 03, 2009 1:32 pm

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.
Alan Martello, Ph.D. - System Architect - Horizon Control Inc.

tom
Posts: 224
Joined: Thu Jun 26, 2008 5:30 am
Location: The Netherlands

Re: (WIP) Finger tracking

Post by tom » Sat Jan 03, 2009 2:01 pm

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?)
Light palette : classic
Nederlands Dans Theater.

"Come forth and thy shalt win eternal happiness", but he came fifth, so he won an electric toaster.

User avatar
BrianEvans
Posts: 700
Joined: Fri Oct 12, 2007 1:11 pm
Location: Orlando, Florida

Re: (WIP) Finger tracking

Post by BrianEvans » Sat Jan 03, 2009 2:02 pm

All Attribute Fade commands are in the abstract value.
Degrees
RPM
Hz
etc.
Brian Evans - System Specialist - Horizon Control Inc.

tom
Posts: 224
Joined: Thu Jun 26, 2008 5:30 am
Location: The Netherlands

Re: (WIP) Finger tracking

Post by tom » Sat Jan 03, 2009 2:26 pm

Well, that made life much easier.
Attachments
track square 0.2.rar
(8.37 KiB) Downloaded 62 times
Light palette : classic
Nederlands Dans Theater.

"Come forth and thy shalt win eternal happiness", but he came fifth, so he won an electric toaster.

tom
Posts: 224
Joined: Thu Jun 26, 2008 5:30 am
Location: The Netherlands

Re: (WIP) Finger tracking

Post by tom » Sat Jan 03, 2009 3:05 pm

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 1236 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.
Light palette : classic
Nederlands Dans Theater.

"Come forth and thy shalt win eternal happiness", but he came fifth, so he won an electric toaster.

Post Reply