I am currently constructing a sophisticated ui in flash, to be driven by vvvv fiducial tracking data, and running in two vvvv flash renderers.
I’m quite new to vvvv and used to develop in AS, and I think I’m just somewhat confused by the way the FiducialTracker node outputs the results and the way the renderer expects the data input.
Is there an elegant way to (ahem) simply pass all fiducial ids found along with their properties (x,y,orientation) to the flash renderers? Normally in AS i would use something like an array, maybe someone could point me to an appropriate patching approach.
thanks for your quick reply. in fact vvvv makes it very easy to “moderate” all the different components of the setup - camera, 2 projectors, tracking, and flash UIs. Sure it would be possible to do it without, but the integration of all those elements into vvvv is very helpful.
Once I have the values in Flash I won’t have a problem anymore, it’s just that I don’t know yet the best way to pass the data from the FiducalTracker Node to the Renderer (Flash) node.
I understand the tracker outputs 4 different values, and the renderer expects one with variable names, and one with values … how to do the conversion (without limiting the number of tracked IDs) ?
I managed to pass the data to flash (patch attached), but there is one remaining issue:
when a fiducial id is removed and so not longer tracked, flash still holds the last variable value for that fiducial. is there a way to overwrite the corresponding variable with 0 or null or something once an id is no longer tracked?
I wasn’t yet able to figure it out using the IOBox of vvvv…
I’ve done a similar thing sending data to flash but only with the colorTracker freeframe plugin. The colorTracker plugin gives out a 0 count for the blobs when nothing is being tracked. So in flash I watch this varible every frame and when it equals 0 I know the blob has dissapeared. When it => 0 I know we are active again.