DirectX 9 or DirectX 10 for starters?

后端 未结 9 508
后悔当初
后悔当初 2020-12-30 09:59

I want to do projects to make my resume more appealing to game companies. So I am going to start buying books. But I don\'t know rather to read DirectX 9 or 10 api books to

9条回答
  •  爱一瞬间的悲伤
    2020-12-30 10:31

    With some little exceptions, DX10 is just a legacy free DX9. For example DX9 had build in options for rendering Flatshaded, Textured or using a Shader. In DX10 these options are gone, you always have to use a real shader. If you want to do flatshading, write a HLSL shader that does flat shading.

    So I would suggest you learn DX10 (or DX11). You will be able to adopt fast to DX9 but with a more modern coding style by not using legacy functions. They can be quiet confusing, so DX10 will focus you on relevant things.

    If you are a real beginner, and setting up a vertex-buffer to create a single triangle is confusing you (as real 3D-Programmer you are no more interesten in single triangles) I even would suggest to start with OpenGL. You will have faster success, but in reality this can be a little bit distracting as DX9-Legacy if you want to focus on modern 3D-Coding.

提交回复
热议问题