-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[12.0] ADD web_widget_model_viewer #1640
Conversation
7873d24
to
9796436
Compare
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.
For the rest LGTM to me
web_widget_model_viewer/static/src/js/web_widget_model_viewer.js
Outdated
Show resolved
Hide resolved
9796436
to
287a427
Compare
This PR has the |
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.
Go
@OCA/web-maintainers merge? |
/ocabot merge nobump |
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at 939c300. Thanks a lot for contributing to OCA. ❤️ |
<model-viewer>
is a web component that makes rendering interactive 3D models - optionally in AR - easy to do, on as many browsers and devices as possible.<model-viewer>
strives to give you great defaults for rendering quality and performance.See source repository and documentation.
The model to load is a GLTF 2.0 file format.
See https://www.khronos.org/gltf/ and GLTF overview:
Many engine developers have already started transitioning to glTF 2.0 to reap performance, portability and quality benefits, including BabylonJS, three.js, Cesium, Sketchfab, and xeogl and instant3Dhub engines. glTF 2.0 is also seeing industry support by companies such as Adobe, Google, Marmoset, Microsoft, NVIDIA, Oculus, UX3D, and more as well as prominent universities such as, University of Pennsylvania and Sapienza University of Rome.
"example" directory contains the GLB file of a chair, that is rendered in the following way:
Next step: create website_sale_product_model_viewer