aframe-lod icon indicating copy to clipboard operation
aframe-lod copied to clipboard

Demo scene does not load with aFrame 0.5.0

Open karunakaruna opened this issue 7 years ago • 0 comments

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 https://aframe.io/releases/0.5.0/aframe.min.js:250:6254 at Array.forEach (native) at HTMLElement.value (https://aframe.io/releases/0.5.0/aframe.min.js:250:6216) at HTMLElement.value (https://aframe.io/releases/0.5.0/aframe.min.js:250:6410)

Scene:

LOD Example
<a-scene>

  <a-sky color="#ECECEC"></a-sky>

  <a-lod position="0 1.25 -5">
    <a-sphere lod-level="0" radius="1.25" segments-width="64" segments-height="42" material="color: red; wireframe: true"></a-sphere>
    <a-sphere lod-level="3" radius="1.25" segments-width="36" segments-height="18" material="color: red; wireframe: true"></a-sphere>
    <a-sphere lod-level="5" radius="1.25" segments-width="24" segments-height="9" material="color: red; wireframe: true"></a-sphere>
    <a-sphere lod-level="8" radius="1.25" segments-width="12" segments-height="6" material="color: red; wireframe: true"></a-sphere>
  </a-lod>

</a-scene>

karunakaruna avatar Mar 15 '17 23:03 karunakaruna