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

Problem importing OBJ files (probably assimp problem, not assimpNet) #47

Open
KakCAT opened this issue Oct 29, 2018 · 0 comments
Open

Comments

@KakCAT
Copy link

KakCAT commented Oct 29, 2018

I have some OBJ which imported correctly in 3.3.1 and doesn't work on 4. doesntWork.obj does not expose the texture correctly, while works.OBJ does.

The only difference is where the g (group) and usemtl are placed. Tinkering with the OBJ file, I think that the "group" must be defined after the "mtllib". If not, the problem happens.

I don't know if this is a malformed OBJ file either. The OBJ format is ... well... very badly defined. Both OBJ files correctly load on 3DSMax 2013 though.

objs (renamed)
doesntWork.txt
works.txt

material (renamed... but any material and texture file will do, the problem seems to be in the OBJ)
floorTest.txt

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