Re:Portability benchmark of Dota2 on MacOS
by pjmlp on Saturday August 11, 2018 @01:50PM
(#17740718)
The world of 3D APIs would have been much different if OpenInventor was released on the same terms as OpenGL, but it wasn't.
OpenGL is so raw than everyone ends up creating their own scene graph API from scratch.
The boilerplate in Vulkan is a lot of work to get to a triangle on the screen, but once you're there it really isn't much more work to do whatever. The boilerplate isn't linear with lines of code, and honestly anything nontrivial with modern OpenGL is probably going to have more boilerplate.
It's sort of an unfortunate consequence of how code architecturally should change with log10(cloc). Examples in Vulkan look verbose, but as soon as you get out of examples, it's a lot nicer. So, with a simple game, I'd probably end up using something like Vulkan too.