So I just learned about the method loadExternalTex
, which according to Noesis readme file: "returns a NoeTexture
, or None
if the texture could not be found." And for its arguments it says it accepts a string as "name/path of texture, without extension."
I'm not sure if I found a bug or something but the only way I can get this function to work is if the texture file is in the same folder as the main file registered with Noesis for previewing (usually a mesh file).
For example, if I'm using Noesis to load some model/mesh at "c:\dir1\dir2\polygon.mesh", and this model requires two textures which are located at "c:\dir1\dir2\tex1.dds", and "c:\dir1\dirA\dirB\tex2.dds",
- The following call works and returns a NoeTexture object:
- But the following call mysteriously fails and returns None:
Both files exist, the only difference is that the latter is not in the same folder as the mesh file. If this function can only accept files in the same folder then why does it say it can accept a path in the readme file? Is this a bug or am I missing something here? Can somebody maybe double-check this?
Edit: I forgot to mention I'm of course using the latest version of Noesis (v4.177)
You can make the ads go away by registering