iDevGames Forums
osg::Particle how to change de texture of each particle - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Game Programming Fundamentals (/forum-7.html)
+--- Thread: osg::Particle how to change de texture of each particle (/thread-1025.html)



osg::Particle how to change de texture of each particle - zinbawe - Jul 13, 2009 03:59 AM

Hi,
I want to change the texture of each particle while they are moving forward so it´ll take moving efect. Normali you set up a particle system and set there what texture it will have, that happens before the particle starts. How can I do to change the texture to each particle after they start?
I dont know if this post is clear enought. Tell me is there is any doubts. thanks in advance for your help.

Iban


osg::Particle how to change de texture of each particle - DoG - Jul 14, 2009 12:46 AM

Just as a bit of generic advice, don't use OSG. It's a scenegraph that is too CPU-heavy, as it was designed a long time ago when GPUs weren't nearly as powerful as they are today. The end result is mostly abysmal performance compared to a modern rendering pipeline.