Use CDN threejs
This module is based on https://github.com/eneus/drupal_threejs (but it's not totally the same I reuse about 30%).
How to use:
- Enable modules Threejs + Threejs field
- Configuration Threejs
- Configuration field Threejs formatter
Support some format 3d like obj dae gltf stl....
some issue:
- camera fit to object (i set for scanner box)
- texture not work some case
- autorotation
You can modify version by yourself in threejs.libraries.yml
example:
//cdn.jsdelivr.net/npm/three@0.160.0/build/three.min.js: { external, minified: true, crossorigin: anonymous}
it still works but you will see a warning message in the console log
Do you like this module? Show your appreciation by buying me ☕.
Project information
- Module categories: Site Structure
- Ecosystem: Viewer for 3D Models
- 24 sites report using this module
- Created by lazzyvn on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.