Quantcast
Viewing all articles
Browse latest Browse all 40524

Best way to draw an array of objects

yes, you could remove the intermediate mesh it's just to make simpler the update method also you can create any shape without the main app having to know in which order to add the points.

try removing the update method and creating the mesh in setup as i said that should give you much better performance.

in any case you should also measure the usage of the gpu, the easiest way to measure the overall performance is to let the app run without fps limit, by disabling vsync with ofSetVerticalSync(false) and see which version has more fps


Viewing all articles
Browse latest Browse all 40524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>