-
-
Notifications
You must be signed in to change notification settings - Fork 50
Add Remote URL Support to glTF loader #895
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
Conversation
754c458
to
b6718ab
Compare
Ready for review now :) |
I am relying on Almar to review especially the changes to the renderer. |
I get an error when I try to change the model:
|
Could you try again and see if the error still occurs? |
Co-authored-by: Almar Klein <almar@almarklein.org>
Sorry, I forgot to say earlier that it indeed works fine now! 🚀 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking great!
The glTF loader now supports loading models from remote URLs. It supports single-file models in formats such as GLB and glTF-Embedded, as well as directory-based glTF models.
A new glTF viewer example has been added, showcasing models from the KhronosGroup glTF-Sample-Assets repository (currently selected only those tagged with "core"), demonstrated pygfx's “out of the box” support for glTF models.
1218.mp4
Additionally, several bugs in the glTF loader and other areas have been fixed during this process.