There are umpteen APIs for traversing a 3D scene. Many of them =
proprietary and oriented toward particular hardware or a particular 3D =
graphics application.
I'm thinking of APIs for Max, Maya, OpenGL, Direct3D, RenderWare, Open =
Inventor, etc.
Has anyone (perhaps with a view to making a game or tool portable across =
3D APIs) abstracted one or more of these APIs into a wrapper that =
isolates the game/tool code from the proprietary 3D API?
I know I have. However, I'm wondering if anyone knows of a de facto =
'rolls-royce' of 3D API abstractions that supports a variety of existing =
APIs and is designed to be easy to customise to support any number of =
additional 3D APIs?
Such a wrapper would enable iteration over a 3D scene graph, the ability =
to extract any amount of 3D information (depending upon its =
availability) and make modifications to any part of it.
I'm just asking this, just in case it's already been done and I don't =
have to do it (cos I'm about to).
I know one could take any existing API of one's choice and then simply =
use that as the basis for a wrapper around any other API, however, I'm =
wondering if someone has specifically created an API carefully designed =
to make wrapping other APIs easy.
I'm hoping someone will say "Sure. You want to check out the Universal =
3D API wrapper project at www.universal3d.org" or something like that. =
;-)
|