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

Texture mapping appears different #15

Open
visose opened this issue Jan 27, 2023 · 1 comment
Open

Texture mapping appears different #15

visose opened this issue Jan 27, 2023 · 1 comment

Comments

@visose
Copy link

visose commented Jan 27, 2023

Texture mapping does not match between the exported gltf and Rhino.

Appending the object.GetMeshes mesh array into a single mesh fixes this. I'm doing this for performance but this might be a side effect of something else.
Also, the reason to not join these meshes together I guess is in case they have a different material per face, but it doesn't seem to check if this is the case.

@jrz371
Copy link
Collaborator

jrz371 commented Jan 30, 2023

I think we tried per face material support at some point (there was a PR from a user) but it was either buggy or caused a bunch of regressions. Can you attach an example file so I can open a YouTrack issue for the mappings going wrong?

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