C++ Game Development

Moderators: Lundin
Number of threads: 236
Number of posts: 517

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
directx 9 SDK Posted by happy_84k on 26 Jan 2004 at 8:40 AM
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
Report
Re: directx 9 SDK Posted by zeolite on 26 Jan 2004 at 9:17 AM
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:

http://peppermint.jp/products/death/doc/d3dapp_8h-source.html
http://peppermint.jp/products/death/doc/d3dapp_8cpp-source.html
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:

class CMyD3DApplication : public CD3DApplication

and re-write all the virtual 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 ;)

Report
Re: directx 9 SDK Posted by chick80 on 5 Feb 2004 at 1:58 AM
: 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:

: http://peppermint.jp/products/death/doc/d3dapp_8h-source.html
: http://peppermint.jp/products/death/doc/d3dapp_8cpp-source.html
: 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:
:

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




How beautiful, if Sorrow had not made sorrow more beautiful than Beauty itself.
JOHN KEATS





 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.