Take a look at Irrlicht (http://irrlicht.sourceforge.net/) ... it is a cross-platform ( Windows / Linux / MacOS ) scenegraph toolkit that uses OpenGL and DirectX. It was built from the ground up to support both. I believe it would be a good place to look.
( Also has .NET and Java bindings ) Philip Hahn On 12/27/06, Robert Osfield <[EMAIL PROTECTED]> wrote:
Hi Rui, On 12/27/06, Rui Silvestre <[EMAIL PROTECTED]> wrote: > Can anyone give me any good pointers on the basis of a render API agnostic > (GL,DX) scenegraph construction? While technically is possible to do such things with a scene graph, its not good software engineering. It would take alot of pain to implement, you'd loose performance for it, and you wouldn't gain any portability, you'd really cause a maintain headache for yourself, LOTS OF PAIN, YET NO GAIN. I have written on this topic before so please browse the archives. My advice to what you really should do is do something that is practical and useful, go implement your game, simulator, visualization app, or extend the OSG to something cool. Or you really really want to punish yourself why not wrapper a OpenGL to Direct3D wrapper, then any OpenGL app will run ontop of Direct3D, with no need to mess up the high level libraries with having to support both. Robert. Robert. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
