[added in 1.6] Particles System Contribs

You can help us to improve Brume ! Post your contribs here and we will try to integrate them in next release for other users !

Moderator: Brume Dev Team

[added in 1.6] Particles System Contribs

Postby MoDDiB on Fri Jun 29, 2007 11:40 am

I worked on a particle system for Brume.
I'm not totally satisfied by all for the moment but I don't have time to work more on it for now.
Only fade doesn't work.
I think I'll add comment during the next month.
here's the source code : http://jean.esteves.free.fr/Brume/BrumeParticles.zip

Have fun :)

Image
MoDDiB
Brume user
 
Posts: 83
Joined: Mon Nov 20, 2006 5:05 pm

Postby Silmaryls on Fri Jun 29, 2007 10:39 pm

Thanks MoDDiB,

Really nice contribution.
User avatar
Silmaryls
Brume Team Member
 
Posts: 340
Joined: Tue Feb 21, 2006 10:09 pm
Location: Paris - France

Re: Particles System Contribs

Postby Silmaryls on Thu Jul 19, 2007 11:55 am

Hi MoDDiB,

I finished the integration.
I then tried to replace my snow sample with your particle system. I managed to create snow flakes randomly but I still have problems with particle speed.
In fact the snowflakes are appearing and staying a while before they move down.

Can you help me with that one ? Here is the source code :

Code: Select all
ParticlePointEmitter snowPointEmitter = new ParticlePointEmitter(null, eParticleEmissionMode.Continious, BrumeVector.Empty, new BrumeVector(0.0f, -1f, 0.0f), 0.0007f, 0.1f);
snowPointEmitter.DirectionNoise = 0.2f;
snowPointEmitter.PositionNoise = 60.0f;

ParticleSystem snowParticleSystem = new ParticleSystem(this, GetTexture("starsnow.jpg"), 1, 200, 1500, 1000, Color.FromArgb(100, 150, 200), snowPointEmitter);

ParticleAcceleratorProcessor snowAcceleratorProcessor = new ParticleAcceleratorProcessor(0.00002f, 0.000005f);
snowParticleSystem.AddProcessor(snowAcceleratorProcessor);



One other thing : I also noticed that accelerator and maybe other processors are FPS dependent.
You can easily test it with your fire sample : just slow down the app to 20 FPS (the fire will be more concentrated).

If you can help me with those two things it would be great for the release ! :wink:
User avatar
Silmaryls
Brume Team Member
 
Posts: 340
Joined: Tue Feb 21, 2006 10:09 pm
Location: Paris - France

Re: Particles System Contribs

Postby MoDDiB on Thu Jul 19, 2007 3:52 pm

Silmaryls wrote:One other thing : I also noticed that accelerator and maybe other processors are FPS dependent.

Oh I surely thought I done it but it wasn't done :)

I'll watch were the bug can come from ASAP : before the 25th I hope :)
MoDDiB
Brume user
 
Posts: 83
Joined: Mon Nov 20, 2006 5:05 pm


Return to Contribs

Who is online

Users browsing this forum: No registered users and 0 guests

cron