Jump to content

GDTF Forum

Recommended Posts

Posted

Extracting resource files directly from GDTF

Sometimes it may be useful to extract some data like gobo images, 3D models, or other files directly from the GDTF file. This is possible, because every GDTF file is a zip archive with .gdtf extension. To access the content of GDTF, rename the file from .gdtf to .zip and then open as any other zip archive.

When you unpack the .gdtf file, this is what you can typically see:

image.thumb.png.04979dc8a15b9ca7a570fea2c6b01d7f.png

The description.xml file contains the description of the device type. There is a lot of information in this file and it requires deeper understanding of the GDTF Specification to utilize it:

image.thumb.png.3e406aa098b14c6ddbe32e5106350654.png

The thumbnail.png provides an image of the product:

image.png.76b4f68a1bb7e8d52828c164a127d9e3.png

The thumbnail.svg is providing a 2D symbol for planning tools:

 image.png.72f22932593d30a32d8efd5042d26891.png

As these are normal .png and .svg files, they can be copied and used directly in any supportive application as needed.

The wheels folder contains all the images for gobos, animation wheels and so on:

image.thumb.png.27b0138bc0d7b9acc53416d7a8fee582.png

The naming of the files is up to the GDTF creator, while the details of the image are as far as format, resolution, color conventions and so on.

The models folder contains subfolders for 3D and 2D models, for a better structural overview:

    ./models/3ds
    ./models/gltf
    ./models/svg

The existence of these folders is optional and depends on presence of files specific to these folders. If the GDTF file does not contain any .3ds files, then the folder ./models/3ds will typically not exist. If the GDTF files contains 3D models in gltf format, then they will be in folder  ./models/gltf, the content of the folder then may look like this:

image.png.ed67e2019ee5cb18ef612a0a4f2b23b9.png

These .glb files can be used in applications utilizing 3D files. The positioning and offsets of these 3D files has been previously explained in several other RKS articles and is also defined in the GDTF Specification, together with more information on the possibility to define also 2D models, 3D models in higher or lower level of details and so on.

For the most time, extracting 3D models and gobo images in what is needed. For the examples above, we used the the Robe Robin LedPOINTE, which is available in the GDTF Share here.

Hope this helps, Petr

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.