» webcam > VVVV > DMX > Moving Light
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

webcam > VVVV > DMX > Moving Light

question open project/idea legacy

henny 06/09/08 - 01:30

hi , i been thinking on this one for a while,

the idea is to use a cam to object track someone on stage and use this to control a moving head spotlight.

can any one give me any pointers, i think i can handle the object track bit to give me X & Y the Z will be a set value of the persons hight. i can do the dmx out bit.

I just need help with all the messy maths bit in the middle that will turn the XYZ of the target in to Pan/Tilt and possible iris to send on to the moving light.

cheers

ian

4 replies 0 new
This is a legacy thread which was closed after one year of inactivity. Information provided in this thread may not be valid for the latest version of vvvv. If you have questions on this topic, you might consider opening a new thread.

link | elliotwoods 06/09/2008 - 02:01

Hey Ian

We did something very similar with some Mac250's about a year ago using a bunch of sine's and cosine's back in Max/MSP
However, at that time i didn't know about vvvv and it's'polar' node.

The polar node will convert between your xyz and pan/tilt angles.

Thankfully the pan/tilt angles are linearly related to the dmx signal so you dont have to do any mad calculations to sort that out. It was simply a case of:

DMX value = current angle / total angle range

If you've got any queries then post them up/pm me

link | Westbam 06/09/2008 - 04:05

Well, since you know where person is (cams) and the movingheads are in fixed position, perhaps THIS POST can help you out :)

link | karistouf 06/09/2008 - 07:20

hi henny, do not forget to pass by Uncle Kalle's modules, especially the 16 bits one...

;-)

link | henny 06/09/2008 - 21:54

cheers for all of the help so far.

ive attached a tweaked version of west's sunonfloor

how can i tweek it so i can use real world units eg floor 10m x 10m , mirror 2 m forward of center at 5 m high ect ........

also how can i tweek the second render to give a pov of the mirror.

cheers

anonymous user login

Shoutbox

~1h ago

lasal: @remony: grey russian, PIN tonic, NODEjito ;)

~2h ago

knaif: does anyone know which visual studio libraries i need for running the oculus rift in vvvv?

~3h ago

remony: hello ppl, we are brainstorming @NODE15 drink names. Any ideas besides "Wrapped in Coke" and "PiNODE Grigio"?

~1d ago

joreg: @twobeass: seems closest: telnet

~2d ago

TwoBeAss: need a telnet connection... somebody already patched that ??

~2d ago

tekcor: Will be cohosting vvvvjs and emeshe workshops :) everybody make sure to go there its so _epic_ what will be presented in those both

~2d ago

catweasel: Ah, thought you were doing one at node, sorry! Love TessaltionDisplacement too :)

~2d ago

id144: NamDang: Try ApplyTransform and use all the transforms(* Trans.) that affect the pos. of the Quad. (Transform, View, Projection)

~2d ago

tekcor: Hi thanks. yeah sorry but that hex is minor you can use any texture :) it is not a node workshop btw!

~2d ago

catweasel: @Tekcor,good documentation, and before node! Must be a first!(missing Hex.tfx from contribs btw)