Babylon.js 3.0
blogs.windows.com
blogs.windows.com
Babylon Spector is a fully functional WebGL debugger, it is an extension in Chrome which makes 3D development on the web so much easier, works with Three.js too!
- Chrome ~60fps
- Firefox ~25fps + fans spinning up
- Safari (hangs on loading screen)
Many of the WebGL demos I try in Safari just don't work, but the demo doesn't provide any kind of error message other than in the console. I have two wishes:
- Apple would get their act together with WebGL support
- demos would handle WebGL errors more gracefully
Windows 8.1
Chrome: 144fps
Firefox: 144fps
IE11: 72fps
Not sure why IE11 is getting exactly half the framerate of the other two, which are maxing at my monitor's refresh rate. At least none of them hanged or crashed.
On a brand new MBP, though. Maybe that has an effect.
Both seem to hang at load if I turn on Safari’s experimental support for WebGL 2.0 though, so that might be what was happening to kevinb7.
Which version of MacOS are you on?
Safari - 60fps, no fans.
Chrome - 59fps, no fans but notably hotter and more CPU usage.
Seems like Apple has their act together and the errors are somehow on your end?
WebGL seems to mainly be used for demos.
Again shooting from the hip here, but given the restricted environment of the web browser, it would seem difficult to believe that you could make a high performing full game given that you need to download THE ENTIRE GAME essentially every single time you play, no? So that restricts the size / complexity I would wager.
Either way, in a world where people are regularly streaming Blu-ray quality content over the internet, downloading a few 100MB per session doesn't seem unreasonable.
If you've invested tons of time working in three.js, then it may not be worth switching over. But if you're dabbling, it is definitely worth checking out.
However, all of this was about 2 years ago, and you never know what has changed.
But the main reason I've stuck with it is that Babylon has a compact, active set of devs (I've made bug reports and seen the fix in the next nightly build multiple times). So it's been really easy to get help and get bugs fixed. Three has way more people working on/with it, but the flip side of that is that it's way harder to find help, unless you know a good forum where some experts hang out, or similar.
The other big difference is that Babylon is more of a "game engine" than a "3D engine" - it has built-in subsystems for stuff like bone animations, audio triggers, etc. I imagine Three has similar stuff, but I believe they'd be plugins or modules that you'd need to manage separately. I don't actually use any of these Babylon subsystems though, so I can't say if they're useful or not.
Are people building webgl games actually using babylon?
Since babylon.js is more of a library, though, it doesn't have quite the tools to that something like Unity has, but they have great documentation and community support, and have a nice playground for testing small snippets. If you find an issue and post a question in the forum, I've gotten a fix in a matter of hours.
Note: User of babylon.js
I hope this opens some doors...