Πέμπτη 29 Νοεμβρίου 2007

Parallax Occlusion Mapping


Simple opm is added ,the shader comes from the render monkey library.The results are nice but i think it can get even better by using the shader from the directx sdk sample which takes account the visualization of level of detail colours of the texture.A skybox is also added (u can see it behind ;) ) .

Σάββατο 17 Νοεμβρίου 2007

FREAK SHOW



In this screen shot Cyberdemon wears his original clothes,also I added pinky and a zombie in the show .The number of triangles shown is wrong , I haven't included something ;). The fps stays at 30 ,more optimization is needed but I am at the beginning

Πέμπτη 15 Νοεμβρίου 2007

Optimization

I did some optimization stuff back on the end of September which involved working a little bit with vertex buffers ,rearranging my code and rethinking about how to calculate efficiently the animation of the model. I made a huge mistake by recalculating the index buffer for each frame and after fixing that I had 100% increase into my frame rate.The next step is to calculate the normals by using the influence bone positions just like the vertices and not to recalculate on each frame.Since I am using bump maps for lighting there is the need to optimize the tangents also but I haven't figure out how this will be done.Last I add into my engine a small resource manager for my textures based on stl maps in order to keep tracking what is load in order not to reload it again.Thinks are involving despite the October break, lot of work and Java seminars.

Κυριακή 9 Σεπτεμβρίου 2007

Some references

Some things about the demo,the source code for the md5 model is based on this site
tfc.duke.free.fr
which provides an opengl implementation.The bump mapping technique is
taken from the ati hlsl shader which can be found in the RenderMoney demos,
as for the shadow mapping I used the shader provided from the book
"Introduction to 3D Game Programming with DirectX 9.0c: A Shader Approach" by Frank Luna,
where i made some small changes. There are some optimization issues but iam still in the beginning.
I know that the textures seem weird the explanation is easy for the cyberdemon i used the skin from the zombie model ;) still it seems cool.

First things first


Greedings and welcome to my blog.The purpose of this blog is involving around computer programming in general .Few months ago i started writting a small game engine using directx 9c and c++ as an excercise in 3d graphics.This is the first screenshot.So far my little engine supports
doom 3 md5 animation, real time lighting using normal mapping and real time shadows using shadow maps .