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

Version 0.3 complaining about missing .mtl file #18

Closed
inxomnyaa opened this issue Jan 6, 2022 · 3 comments
Closed

Version 0.3 complaining about missing .mtl file #18

inxomnyaa opened this issue Jan 6, 2022 · 3 comments

Comments

@inxomnyaa
Copy link

image
This does not sound correct to me - since there is no color support yet, the mtl should not be needed right?

@inxomnyaa inxomnyaa changed the title Version 3 complaining about missing .mtl file Version 0.3 complaining about missing .mtl file Jan 6, 2022
@inxomnyaa
Copy link
Author

I just wrote myself a simple mtl file containing this

newmtl MaterialName
Ns 100.0
Ka 1.0 1.0 1.0
Kd 1.0 1.0 1.0
Ks 1.0 1.0 1.0
Ke 0.0 0.0 0.0
Ni 1.0
d 1.0
illum 2

and added these lines to my obj

mtllib wf_sky_repaired.mtl
usemtl MaterialName

Now the file loads, but i am greeted with a blank program and voxelise throws yet another error
image
image
it looks kind of like the material is being loaded, but not set correctly?

@inxomnyaa
Copy link
Author

Okay Photoshop CC 2019 to the rescue, it was missing texture mapping vertices. File now loads just fine

@inxomnyaa
Copy link
Author

Closing since 0.4 released

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

1 participant