-
Notifications
You must be signed in to change notification settings - Fork 325
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
Textures not included #54
Comments
Here is the resulting gltf https://gist.github.com/FreakTheMighty/5193c2c81c682ebb730bb7e805263577 |
@FreakTheMighty -- the issue is that glTF simply doesn't allow the .tga file format. In fact, the only image files formally accepted are PNG and JPG! Luckily, if you convert the images and put the new ones in the same place, with exactly the same name except for the file extension, the converter should pick the new ones up, even with the suffix changed. This is by design, so you can recover from precisely this situation (that said, I'm not sure anybody's tested this particular feature in many moons, so if it still doesn't work, let me know). Obviously if you have transparency in the textures you will need to use PNG for those. The converter should probably warn on bad filetypes, huh. Yeah. I'll file an issue for that. :) |
Ah cool, I'll give that a try and report back tomorrow.
…On Wed, Dec 6, 2017, 7:14 PM Pär Winzell ***@***.***> wrote:
@FreakTheMighty <https://github.com/freakthemighty> -- the issue is that
glTF simply doesn't allow the .tga file format. In fact, the only image
files formally accepted are PNG and JPG! Luckily, if you convert the images
and put the new ones in the same place, with exactly the same name except
for the file extension, the converter *should* pick the new ones up, even
with the suffix changed. This is by design, so you can recover from
precisely this situation (that said, I'm not sure anybody's tested this
particular feature in many moons, so if it still doesn't work, let me know).
Obviously if you have transparency in the textures you will need to use
PNG for those.
The converter should probably warn on bad filetypes, huh. Yeah. I'll file
an issue for that. :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#54 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAPFNIfoGECZ44L2Z8RAWbGN4VGMTxqzks5s91gagaJpZM4Q4sPL>
.
|
I can confirm that the converted pngs were recognized (neat trick), however now I've bumped into that related #55 issue. The pngs show up in the |
Glad that part worked, at least! I'll close this issue out and we'll continue tracking the remaining problem(s) in #55. |
I'm having issues converting an FBX with textures. Given this model: https://free3d.com/3d-model/batman70-68300.html
The output is
What's confusing is that those are valid file paths, so I'm not sure why it is having issues finding the textures.
The text was updated successfully, but these errors were encountered: