[osg-users] Why isn't OpenSceneGraph used in games?

Alistair Baxter alistair at mve.com
Fri Apr 22 01:31:55 PDT 2016


There’s a couple of major reasons OSG isn’t used in games much.



Probably the most important one is that it isn’t a complete game engine. Unreal, Cryengine, Unity (and also the likes of Gamemaker and Marmalade) all have favourable licensing conditions, and they can be used to start knocking out gameplay straight out of the gate. Potentially a lot of extra work would be needed to add the level of functionality needed for a 3D world action game which is available out of the box from the major engine manufacturers.



Secondly, it doesn’t come with game-specific tools, like an editor framework. And perhaps more importantly, core osg focuses on runtime importers rather than an offline asset conditioning pipeline from content creation packages, which is the favoured method of game asset production.



Thirdly, there has been some debate about the notion of using general-purpose scene graphs in game engines at all. Games tend to have controlled numbers of set types of object to render. You would need to set up a graph to reflect that, but if you’ve got the structure, why not apply your logic and render from that directly? Also, games will tend to use separate physics representations of geometry within a physics simulation that is used for raycasting and collition testing, rather than doing it with the graphics data, as osg provides. There was a high-profile article I read once entreating game developers to forsake unnecessary scene graphs, but I can’t seem to find it now for a citation.



And lastly, it is OpenGL-specific, and pluggable low-level rendering is common in major game engines. But in these days of OpenGL-ES ubiquity on mobile and tablets (and in Sony’s console ecosystem?), and Microsoft actively helping the ANGLE project and encouraging UWP developers to use it (https://github.com/MSOpenTech/angle/wiki ), that’s far less of a problem than it was 5 or 10 years ago.



But OSG is free, open source, portable and performant if you take the time to organise your graph efficiently.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160422/0b7d3fe3/attachment-0003.htm>


More information about the osg-users mailing list