Hi There,
When I try to import texture by
texture_absolute_path = '/Users/linshu/Desktop/texture.png'
chunk.model.loadTexture(texture_absolute_path)
I got OSError below
OSError: Can't open file: No such file or directory (2): /Users/linshu/Desktop/texture1.png
However, as you can see from what I defined before, my file name is '
texture.png' instead of '
texture1.png'. There is an extra '1' at the end.
Furthermore, when I try to use interactive tool, (i.e. GUI) to import the texture, I got the same error.
What I do:
1) select a certain chunk
2) File -> Import -> Import Texture
The difference between two is:
When I run the code with Python, program exit when error occurs.
When I import with GUI, the texture is still applied on mesh even though OSError occurred.