REGoth-project / REGoth

OpenSource-Reimplementation of the zEngine, used by the game "Gothic"
GNU General Public License v3.0
630 stars 63 forks source link

Renderer performance #283

Closed ataulien closed 6 years ago

ataulien commented 6 years ago

Implemented frustum-culling for most objects

Performance on Android has been significantly improved. On Desktop, it hardly dips below 300fps now in the old camp for me (before ~80).

markusobi commented 6 years ago

The performance improvement is great, but there is an issue with NPCs (i.e. sheeps) popping up too late at the screen edges.

sheep nosheep

ataulien commented 6 years ago

Fixed the issue with the sheeps: They actually didn't have a bounding-box assigned the same way as the other skeletal meshes. Also fixed a similar issue with the particle effects popping out of view too early.

If no other issues are found, this would be ready to be merged again!