Conversions for major APIs...
I was just curious...In some of the major games out there (thinking specifically of first-player), you can choose to play using software, OpenGL, or DirectX APIs. Are there conversion programs out there that will translate your OpenGL code to DirectX, or do these companies (like Valve, for instance) have programmers that create the game in both OpenGL and DirectX seperately?
I think they just create a dll file that has similar interfaces.
Like this
InitializeScreenMode
RenderPrimitive
etc.
No need for seperate code in the main exe file.
Like this
InitializeScreenMode
RenderPrimitive
etc.
No need for seperate code in the main exe file.
If you''re careful on how you build your game in the first place, replacing something like the rendering code isn''t really all that difficult. I think just about all companies do that kind of thing themselves.
Jonathan
Jonathan
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement