Today i started by refactoring a lot of really bad code.
Then i wrote a class to count the fps, and i immediatly made a few tests to see how many mesh i could render without impacting the performance.
The result is around 25.000 cubes, which is nice considering my horrible gpu.
After that i readapted an old classes i wrote, which allows me to handle all the inputs from the user.
Using this class i was able to finally make my camera works, and now i can move around the map with the wasd-qe keys.
This allowed me to notice a bad bug on the Z axis, which stretch itself while i zoom away. Tomorrow i'll try to fix it.

Nessun commento:
Posta un commento