ogre icon indicating copy to clipboard operation
ogre copied to clipboard

prototype sample improves cpu perf by at least 30%.

Open creadmefford opened this issue 5 years ago • 2 comments

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.

creadmefford avatar Oct 10 '20 15:10 creadmefford

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.

paroj avatar Oct 18 '20 22:10 paroj

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!!!

creadmefford avatar Oct 18 '20 23:10 creadmefford