Print at Dec 18, 2025, 12:29:54 PM View all posts in this thread on one page
Posted by kongo09 at Feb 3, 2018, 5:29:13 PM
Texture is lost when importing a simple .dae COLLADA object from SketchUp
I created a very simple box shaped object in SketchUp and mapped a photo as texture to two sides. I colored the other sides. Then, I export the object using File->Export->3D Model as a .dae file. The option to include texture maps is checked.

When I now use the latest SH3D to import furniture, the object is loaded with the right dimensions, but without any texture.

Looking at the .dae file, I must admit that I don't see any reference to the texture in the XML content (without really understanding the file format).

What am I missing?

Posted by okh at Feb 4, 2018, 9:51:16 AM
Re: Texture is lost when importing a simple .dae COLLADA object from SketchUp
Most likely reason: When Sketchup saves a textured .dae file, it creates a subdirectory with the same name as the .dae file with the textures. The .dae file has relative links to the textures, so if the directory is no longer available--e.g. if the .dae file was moved--SH3D will not find the textures when the .dae file is imported. A texture link in a .dae file looks something like this.

ok


...
<library_images>
<image id="ID5">
<init_from>xxx/xxximagexxx.png</init_from>
...
...