Showing posts with label DX10. Show all posts
Showing posts with label DX10. Show all posts

Saturday, January 16, 2010

By the Broccoli in my hand...


Yes you see right. That is a flying saucer fighting a giant broccoli.

Video here : http://www.youtube.com/watch?v=FsAVcQAfC3s

What's new? Well I finally figured out what was wrong with my directional shadowmapping... embarrassing, really. I didn't realize that in orthogonal projection the z is already clamped between 0 and 1, I kept trying to divide it further by Z far... oops!

The decals are painted using a way I kind of theorized on my own, still needs work. Basically, a billboard quad is rendered and then we figure out the distance to the pixel behind it to figure out the tex coords and all that jazz. I will explain it more coherently when I have it perfected.

The bonus of this is no monkeying around with copying geometry, finding tex coords, etc. nonsense... this gives us seamless decals across all static geometry. FUN!

Saturday, January 9, 2010

Codename Foof Engine - My 3D engine.

So, I figured I'd start work on my own little 3D game engine. I'll detail my progress and all the gritty little details so that you might implement it in your own projects.

Let me start with a simple gameplay video of a cheese character collecting coins in a forest. Naturally, I promised you awesomeness and awesomeness I devliver.

http://www.youtube.com/watch?v=5WZbveP7WeI

- WARNING - BORING GEEK STUFF AHEAD - WARNING -
My 3D engine is based on a deferred rendering architecture. That means that the lighting, fog, etc. is all computed post process. The rendering is split up into multiple parts. It takes up some more memory, but it makes it a lot more robust and open ended. My other videos will show more advantages of this.

I am using a model format that I created myself, it supports skeletal animation.