Loader Improvements
See original GitHub issueI’m taking a crack at improving some of the loaders, making them a little more consistent in their usage, and then writing out the docs. I’ll post anything I need feedback on here.
First thing:
THREE.Loader has an addStatusElement method, which creates a DOM element that says “Loading …”. It doesn’t add it to the DOM, update it, or do anything with it. I was thinking about removing that method as it doesn’t appear to do anything, and is not used in the examples.
It seems that if there is any DOM loading interface it should go in THREE.LoadingManager. In fact maybe a visual interface should be a separate class that is only in the examples.
So my proposal is to remove that functionality, and if it gets put back in, put it into the examples. Thoughts?
Issue Analytics
- State:
- Created 10 years ago
- Comments:17 (14 by maintainers)

Top Related StackOverflow Question
THREE.Loader no longer has any DOM/status management code, so I think this issue can be closed? If we want to do anything different with promises vs callbacks that could be opened in a new issue.
Hi all, One thing that springs to my mind regarding Promises, is that they allow for ES6 async / await style coding, which can help to simplify highly asynchronous code in many cases.