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

Include the desktop fix, for incorrect model appearance, in android (#6) #12

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

mbalajee
Copy link

If the normals aren't exported in the GLB model then Filament wasn't generating them properly when the vertices in the model are shared by triangles. This PR fixes that issue but is available only for desktop for this reason (tbh honest i don't quite understand that comment - i din't have to make any changes in ResourceLoader) so I just lifted the restriction on Android platform which seem to work

Some background for this issue,
google#7851
google#6358

Without extended loader With extended loader (passing empty string)
issue fix

@mbalajee mbalajee merged commit 4257269 into main Jul 15, 2024
mbalajee added a commit that referenced this pull request Jul 29, 2024
… FAssetLoader which skips loading the buffer in AssetLoaderExtended#createPrimitive leading to null pointer crash

moving init to member initialization list in constructor

Revert "Include the desktop fix, for incorrect model appearance, in android (#6) (#12)"

This reverts commit 4257269.

Revert "utility::loadCgltfBuffers is done once instead of doing for each primitive (google#7969)"

This reverts commit 3728f06.

Revert "Adding parent name as default if node has no name (#10)"

This reverts commit 7558f89
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant