I want to include my texture image files into my collada file. Now I have many files: the .dae itself and the .png texture files.
However I want only one file: the .dae, but with the textures included into it.
Could I somehow store the .png images in the .dae file itself? Is it possible? Thank you in advance!
A COLLADA file can store a diverse range of content, including images, textures, and 3D models. But the format's biggest selling point is its compatibility across multiple platforms.
Collada can be extended with tool specific data (profiles). Blender has its own (unofficial) profile that allows to export rig information into the Collada file.
Despite what the previous answer says, it is perfectly possible to embed images within the COLLADA file itself. Under the <init_from>
element you'll find that you can either specify a filename using a <ref>
element, or alternatively, you can specify <hex format="PNG">
under which you can specify the image data as a sequence of hexadecimal-encoded binary octets. This is somewhat less storage-efficient than including the image file within a .zae archive (which is really a .zip file with a different extension and a special metadata file), however, because of the hexadecimal encoding.
I know that this question is several months old but I had to correct the previous answer.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With