but0n / Ashes

WebGL2.0 3D Engine - Global Illumination - RayTracing
https://codepen.io/but0n/pen/jddYoX
MIT License
328 stars 16 forks source link

Loading glTF file seems to fail in Ashes v0.2.3 #32

Closed cx20 closed 5 years ago

cx20 commented 5 years ago

I tried to display Duck.gltf in Ashes v0.2.3. However, the following error seems to be displayed. image

ashes.main.js:4313 Uncaught (in promise) TypeError: Cannot read property 'NORMAL' of undefined
    at Function.bindAccessorsVBO (ashes.main.js:4313)
    at Function.updateVAO (ashes.main.js:5060)
    at Function.attachMaterial (ashes.main.js:5044)
    at new MeshRenderer (ashes.main.js:4966)
    at Function.<anonymous> (ashes.main.js:6061)
    at Generator.next (<anonymous>)
    at fulfilled (ashes.main.js:5301)
but0n commented 5 years ago

Thanks for your feedback! It should be fixed in v0.2.4.

cx20 commented 5 years ago

I confirmed in Ashes v0.2.4 that the above error has been eliminated.

However, there seems to be another problem. The console outputs a WebGL warning and the duck appears and disappears every few seconds. Should I report it as another issue? image

but0n commented 5 years ago

It is weird seems like only the duck model has such issues, the others works fine.

Yeah, you can open another issue for this.

cx20 commented 5 years ago

I reported about Duck issues in #33