New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FBX] Loading embedded FBX textures the new way #1830
Comments
Hi, |
Alright:
I would now write
I made a quick test and it seems to work. Personally I think that the call to Thanks for the help! |
@loebl Hi, can u share how to read from memory? I wrote from memory but got whole black texture. |
Hello,
I noticed that the loading procedure for embedded textures from FBX changed in the last few weeks.
The old method would give a filename like "*1" which could be used to index into the embedded texture array.
Now I get the relative path to the original image file. As far as I know I would need to search the texture array and compare the paths. It gets a bit complicated as the textures store the absolute paths to the original file.
Just to be on the right track: Is it the new way, to get the tex path from the material, search the embedded textures, strip the folders/path prefixes and compare the file names to find out if the texture is embedded?
The text was updated successfully, but these errors were encountered: