aframe-lod
aframe-lod copied to clipboard
A-Frame LOD implementation
Looks like there's been some breaking changes with the upgraded THREE.js version that A-Frame 0.6.1 uses. The LOD component no longer swaps out the geometry as expected, and instead renders...
These changes fix issue #3 and also update index.html to use A-Frame 0.9.1.
npm was bugging out a little bit because of the 'example' name
Gives error: three.js:22819 Uncaught TypeError: Cannot read property 'object' of undefined at pe.getObjectForDistance (https://aframe.io/releases/0.5.0/aframe.min.js:113:23113) at pe.Object.assign.raycast (https://aframe.io/releases/0.5.0/aframe.min.js:113:23254) at Dn (https://aframe.io/releases/0.5.0/aframe.min.js:109:9054) at Dn (https://aframe.io/releases/0.5.0/aframe.min.js:109:9119) at Un.intersectObjects (https://aframe.io/releases/0.5.0/aframe.min.js:117:689) at i.tick (https://aframe.io/releases/0.5.0/aframe.min.js:181:1401) at...