DirectXTutorial.com
The Ultimate DirectX Tutorial
wtf?
DirectXTutorial News Archives - All News
Log In
February 10, 2010 - Updated DirectX SDK

The new DirectX SDK for February 2010 is now available for download.  There shouldn't be any changes necessary in the lesson code samples, but please let me know if something isn't compiling or running correctly anymore.

February 9, 2010 - Feedback and Glossary

Thanks to everyone who wrote in their ideas.  I've read through some of them, and I'll probably finish tomorrow.

I recently finished doing an overhaul of the glossary.  For a long time it was a pathetic search bar with a few definitions (about thirty).  Now it provides a list of all terms available, as well as a form to submit new ideas if you can't find the term you're looking for.

While the list may seem relatively short and incomplete for now, I've got a list of about a thousand terms to write definitions for.  I'm hoping to make this extensive for beginners and intermediate developers alike, supporting terms from "graphics" to "HDR tone mapping" and beyond.  Go ahead and check it out.

February 6, 2010 - More Lessons?

I haven't got a whole lot of feedback recently on what to write next.  I want to write a few more tutorials before the end of the month and I want to get a sense of what's wanted.

Let me know if you'd like to read about anything specific.

January 14, 2010 - DirectX 10

The first DirectX 10 tutorial is now online for premium readers.  It parallels the first DirectX 9 tutorial, but includes how to work with shaders.

January 1, 2010 - 2010 and DirectX 10

Hello 2010!  This year I'm going to focus a lot on DirectX 10 and 11 tutorials.  But no worries, DirectX 9 fans!  I'll still be adding a lot of DirectX 9 lessons, as there are still so many people reading them.

The first DirectX 10 tutorial will soon be available to Premium readers.  I've written most of it, and am doing some proofreading and fine-tuning.  I'm thinking it will be available in a week or so, so look forward to that.

I wish you all a fun year programming games (and anything else you might be programming)!

September 9, 2009 - Game Input Tutorial

I realized a few hours ago that the tutorial badly needed a lesson on mouse pointer management, and so I'm working on that now.  However, everything else is now online.  Enjoy.

September 8, 2009 - Updates in Effect

The changes are made, the price is right. However, I'm not quite done proofreading the Game Input Tutorial, and so it won't be available until Tuesday or Wednesday

September 2, 2009 - Changes and Additions

On September 8th, the Texture and Mesh tutorials will be available by subscription only.  In addition, a new tutorial on game input will be available.  When that happens, the price of premium membership will also go up.  I wanted to give you a chance before then to buy your membership at its current price.  I also wanted to let you know about the textures and meshes so you weren't suprised when it happened.

The Game Input Tutorial will cover basic input techniques for the mouse and keyboard, how to work with V-Sync, how to do mouse picking with meshes and polygons, and possibly the Raw Input API.  It will replace the deprecated DirectInput tutorial.

April 11, 2009 - Upgrades

Now that the animated mesh lesson is done, I've started on a massive upgrade of the whole website. I've got lists of changes and improvements to make on the various tutorials, much of which was collected from reader input. Thank you to everyone who contributed.

The lessons aren't all going to be updated at once. I'm going to start at the beginning and work my way through them all. So if you refresh the page and things change slightly, don't be too alarmed. You'll be able to tell a page has been updated by the sample image of the program. Updated lessons will show the program in a Vista window. Otherwise it will be XP or have no border.

A couple of major changes:
- All the tutorials except one will be done in windowed mode to make debugging easier.
- The resolution will be increased.
- Certain parts of the code samples will be greatly simplified.
- The Game Development Tutorial will be largly rewritten and improved.
- There will be a separate tutorial for textures.
- Direct3D Basics will make use of index buffers.
- Pixel shaders will be added.

You'll see these changes happen over the next couple of weeks. They'll happen starting with the first tutorials and moving toward the later ones over time.

If you know of anything else that could be improved, let me know and I'll include it on my long list of errata and upgrades.

April 8, 2009 - Overruled by Democracy - Animated Meshes

Over the months I've been getting way too many requests for a lesson on animated meshes.  I've decided to put an end to it by finally writing one.  I've held off doing it in the past because of how complex it is, but I think I've written it in such a way that it won't be too hard.  It's available now for Premium users.

