GeorgievLab / CeCe-core

CeCe core library
http://georgievlab.github.io/CeCe/
GNU General Public License v3.0
0 stars 1 forks source link

Improve physical engine debug visualization performance #4

Open NTSFka opened 7 years ago

NTSFka commented 7 years ago

Physic engine visualization uses direct draw functions which are expensive and when simulation contains a large amount of objects the visualization is slow.

Improvement can be done by changing draw function calling to GPU buffer with draw data or even use instancing (the best solution but harder to implement).