Πέμπτη 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.