Jump to content
  • Advertisement
Sign in to follow this  
  • entries
  • comments
  • views

Comments and Documentation

Sign in to follow this  



Lately I've been using Doxygen throughout all of my code. You might think it's a bit over the top or unnecessary to use a documentation generator for projects that are never going to involve more than yourself, but I have to say that if you dont use it - you should! I found that being able to browse through my code as HTML Documentation, is a great way to refresh my mind as to what I wrote one or two weeks ago (or perhaps even yesterday). Try It!

1K Journal Views

and counting...

Direct3D Rendering Counterpart

The OpenGL renderer that has been implemented now has a Direct3D counterpart. The whole system uses the Abstract Interfaces code that I posted the other day, basically the Direct3D and OpenGL renderers exist as derived classes of an IRenderer interface. I was a little concerned that both APIs wouldn't work neatly under the same interface, given that D3D is COM and GL is straight C. Things seem to have worked out okay though.

As a test of the new Direct3D renderer, I wrote a small texture blending app using HLSL (yep, the D3D interface implements shaders). The demo blends 3 textures (rock, sand, grass) using a single rgb alpha map.

I'm getting a little tired of worrying about graphics APIs lately, so I'm sure to start working on actual game code soon. But first I want to get some sort of Scene Graph up and running.

-- Oh and those example textures aren't mine. I found them while searching for examples of texture blending shaders. I believe they're from a book on terrain texture blending in DX9.
Sign in to follow this  


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!