hoverinc / ray-tracing-renderer

[UNMAINTAINED] Real-time path tracing on the web with three.js
https://hoverinc.github.io/ray-tracing-renderer/
MIT License
645 stars 68 forks source link

Some Glb file will not load #223

Open lagence3d opened 3 years ago

lagence3d commented 3 years ago

Hello,

Some simple Glb files will no load, there are opened correctly by GlfViewer and Windows 3D Viewer. Here is the error in the console :

RayTracingRenderer.js:446 Uncaught ERROR: 0:7: 'NUM_MATERIALS' : undeclared identifier ERROR: 0:7: '' : array size must be a constant integer expression ERROR: 0:8: 'NUM_MATERIALS' : undeclared identifier ERROR: 0:8: '' : array size must be a constant integer expression

Here is an example of a simple wall in Glb format. labarette.free.fr/xfer/wall.glb