AdvancedParticleSystem with IrrEdit plugin

Post those lines of code you feel like sharing or find what you require for your project here; or simply use them as tutorials.
Brainsaw
Posts: 1176
Joined: Wed Jan 07, 2004 12:57 pm
Location: Bavaria

Re: AdvancedParticleSystem with IrrEdit plugin

Post by Brainsaw »

Not in my opinion. In the first image you see a cloud of smoke generated 60 times per second (the car is quite fast at this point), but in the second image those clouds are distributed better, so that it doesn't look like that smoke is generated at fixed intervals. I guess I have to play around a little, e.g. generate more smoke, that should make it look better ;)
Dustbin::Games on the web: https://www.dustbin-online.de/

Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
hendu
Posts: 2600
Joined: Sat Dec 18, 2010 12:53 pm

Re: AdvancedParticleSystem with IrrEdit plugin

Post by hendu »

Oh. From reading your post I assumed it should be continuous, not separate puffs.
CuteAlien
Admin
Posts: 9633
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: AdvancedParticleSystem with IrrEdit plugin

Post by CuteAlien »

I remember we had the same problem in H-Craft. Vehicles moved fast and particles were only emitted after object-updates instead of between the last position and current.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Re: AdvancedParticleSystem with IrrEdit plugin

Post by hybrid »

Didn't we add some code recently to distribute the particles? At least it would be possible to do so in the particle system.
CuteAlien
Admin
Posts: 9633
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: AdvancedParticleSystem with IrrEdit plugin

Post by CuteAlien »

Hm, you added some better random generator ~10 months ago. Not sure right now if that was for the same problem. Could be - I haven't used it recently.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Re: AdvancedParticleSystem with IrrEdit plugin

Post by hybrid »

No, the rng was not changed, I just exposed the interface and added another one which could be used instead.
Brainsaw
Posts: 1176
Joined: Wed Jan 07, 2004 12:57 pm
Location: Bavaria

Re: AdvancedParticleSystem with IrrEdit plugin

Post by Brainsaw »

OK, so I see this seams important to other people as well ;). But the main idea behind this advanced particle system was just to get better (de)serialization and cloning, which is the most important point for me (e.g. all ammo is in the scene as template and just copied once a missile (or bullet) is shot, including the explosion (which is activated when something is hit)).
Dustbin::Games on the web: https://www.dustbin-online.de/

Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Post Reply