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

compression compatibility on .glb .gltf #219

Open
mate-panyeczky opened this issue Dec 5, 2023 · 0 comments
Open

compression compatibility on .glb .gltf #219

mate-panyeczky opened this issue Dec 5, 2023 · 0 comments

Comments

@mate-panyeczky
Copy link

Hi, thanks for create a method for loading glb and gltf models. One thing that I've came across is that I can't use my compressed .glb files anymore.

I'm using this package in order to show 3D models on screen: https://pub.dev/packages/model_viewer_plus
This package is able to open and load any .glb file which was compressed by Blender, which leads us to an approximately 75% reduce in the file size.

Please note: The package works but I believe it would be a great patch to let these files to be loaded as well, or at least notify the developers that compressed models are not loadable.

Description of the bug:
Based on the sample gltf loading class, you should be able to recreate this bug, since I'm using exactly the same methods.
Just give a compressed model's path to the loader.
(Compressing is an option in Blender: Export > .glb > Data > Compression -> turn on)
What you should see, is that even though the model was downloaded and the node was added, the object will never appear on the AR screen.

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