January 21, 2009 - Multiplayer Tutorial Here...Somewhat

Sorry about the wait.  The beginnings of the Multiplayer Tutorial are now online.  It still isn't done, so you won't see all of it there, but the first four lessons are ready and they'll take you through to the point where you can build a functional chat program.  The rest should be up as soon as it's fully done, which will be in at least a few days.  I won't say when exactly because I never seem to be able to pull it off in time. :P

January 5, 2009 - Multiplayer Tutorial

I've been getting a lot of questions about when the Multiplayer Tutorial will be ready.  It almost is.  I have a few things to touch up and one lesson to rewrite.  This can be a tough subject and I am trying to make it as smooth as possible.  I'm thinking it should be ready to go online this week.

December 23, 2008 - Interesting Article

Check out this interesting article on the status of DirectX 10 on techwhack.com.  It appears that the majority of users are still using Windows XP and don't have DirectX 10 capable hardware.

November 8, 2008 - Back to Work

It's been a while since I've started working on my side project, so I figured I would hold to my promise and start writing more tutorials again.  I've begun work on a new Multiplayer tutorial, as it seems that's what is most wanted.

I'm also taking a look at what I should write once I'm done.  Let me know if you have an opinion.

June 6, 2008 - Next Project

Well, I've decided that the next project won't have anything to do with DirectXTutorial.  For a while now, a group of us have been working on our own PC multiplayer game, and I've decided I'm going to finish it before I pick up another tutorial.

The game is called Etherwar (ether refering to space) and is a sort of combination between a multiplayer first-person shooter and a flight simulator.  It has all the properties of your typical flight simulator, with the additional feature of high-action combat.  So far playing it has been fun and addicting, even though the game is only half-constructed.  Unfortunately, the artwork is practically non-existant at this point, so I can't place any real screenshots.  They would only make you yawn.

Anyhow, I thought I would let you know about this and invite you to sign up for the beta test.  Before I can set up the servers for the game, I want to get an idea of how may people will play in the beta.  If you're interested, or merely curious, go ahead and sign up here.

I don't want to give an estimate of when the beta will be available, because I could be horribly wrong, so for now, it's definitely not coming this month.  It might come the next month.  It might take longer.  We'll see.  I promise if it takes too long I'll take a break from it and write more tutorials.

June 4, 2008 - Particle Engines

The Particle Engines Tutorial is now online!  This one is cool.  At the end you get to make 3D fire.  I'm going to throw on a few extra lessons which teach some of the effects you can make, such as explosions, waterfalls, smoke trails, etc.  It'll be cool.

I'm going to stop writing for a while and catch up on some of the emails I haven't read.  I can't possibly reply to all of them, but I promise you I will read all of them.

Next project to be announced soon.

June 1, 2008 - Delayed

So yes, I said the Particle Engine Tutorial would be online in May, and here it is, June 1st, with no promise kept.  But don't worry, I was only slightly delayed.  It should be online in the next couple of days.  I'm going for Tuesday.

April 20, 2008 - Ask and Ye Shall Receive

Some people started asking me what tutorial was coming next, so I thought I would issue the answer broadly.  Particle engines won the vote, and multiplayer programming came in a close second.  I guess both are popular, so I'll have to get those out.

Recently I've been writing the Particle Engine tutorial, and I think it's coming along nicely.  I'm done with most of the lessons, and it should be ready sometime in May.

February 20, 2008 - Next?

Okay, I'm up for another writing spree.  What do you want to read about?  Here's what I'm interested in writing about:

Pixel Shaders
Multiplayer Programming
Particle Engines
DirectX Audio

Email me your thoughts.

February 4, 2008 - January

Let's just say that January is not my favorite month of the year.  It's sort of like Garfield and Mondays.  I don't know what it is exactly, but January just seems to go bad for me.  This one was particularly frustrating.  I had a few work and family emergecies happen all at once and my schedule quickly became overloaded.

But now it's February, which has been a sort of month of relief in the past few years.  Hopefully I won't have to worry about any of the above for a while.  My schedule is slightly more under control these days and I can focus back on the tutorial.  Call me superstitious, but I'll take what reassurance I can get. :P

