Including texture files in a collada file

I want to include texture files in a collada file. Now I have many files: the .dae and .png texture files themselves.

However, I need only one file: .dae, but with textures included in it.

Is there any way to save .png images in the .dae file itself? Is it possible? Thank you in advance!

+5
source share
2 answers

You cannot embed an image inside a .dae file. The way to do this is to collect them in a zip file. The path to the textures inside the COLLADA file should refer to the location of the .dae file in the archive.

.zae. COLLADA 1.5 spec . 20, :

DCC .zae, zip- .dae( COLLADA) (). manifest.xml, XML- <dae_root>. UTF8 URI, .dae. URI , .zae. <scene> .zae. , undefined.

URI .zae URI.

(zip, rar, kmz, zae). URI , .zae, .

:

./internal_archive.zip/directory/document.dae#element 

, URI, URI, :

file:///other_directory/other_document.dae#element
-2

, , COLLADA. <init_from> , <ref>, , , <hex format="PNG">, , , .zae( .zip ), , - .

, , .

+16

All Articles