Needle Engine
3D & game enginesShow your Vuframe 3D models on the web with the Needle Engine web component and the GLB export.
Vuframe® exports your 3D models as GLB, the binary form of glTF. Needle Engine is built on three.js and loads GLB files through its <needle-engine> web component, so you can show your products on a page with one tag.
Add Vuframe content to Needle Engine
- Ask your Vuframe project manager for the GLB export of your 3D model.
- Host the GLB file on your web server or CDN, next to your page.
- Include the engine:
<script type="module" src="https://cdn.jsdelivr.net/npm/@needle-tools/engine/dist/needle-engine.min.js"></script> - Add the element:
<needle-engine src="model.glb"></needle-engine>
Good to know: for interactive scenes, Needle Engine also works with Unity and Blender, where you can import the GLB and add components. If you need no code, embed the Vuframe 3D viewer as an iframe and control it with the JavaScript API. More: 3D formats, glTF / GLB and the Needle Engine docs on three.js and the web component.