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

后端 未结 15 1502
小鲜肉
小鲜肉 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

    You must remember that DirectX is a collection of technologies - Input, Audio and Graphics. However to most people DX is synonymous with the renderer.

    In my opinion D3D (or DirectGraphics) has not really been that hard since DX8. I have not tried DX9 or DX10.

    Bernard is right - try to abstract as much as possible. Try to keep DX or OGL calls outside your object classes.

提交回复
热议问题