The VG Resource

Full Version: Relative Location help.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am having trouble figuring out how to make a file path relative, does anyone have a way to do it?
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]