Where to download HTMLMesh.js?

Hi,

I’m trying to insert HTML meshes into a WebXR project, like in the demo here:
https://threejs.org/examples/?q=sandbox#webxr_vr_sandbox

Since I’m running the project in a static page without NPM, I need to include the file as a tag. Can someone please tell me where I can download the required HTMLMesh.js file?

Thank You!

Hi, after installing like this: “npm install tree”, it’s possible to find the needed file here: node_modules/three/examples/jsm/interactive/HTMLMesh.js

1 Like

Whoa sick. How have I not seen this before!!