I see I never replaced the message I put up over a month ago about how lesson 5 of the Advanced Effects Tutorial would be up "any day now".  Now it really should be up any day now.  I apologize for not getting it up as promised.

Also, while I didn't get a chance to answer very many of the emails you guys wrote me, I did read them all.  As soon as I get the over-delayed lesson online I'll start answering them.

Here's to a decent February!

December 1, 2007 - Advanced Effects Tutorial Is Here!

Welcome Advanced Effects!  I've created the first three lessons of this tutorial and I've already got the next few in the making.  If you are a Premium member, go check these out.

I realize that I said I was going to put up the first four.  I decided last night that I didn't like how the fourth lesson turned out, so I'm rewriting that one from scratch.  Hopefully it will turn out better than it did on its first draft.

Because of the Advanced Effects Tutorial, I've raised the price of Premium membership to $25.00.  This is not only for Advanced Effects, but for additional things coming to members in the near future!

November 26, 2007 - Advanced Effects Tutorial Is Coming!

On December 1st, I'm going to put the first four of the Advanced Effects lessons online for premium members.  When that happens, the price of premium membership will also go up.  I want to give you a chance before then to buy your membership at its current price.

The Advanced Effects Tutorial will start with just basic HLSL lessons, and will soon go through advanced graphics such as per-pixel lighting, various reflective materials, and also shadows.

November 12, 2007 - Update...

Due to several requests, I'm now allowing anyone who has bought one of the CDs previously on sale to sign up for DirectXTutorial Premium for free.  All you will need is your Update Key which was issued with the CD.

If you already signed up for DirectXTutorial Premium, and you bought a CD earlier, drop me an email.

November 1, 2007 - DirectXTutorial Premium

If you have tried to purchase the DirectXTutorial CD from Amazon recently, you may have noticed that it has been out of stock.  I'm not going to be making any more of them, but instead I am going to place all of its contents online.

I'm doing this for two reasons.  First, so that you don't have to pay for printing and shipping costs.  Second, so that you aren't inconvenienced by a CD (which is really rather unacceptable in this Web 2.0 age).

If you haven't guessed, I'm going to call this new service DirectXTutorial Premium.  Currently, only the Game Development Tutorial is online, but I am already creating new tutorials for it.  There is a tutorial on HLSL in the works and possibly a couple others on game engine programming, covering topics such as advanced physics and artificial intelligence.  DirectX 10 is just around the corner as well.

So if you're interested in these topics, feel free to sign up.  Signing up costs $15, rather than what the CD used to cost ($39 plus shipping).  If not, the rest of the website is still available as is.

Enjoy!

October 23, 2007 - DirectX Glossary...About Time

Took me long enough, but the DirectX Glossary is now online.  I guess you could say it is in "beta", as I'm still collecting words to put in. Anytime you search for a word and it isn't found, I'll get notified, and will add it as soon as possible.

Check it out if you're interested.

May 15, 2007 - The Game Development Tutorial, Unleashed!

Today is the first day the Game Development Tutorial is officially available!  You can now buy it online at Amazon.com.  The CD-ROM you will get contains the entire website, plus additional articles and, of course, the Game Development Tutorial.  Go through this tutorial, and you will be making games in no time!

You may also notice a new change to the website.  All the tutorials now contain Next/Previous links for easier browsing in between the lessons.

As another major addition, the Game Display Tutorial has been upgraded.  It now has five full lessons, including the drawing of text and how to build a good-looking game display.  If you've been doing any of the Game Display lessons, you'll enjoy these two as well.

More trinkets to come soon!

May 8, 2007 - A Slight Delay

There was a slight and unexpected delay in the CD's production, so shipping will begin on the 15th, instead of the 10th.

April 20, 2007 - Game Development Tutorial!

This is it!  The Game Development Tutorial CD is now available for pre-order!  Order now and get 34% off the list price!

Here is what is included:

  • The entire website (an offline version).
  • The Game Development Tutorial!
  • Various (not-yet-released) supplement articles on constructing games.
  • The DirectXGlossary (will be available online shortly after release).
  • A full printer-friendly version, so you can read it like a book if you so desire.
  • Two (or three if I have time) mini games, complete with source code and graphics.

