Re: [osg-users] Creating a flame of rocket

2016-09-26 Thread Suraj Paul
Hi Jannik, Here's my code i am using the create the particle system and emitter. I am creating two particle systems--one for each exhaust of the rocket.:-- int main() { osg::ref_ptr mt = new osg::MatrixTransform; osg::ref_ptr mt_2 = new osg::MatrixTransform; osg::ref_ptr trans= new

Re: [osg-users] Creating a flame of rocket

2016-09-26 Thread Robert Osfield
Hi Suraj, For flames I wouldn't use osgParticle these days. Personal I'd implement it using shaders and perlin noise. In include/osgUtil/PerlinNoise you'll find a helper class from creating the image that you can assign to a texture. Also look online for tutorials on how to use Perlin noise,

[osg-users] Creating a flame of rocket

2016-09-25 Thread Suraj Paul
Hi all, I am trying to create a exhaust flame of a moving rocket similar to one shown in attached image 1. I need only the exhaust plume of the rocket. The rocket is moving [b]fast[/b]. To do so, I used osgParticles to make the particle system as shown below in code: sg::ref_ptr ps =new