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

Resulting OBJ should preserve MTL references #4

Open
vsantosu opened this issue Mar 7, 2018 · 3 comments
Open

Resulting OBJ should preserve MTL references #4

vsantosu opened this issue Mar 7, 2018 · 3 comments

Comments

@vsantosu
Copy link

vsantosu commented Mar 7, 2018

When the decimater succeeds, it strips off the mtl references. If I add them manually, the model looks great, but in some cases there are several references to the mtl file between faces etc, it is imposible to know where it suppose to go. This is common in models with several textures.

@heyyxd
Copy link

heyyxd commented Jul 4, 2018

Can you show how to add mtl references?

@Rage997
Copy link

Rage997 commented Nov 16, 2018

Hi @heyyxd ,

to add a mtl reference to an .obj file just add:

mtllib materialname.mtl

@DerouineauNicolas
Copy link

I'm having the same issue here, I wonder if it's possible to merge all the materials into one before decimation to avoid this issue.

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

4 participants