And what will the Game Development Tutorial cover?

So anyhow, that's what I've been working on for the last month and a half, and that's why you still don't see the DirectX 10 tutorial available.  DirectX 10 could be my next project.  However, I've also recieved requests for advanced gaming techniques (which this CD does not quite cover).  It seems to be about fifty-fifty between DirectX 10 and Advanced Engine Techniques for DirectX 9, so I'm undecided as to what you all want.  Only you can decide that now.  E-mail me and set your vote!

March 8, 2007 - Another Lesson for Game Display

Just added another lesson to the Game Display Tutorial. This one is on animation, and how to do it with sprites.

March 3, 2007 - Game Display Has Arrived!

I started working on this tutorial clear back in August last year.  I've finally put the finishing touches on it, and I will be releasing it lesson by lesson over the next week or two.

For now, there are two.  They cover how to draw basic 2D graphics, and a few effects that can be done with them.  Have a look through them.

It is expected that you understand textures, or at least, texture loading functions.  These can be studied in the Direct3D Basics tutorial.

Anyhow, enjoy, and check back soon for the others.

February 25, 2007 - DirectXTutorial Has a New Blog

Based entirely on a whim, I decided to try my hand at blogging.  I've just created a new blog I've dubbed Codename Ramblog.  In it I plan to discuss game programming and matters arising from it.  I've got one initial post so far, but more is to come.

February 22, 2007 - DirectXTutorial.com

I've just relocated the website to DirectXTutorial.com.  This is the first in a series of major upgrades I'm planning for the whole tutorial.

At first glance, you won't see much change.  However, I've made a large number of small changes and corrections to the site, as well as a few major ones here and there.

In addition to the routine updates, I've got some new features coming up very soon (not necessarily in the given order):

