ogre
ogre copied to clipboard
prototype sample improves cpu perf by at least 30%.
obviously this is just for review and not to actually merge.
i compile this in my particle editor, not as part of ogre so i add a '2' to everything to avoid clashes. (slightly cleaned up the '2's to reduce file diff noise for review purposes.)
none of this is cleaned up, just the min to take perf measurements. i also don't think i'd include the per-particle width/height as you could always create multiple emitters of varying size.
main classes to look at: Ogre::Particles, Ogre::ParticleSystem, Ogre::ParticleEmitter, Ogre::PointEmitter.
if you want 10% more and can live with point billboards, make sure you enable point sprite rendering as in the Examples/GreenyNimbus particle_system.
if you want 10% more and can live with point billboards, make sure you enable point sprite rendering as in the Examples/GreenyNimbus particle_system.
oh nice, i will check that out, thanks!!!