Free-D Protocol, how to use it?

Hi everyone,

I am currently looking how to use Free-D protocol in Touchdesigner in aim to use coordinates from a real camera.

I founded this informations about XML integration :

[code]<?xml version="1.0" encoding="utf-8"?>
<viz_xml_tracking title=“xml_freed”>

 <checksum pkglen="29"
                      calculation="1">
 </checksum>
 <extraction count="9">
   <axis name="rotx" start="5" len="3" order="bigendian" value="INT32" calc="/ 32768"></axis> 
   <axis name="roty" start="2" len="3" order="bigendian" value="INT32" calc="/ 32768"></axis>
   <axis name="rotz" start="8" len="3" order="bigendian" value="INT32" calc="/ 32768"></axis>
   <axis name="posx" start="11" len="3" order="bigendian" value="INT32" calc="/ 640"></axis>
   <axis name="posy" start="14" len="3" order="bigendian" value="INT32" calc="/ 640"></axis>
   <axis name="posz" start="17" len="3" order="bigendian" value="INT32" calc="/ 640"></axis
   <axis name="zoom"  start="20" len="3" order="bigendian" value="INT32" calc="- 524288"></axis>  
           
   <axis name="focus" start="23" len="3" order="bigendian" value="INT32" calc="- 524288"></axis>                                                                                                                                                             

                <!--example for not define axis ?
    <axis name="iris" calc="!"></axis>
 </extraction>

</viz_xml_tracking>[/code]

Source : [url]http://docs.vizrt.com/tracking-hub-guide/1.0/description_of_the_freed_protocol.html[/url]

My question is how to use this XML code in Touchdesigner to get X, Y, Z axis and rotate coordinates? Is it a WEB DAT node needed to use it?

Any help will be welcome !

Thanks :wink:

Hi Julien.

If you append an XML DAT, and set Output , Show parameter to: ‘Attributes Per Column’
you’ll get a more usable table with all the values extracted.
From there you can use a Select DAT to extract columns you need.
Not familiar with the exact protocol, but that might help you get started.

Cheers,
Rob.

Hello everyone
May is possible to know if there is any possibilities to implement this protocol ?
It seems is one of the most used tracking with broadcast camera.
Is there chance ?
Thanks a lot