Brian Zinn

Results 182 comments of Brian Zinn

@voronp - that is a definite possibility. There was a `shouldRenderRef` added when the IntersectionObserver was added. I think it makes sense to tie into that logic, but I am...

hi @slash9494 It's definitely a pain when the file size isn't known and you want to show the progress. Are you downloading the entire file (await fetch ...) to get...

Sorry @slash9494 I still do not follow. Are you not downloading the asset twice by fetching again in the callback?

Ok - I’ll need to check how it runs after my vacation - May 16. I just need to see if on the first try it will load twice. Otherwise...

It looks like you don't have a camera created on that render - are you able to share more code?

is there a camera in your ``? I don't know if there is a potential race condition when the callback is called (potentially too early) or if you have not...

sorry for late reply - is there any way you can repro this using something like code sandbox?

That method is creating a camera: https://github.com/BabylonJS/Babylon.js/blob/fdbf393d1d7699dc7cc69cec1dca0819ebd2622a/packages/dev/core/src/Misc/environmentTextureTools.ts#L252 I will see about how I can fix that. I may need a guard clause on the default render loop. I started a...

For now you’ll need to create your own runRenderLoop (call ‘clear’ method first). I’ll make sure this is fixed for next release.

I was waiting for somebody to come up with this one! It's to do with how the promise needs to be cached (for fallback), but mainly due to how BabylonJS...