gkjohnson/three-mesh-bvh

Some examples throwing an exception (Failed to construct 'URL')

Closed this issue · 1 comments

kutu commented

const gltfPromise = new GLTFLoader().loadAsync( new URL( './models/diamond.glb', import.meta.url ).toString() );

image

Same with Lambert GPU Path Tracing

Windows / Chrome

Thanks - at some point I'll have to just remove Parcel, which wasn't bundling the URL correctly... Its quirks are starting to be a lot of maintenance effort.