Wings 3D Development Forum
Non abslolute image path option with the collada exporter. - Printable Version

+- Wings 3D Development Forum (https://www.wings3d.com/forum)
+-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1)
+--- Forum: Gripes & Grumbles (https://www.wings3d.com/forum/forumdisplay.php?fid=4)
+--- Thread: Non abslolute image path option with the collada exporter. (/showthread.php?tid=2954)



Non abslolute image path option with the collada exporter. - tkbd - 06-14-2020

In currently, Wings3D collada exporter save textures with full path.

For example, As described below by some tags in the dae file...
Quote:<image id="tpng-img" name="png-img"><init_from>/User/user/myhdd/3d_data/texture.png</init_from></image>

But this doesn't work well when move the dae file to another directory or give the file to someone else.
In fact, until now I was replacing the part in the saved dae file by text editor.(Just like below., It work fine.)
Quote:<image id="png-img" name="png-img"><init_from>texture.png</init_from></image>

Would you like to add feature that an option to exclude the absolute file path when dae file export?
(Note: This means doesn't deny saving with an absolute path.Absolute paths ,relative path and filename only have their advantages.)

Best regards
---------------------
tkbd


RE: Non abslolute image path option with the collada exporter. - micheus - 06-20-2020

Currently all exporters use to include the file path in the image reference (except by POV-Ray which I made it relative a couple of years ago when I reviewed it Smile).

So, it's something to be evaluated by the main devs.