Howdy, Stranger!

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

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

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.