Path-tracing in BabylonJS

Hello everyone,

Once again I am asking for seasoned Babylon users’ advice about loading models, in particular a glTF loading-related problem.

I recently received an issue over on the GitHub repo for our Babylon PathTracing Renderer, concerning a failure to load a user’s particular glTF model.

Here’s a link to the issue

In order to reproduce and demonstrate this bug/error most clearly, I went ahead and created a debug version of our glTF path tracing demo (which now temporarily lives in the same GitHub repo) that tries to load in his exact model (which I also got from him and placed into our ‘models’ folder). If you check the browser console while running this debug demo, you should get the same error message:

glTF Debugging demo

As previously mentioned, one of my many programming knowledge weaknesses is glTF loading and glTF data processing. So I don’t really understand what the error message means. I’ll be glad to work on the loading code part of our renderer to make it more robust and generalized for use-cases like this, but I don’t know where to start, ha.

Any info or guidance (or even ‘multiple-glTF loading / merging into 1 model’ source code) would be much appreciated. Thank you all in advance! :slight_smile:

1 Like