Page 3 of 4

Posted: Wed Oct 19, 2005 10:10
by bart
hmm i did not make that flash video thingy but i think it is made with flash 8 so you might have to upgrade your player on macromedia.com

[Edited on 19-10-2005 by bart]

Posted: Wed Oct 19, 2005 12:58
by levon
ah yep that was it, i installed flash 8 for IE for resolume, but not in firefox

woah.... i want one :D

Posted: Wed Oct 19, 2005 14:34
by Danger
bart, edwin....can we see screenshot's or something more tecnical showing us how it works ?

Posted: Thu Oct 20, 2005 10:03
by edwin
Hi,

Here is a screenshot of the tool we build for the todaysart project.
[image]
http://www.resolume.com/projects/todays ... rtTool.gif
[/image]

What we did is the following. I made a simple flash player wich is fed animations that are 7x7 pixels in size (or 70x70 and then scaled down easier when creating animations).

When playing i read the RGB values of each pixel and convert them to CMY values, because light fixtures work in CMY color space.

To be able to send these CMY value to the lights we use DMX and to send DMX from the computer to light equipment we use the Lanbox.
http://www.lanbox.com/
We used two lanboxes because we needed two universes (for who's interested).
The Lanbox is TCP/IP based so we send DMX broadcast DMX packages over ethernet. And the lanbox takes care of the rest. There are even Max pacthes for the Lanbox.

The lights we used are of the model 'Martin 600'. These light's can change their color as well as pan and tilt. It can do a whole lot more though, the strobe was cool to use.

So this was the standard setup, just read the pixels and feed them to the lights.
But we thought that i might be cool to control each or all fixtures through Actionscript. So i made a simple interface from flash to delphi (using fscommand) that made it possible to set specific functions of the different lamps or all lamps at the same time.
In that way you can match your animation with the movement of the lights. Or just send a strobe message and you have complete chaos.
In the interface you see a checkbox with wich you ignore the commands send by flash, this way i can control all fixtures through the interface without flash interfering.

So that's more or less it.
I hope it made sense.

Cheers
Edwin de Koning

Posted: Thu Oct 20, 2005 12:21
by mfo
Whow! Although there is a long chain of hard/software parts, that all data must handle, there is still a simple input-interface: flash.
Great work!

This makes it much easier to create content for than for the Blinking Lights project, where you had to use a paint program or to code in c++.
Thus your interface is much more intuitive and accessible for artists.

Is/Was there a way for people from outside to make films for this project?
I would like to create some content for a project like this one!
(And i'm sure many other people would also like.)

[Edited on 20-10-2005 by mfo]

Posted: Thu Oct 20, 2005 14:10
by Danger
from my programer side i just have to say one thing "simple and excelent" :)

Posted: Fri Oct 21, 2005 18:30
by Anonymous
I just wonder how you selected the pixel color in flash

You transformed the movie into a bitmap and got the color like this BitmapData.getPixel (x,y); ?

But i don't think you can transform complete movieclips into a bitmap, only an image...

Thx in advance

Posted: Sat Oct 22, 2005 09:17
by bart
the colour selection was not done by flash but by the little app that was playing the flash movie and sending the DMX signals.

Posted: Fri Oct 28, 2005 17:30
by Tiemooowh
i've been following this thread, but there's something i don't get...
I'm a C# / Java programmer..

I've read in another topic Resolume is a Delphi program, so I did some research, but according to my sources C#and Delphi are using the same dll to display flash...

How can it ever be possible to read out pixel colors with that dll?

Ciao!
Timo

Posted: Sun Oct 30, 2005 20:23
by edwin
we use the activex control and render each frame to a bitmap.
this way we can access the pixels.
the rest is top secret ;-)

cheers
edwin