🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Movin' On Up

Published August 31, 2007
Advertisement
Article Demo Submitted!At long last, the article demo has been submitted and is out of my hands. I'm quite happy with how it turned out, but was really surprised about how much time investment it takes to put together a decent demo. So I thought I would do a small post-mortem about the demo to share my experiences. The demo is written in c++ using D3D9 as the rendering API:

I started out with the basic windows code and message loop. It was a simple start and the code was pretty much the same that I have always used for window creation, so that's where I launched from.

After that, I decided not to use my engine to perform all of the rendering. There were two reasons for this:

1. I wanted to include the source code for the demo, and I'm not about to release the source code to the engine that I've been working on for 4+ years!

2. Basic API usage was pretty straight forward and I wanted to keep it simple.

I basically copied parts of my engine's renderer that manage the DX9 API for whatever I needed to add to the demo. This included device creation, vertex declarations, texture loading, font loading, basic drawing operations, etc... You really don't realize how much your renderer does for you until you don't use it!

That part was pretty easy to get working, but just took some time to test out. After that was finished, it was a matter of creating some content for the demo - I'll have to finish that discussion up next time...
Previous Entry Laptop is here!
Next Entry Asset Creation
0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement