Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

zippo

Conversions for major APIs...

This topic is 6924 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Share this post


Link to post
Share on other sites
Advertisement
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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!