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:
Edit: I forgot to mention I'm of course using the latest version of Noesis (v4.177)