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

Material for .obj missing #22

Open
jokil123 opened this issue Sep 2, 2021 · 3 comments
Open

Material for .obj missing #22

jokil123 opened this issue Sep 2, 2021 · 3 comments

Comments

@jokil123
Copy link

jokil123 commented Sep 2, 2021

System: Windows 10
Extension version: v0.2.2
vscode version: v1.59.1

If I load an obj file it's texture / material is missing, the model is instead displayed as white.
image

files for error recreation (works with all objs though)
files.zip

@KelvinHong
Copy link

Same problem here. Seems like an easy issue but there is no solution found.

@dfgs
Copy link

dfgs commented Nov 25, 2021

Hello. Same problem. It would be usefull to be able to import material.

@Degubi
Copy link
Contributor

Degubi commented Jan 10, 2022

Hi! I created a pr for loading .mtl files for .obj files.
The extension tries from now on will try to load a .mtl file with the same name as the .obj (the same way you sent the example files.zip)
Now it looks like this:

image

The .obj is named: 'test.obj'
The .mtl is named: 'test.mtl'

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