1.  A tutorial on 2D graphics and game displays.
2.  A glossary of DirectX and game programming.
3.  New Mesh lessons.
4.  New Win32 lessons.
5.  A feature to switch between languages (starting with C#).
6.  A printer-friendly version of each page.
7.  DirectX 10!

Still more will be coming, but I'll let you in on that later.  For now, look around and see all the changes.

February 3, 2007 - Hosting Nightmares

WWWWWOOOOOWWWWW!!!!!

I believe I just encountered the worst customer service in existence!

Now, after all this time, I am FINALLY going to relocate the website!  Look for it any day now.... >:(

January 9, 2007 - Relocating

I'll soon be relocating the website to a new hosting service and perhaps a new domain name...

However, don't worry. Everything will work as it used to. But if you see a few changes to the site, realize that there isn't actually anything wrong.

January 1, 2007 - Time to Get Going Again!

It has definitely been a while since I've worked on this site! As you can see below, it seems to have ground to a halt almost five months ago.

Well, it's time to get it going again! More tutorials! More features! DirectX 10! A Q&A forum perhaps? Yes, these are all coming. You'll start hearing more from me on these topics in the following weeks, and, in a short while, the tutorials and features themselves will start appearing.

It'll be soon now. Very soon now.

August 10, 2006 - Another Lesson About Transparency

New lesson on color-keys.  Check it out in the Direct3D Basics tutorial.

This is the last lesson in the Direct3D Basics tutorial that I am going to make in a while.  I'm going to be working more on creating new tutorials as features as mentioned in the About DirectTutorial section.  The first one will be the Game Display tutorial, and I will build four or so lessons before moving on to the next one, the Game Development tutorial!

I'm personally very excited about this one.  I've been looking over the Internet and I haven't found any tutorials that cover all of what I want to put in here.  I think you'll like it a lot.

Keep on checking back!  The best is yet to come!

July 12, 2006 - Yet Another Mesh Lesson

For those of you at the end of the tutorial now, there is another one waiting.  Textured meshes!  The other meshes made so far are boring, I must say.  (Although, I have seen a modern game that uses no textures at all!)

I think I've got my pace figured out.  Under normal circumstances I can create a good tutorial in about a week and a half (including time to catch up on e-mails).  If I put out a tutorial every other week, I will still have time for other things.  Perfect.  You'll see another one on this day in two weeks.

But for now, enjoy!

June 30, 2006 - What Next?

I'd like to know what's next.  You would think, of course, that if anyone knew, I would.  I have my own personal plans as to what tutorials will be made in the upcoming months, but I want to know what you want.

But, there's a bit more to that.

First, I want to know what lesson's you've done so far (if any).  I want to know how easy for you they were, how much they filled your expectations, and if they were hard, I want to know what was hard about them.

Second, I want to know if there is any part of DirectX I covered that you would like to get more information on.  You may or may not want to answer this question.  I don't mind, really.

Third, I want to know what language you use to program DirectX.  For the most of you, I will assume it is C++ (because this tutorial is in C++).  I also want to know if you would rather program in a different language, such as C# or Visual Basic.  Also tell me what version of what compiler you are using, plan to use, etc.

Fourth, I want to know what else you want to know about DirectX and game programming.  There is a vast amount of information, and that information is enough to fill many college educations.  It is virtually impossible to know it all, and literally impossible to teach it all.  So I want to know what specific subjects you want to know about.  This could be anything from DirectX to OpenGL to physics to AI, from 3D graphics art to creating sound effects, to hiring game programmers, to marketing your game, to getting money out of games, to whatever you want!

Fifth, I want to know what kind of games you want to build.  Roll-playing games?  First-person shooters?  Real-time strategy games?  Top-down shooters?  Anything.  Let me know, and let me know anything you are concerned about having to learn to accomplish that, whether or not you think I can help you with it.

Last, I want to know if there is anything else you want to tell me about this website and where it should go in the future.  I care that this site meets your expectations and that you succeed in your game development ideas.

Of course, you don't have to say all of that.  Answer any question you want to answer.  Answer two, answer five, answer them all, answer one.  Answer to your heart's desire, and no further.  To answer, answer here.

June 27, 2006 - Two New Lessons, and a New Tutorial!

Well, I didn't manage to pull off the whole one-lesson-per-day idea.  Alas, it was inevitable.

I've been working hard over the last week to put together a new tutorial.  Before, I was planning on having all the lessons involving meshes be a part of the Direct3D tutorial.  Now, I've decided to split it all up.  There is now the Direct3D Basics tutorial, which covers Direct3D initialization, basic geometry, textures, lighting and so forth.  There is also a new Direct3D Meshes tutorial, which contains everything having to do with meshes.

At this point, I'm planning on putting six lessons in this new tutorial, but I might put more.  Maybe less, who knows?  But for now, there are two.  There is the one that was there before, "Using Basic Meshes", and there is a new one called "Loading Meshes from X Files", which covers how to load 3D models that were built in 3D modeling programs such as 3D Studio Max or Maya.

There is also another lesson called "More on Lighting", which is in the Direct3D Basics tutorial.  It covers what it says, more on lighting.  Specifically, it goes over point lights and spot lights.

June 15, 2006 - Two New Lessons

Basic Lighting and Basic Meshes.

I'm on a spree.  I did two lessons in one day.  Admittedly, I had the day off today, but as long as I'm on a spree, why not say I'll make another lesson tomorrow?  Two perhaps?

No, I doubt that, but hopefully I'll be able to start churning out lessons day after day.  We'll see how well I do at that.

May 21, 2006 - New Lesson on Textures Added

As promised, I'm producing lessons for topics more advanced than simple transforms.  I've added a new lesson to the Direct3D tutorial on how to do basic textures.  This is the first of two (or maybe three) lessons on this.  Of course, if I get carried away I might just make a whole new sub-tutorial just on textures and what you can do with them.

What can I say, I guess I'm very thorough about some things.  Enjoy.

May 10, 2006 - And So It Begins!

This is it!  DirectTutorial officially begins, and with it begins three tutorials: a basics tutorial to cover Windows programming and various techniques done using the Windows programming, a Direct3D tutorial, covering from the very beginning to creating 3D models (and I'm working on four more lessons for that tutorial right now), and a DirectInput tutorial, covering the keyboard and mouse, and soon to cover joysticks and other devices.

Take note that none of these tutorials are as big as they will soon become.  Check out the About DirectTutorial section to see what's coming up in the near future.

In the meantime, enjoy what is here now, which is a series of very easy tutorials that walk you through the basics of DirectX.