directx 9 SDK - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

directx 9 SDK

hey there

i'm a beginner in c++ ang i really want to learn games progarmming.
i'm now downloading the directx 9 SDK and a need a tutorial.

is the programming with directx SDK hard?
and what programming background should i have?
ak

Comments

  • zeolitezeolite Posts: 78Member
    [red]If you don't want to have to write out lots of code just to get Direct3D initialised I strongly recommend Microsoft's sample class CD3DApplication.
    Available from many places, including:[/red]
    http://peppermint.jp/products/death/doc/d3dapp_8h-source.html
    http://peppermint.jp/products/death/doc/d3dapp_8cpp-source.html
    [red]The code is well annotated so you should be able to follow most of it. All you really need to do is create your own class in the form:[/red]

    class CMyD3DApplication : public CD3DApplication[red]

    and re-write all the [blue]virtual[/blue] functions to suit your own needs.

    btw: if you have any problem downloading this file, search for CD3DApplication on Google and it will list dozens of sites where you can download the framework. It will probably be included with some of the sample apps that come with the DirectX 9 SDK ;)
    [/red]
  • chick80chick80 Posts: 349Member
    : [red]If you don't want to have to write out lots of code just to get Direct3D initialised I strongly recommend Microsoft's sample class CD3DApplication.
    : Available from many places, including:[/red]
    : http://peppermint.jp/products/death/doc/d3dapp_8h-source.html
    : http://peppermint.jp/products/death/doc/d3dapp_8cpp-source.html
    : [red]The code is well annotated so you should be able to follow most of it. All you really need to do is create your own class in the form:[/red]
    :

    CD3DApplication is also included in the SDK...
    Btw, you should know C++ quite well and you should know some math stuff like matrices and vectors (expecially if you want to use vertex and pixel shaders).
    Take a look to the tutorials and samples in the SDK, they're a very good starting point.

    nICO


    [hr]
    [italic]How beautiful, if Sorrow had not made sorrow more beautiful than Beauty itself.[/italic]
    JOHN KEATS


Sign In or Register to comment.