The VG Resource
Relative Location help. - Printable Version

+- The VG Resource (https://www.vg-resource.com)
+-- Forum: The Resources (https://www.vg-resource.com/forum-109.html)
+--- Forum: The Models Resource (https://www.vg-resource.com/forum-111.html)
+---- Forum: Feedback / Showreel (https://www.vg-resource.com/forum-123.html)
+---- Thread: Relative Location help. (/thread-41330.html)



Relative Location help. - Ashykins - 12-20-2022

I am having trouble figuring out how to make a file path relative, does anyone have a way to do it?


RE: Relative Location help. - Jasper7438 - 12-21-2022

Depends on your file type.


For OBJ - Delete everything before the folder the texture is in.

map_Kd C:\\Users\\Owner\\Desktop\\Models\\Textures\\body.png

map_Kd Textures\\body.png



For DAE - Replace everything before the folder the texture is in with "." [period], If the texture is in the same folder as the model then delete everything other than the texture name.
<init_from>C:\Users\Owner\Desktop\Models\body.png</init_from>

<init_from>.\Models\body.png</init_from>


For FBX - Check your program's texture path settings before exporting.

[Image: attachment.php?aid=15281]