Torque 3D Beta 1 Bug: ColladaLoader don't find textures with relative/absolute paths
by Luis Anton Rebollo · in Torque 3D Professional · 05/16/2009 (2:28 am) · 1 replies
ColladaLoader don't find textures with relative/absolute paths, only work if textures are in DAE directory.
Sorry for my bad english :(
Sorry for my bad english :(
About the author
I'm working on a port of Torque3D to OpenGL and Linux/SteamOS
Associate Chris Robertson
1. If the Collada model specifies an absolute path to the texture (eg. "C:/myImages/texture.jpg), this path is ignored and the texture must be in the model directory. This is done because using the absolute path would break if you copied your game folder to a different directory.
2. If the Collada model specifies a relative path to the texture (eg. "../images/texture.jpg"), then the generated Material will use this path. This is useful for Sketchup models that have the DAE file and the textures in different folders.