All pastes #46708 Raw Edit

cochi

public text v1 · immutable
#46708 ·published 2006-03-23 17:45 UTC
rendered paste body
=== (partial) code ===

 Ogre::ParticleSystem* partSys = Ogre::ParticleSystemManager::getSingleton().createSystem("TestParticle", "MemePart/1");
 Ogre::SceneNode* partSN = mSceneMgr->getRootSceneNode()->createChildSceneNode("Particle");
 partSN->attachObject(partSys);


=== meme.material ===

material MemeMat/1
{
	technique
	{
		pass
		{
			lighting off
			scene_blend add
			depth_write off

			texture_unit
			{
				texture flare.png
			}
		}
	}
}


=== meme.particle === 

MemePart/1
{
    material        MemeMat/1
    particle_width  10
    particle_height 10
    quota           1
    billboard_type  oriented_self

    renderer	    billboard
    
    // Area emitter
    emitter Point
    {
        angle           30
        emission_rate   30
        time_to_live    5
        direction       0 1 0
        velocity    	0
        colour_range_start  1 1 1
        colour_range_end    1 1 1
    }

}