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

Δεν υπάρχουν σχόλια: