OpenGL or Direct3D for a new Windows game project? Or something else?

后端 未结 15 1544
小鲜肉
小鲜肉 2021-02-14 16:22

I\'m starting a hobby game project on Windows that will make heavy use of 3D graphics effects. It will most likely be written in C++.

Should I use OpenGL or Direct3D for

15条回答
  •  [愿得一人]
    2021-02-14 17:17

    The thing you should consider is the decision of platform independence. Do you want to tie your game to Windows, or would you like to release it to Mac OS X or Linux at some point. If you decide that you want to support Linux, OS X in the future, you will need to use OpenGL.

    There seems to be a lot of goodwill by the Linux community if the game is at least semi-released for Linux.

提交回复
热议问题