Skip to content
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 are silently not saved if pillow is not installed #2333

Open
Altren opened this issue Dec 19, 2024 · 1 comment
Open

Textures are silently not saved if pillow is not installed #2333

Altren opened this issue Dec 19, 2024 · 1 comment

Comments

@Altren
Copy link

Altren commented Dec 19, 2024

Followng code works without any warnings or suggestions that something is wrong:

mesh = trimesh.load("mesh.obj"). # load obj with textures
_ = m.export("mesh.glb")

But it does not save any textures. It took me a while to figure out that pillow dependency is silently missing

@mikedh
Copy link
Owner

mikedh commented Jan 8, 2025

Hey, it's actually printing a log.debug message which is a little buried admittedly, if we changed it to a log.warning it would be a lot more obvious but spam users pretty hard. I usually run with trimesh.util.attach_to_log() while debugging, I should check to make sure that's in the developers guide somewhere obvious.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants