Thursday, November 12, 2009

Materials, textures, and models


Finally getting back into the groove of life after all of the big changes that have happened recently. I have next to no time to work on this project these days, but that doesn't stop me from putting in an hour or two whenever I get the chance (which seems to be maybe once a week or so). Anyhow, in the time since my last tech-related post I've completely revamped the way meshes are loaded and the way materials and textures are handled and I really like how nice it has become.

I've also updated the engine to be initialized using an XML config file, which makes setting things up nice and easy. Getting the window created, mesh, textures, and shaders loaded, and everything rendering is done in just a dozen or so lines of code. With my lack of free time I may be moving a little slowly, but I am getting somewhere. Stay tuned for more updates.

Sunday, October 11, 2009

Server down!


I've forgotten to mention that the server which all of my demos are hosted on is currently down. It will be back up in a while (likely a week or so). This is due to having moved and not having the time to orchestrate the timing of reconfiguring a router that doesn't belong to me. I apologize to anyone this inconveniences in the mean time.

Sunday, October 4, 2009

Life's changes. . .

Wow. Life. If you've been wonder what happened to me for the last few months, that sentence about sums it up. Since my last post I quit my old job, got a new one, and moved across the country just in time to catch a storm which left 3½ft of water in my basement. Life. All that aside, things are pretty good, so I can't really complain. New stuff coming soon, just thought I'd let you all know I'm still alive.

Saturday, July 11, 2009

3DS Max Integration!

It's been a while since I've posted anything here. Don't worry, I haven't abandoned the project, life has just gotten really hectic as of late. That aside, I find myself with a bit more free time these days, so I can once again bet back into the swing of things with coding my engine, codenamed DM3D.

After a long and arduous battle with the 3D Studio Max SDK, I managed to integrate the engine directly into the 3D Studio Max interface. This will prove extremely useful as I make models and objects for the small games I have in mind. The idea for adding this functionality was admittedly conceived after I ran into a tool for the Ogre3D engine known as oFusion. I will be creating an external "level editor" for future games, though I believe having the ability to view art within the modelling application itself exactly as it will appear in game will be of large benefit in the future.

I have also been researching and playing around with the now-popular techniques for deferred shading and deferred lighting. There is certainly a lot to consider when it comes to deferred versus forward rendering techniques, but I am really beginning to like the advantages offered by a deferred rendering solution. If I can come up with a satisfactory way to solve the alpha-blending issue, I will most likely implement this technique.

As always, other small advances have been made, bugs have been fixed, things have been changed. I'm still alive, the project lives on! By the way, I failed to mention in any posts before, if you have any questions about how I've implemented a certain technique or you have any suggestions, feel free to drop me an email, the address can be found on my profile page by following the "View My Complete Profile" link on the right side of the page.

Wednesday, March 11, 2009

Going International

Hello everyone. I know I really should update this blog more often... I'm trying, really! Things are really starting to move forward over here. A few more little features to finish up and it will be time to start a small game. This project started out with a simple desire to learn more about the math behind graphics and physics coding and has turned into a full-blown desire to make something awesome. Don't worry, I have quite a bit of experience in software architecting and the amount of effort that goes into making a game (it is what I do for a living, after all), so there's no need to fear that I'll be jumping off the deep end and trying to compete with a commercial AAA product with my little project I devote maybe an hour per day to single-handedly.

That said, I'll be starting on a version of Pong I've been thinking of for the last couple of months. That's right, Pong. "But why do you need all this fancy 3D technology and a real game engine to make Pong?" you may ask. Wait and see, my friend, wait and see.

Anyhow, on the update front, there have been lots of new toys and updates added to the engine, the most recent of which is support for true-type fonts (and pretty much any other type) utilizing the FreeType library (http://www.freetype.org/). With this added functionality there's now real support for unicode text within the engine, which is awesome for making localization easier. I've also added support for sprites with transformations calculated on the GPU, as well as simple 2D rendering via a very easy to use interface. In addition to that, single-pass multi-texturing is also available, able to render as many textures in a single pass as your video card can handle.

Overall, it's been a productive month, as far as a project being done in my "freetime" can be considered productive. I can't wait to actually start work on Pong. I love game dev.

Monday, February 16, 2009

Still Alive


It's been a while since I last posted, but I'm still alive and kickin'! Getting married does take up a lot of time, though. Anyhow, I've made a bit of progress since the last post. I've now learned quite a bit about the Huffman and LZW compression methods, and implemented compression into my custom 3D file format. I also added better support for vertex coloring, as well as an updated exporter for 3D Studio Max. Believe it or not, all the fancy coloring and shadows there are completely done through vertex colors with the fixed-function pipeline, no fancy lighting or shadow mapping involved at all.

Though it's not pictured here, also added is the ability to save and load textures and some nice shader integration. A lot of code has been cleaned up, input has been added, and a lot of other neat little features. I'm getting quite excited about creating a new game with this! More progress to come in the future...

Friday, December 12, 2008

The start of something new


It's been a while since I've made a post here, so I figured I'd update everyone as to what I'm up to these days. My love for graphics programming has once again caught up with me and I've begun working on a small, simple graphics engine with which I intend to make several small games. The project began with the desire to learn more about the math behind both graphics and physics programming, and hopefully it will end in something fun for everyone. The image posted, although simple, represents a lot of work and potential functionality. And yes, that is the moogle suit Yuna wears in FFX-2 (sorry Square, don't sue me!).