Questions tagged [particle-system]

The term particle system refers to a computer graphics technique that uses a large number of very small sprites.

The term particle system refers to a computer graphics technique that uses a large number of very small sprites.

Particle systems include fire, explosions, smoke, moving water (such as a waterfall), sparks, falling leaves, clouds, fog, snow, dust, meteor tails, stars and galaxies, or abstract visual effects like glowing trails, magic spells, etc.

For more details: Visit

560 questions
0
votes
1 answer

Three.js particles vs particle system and picking

I have an app that uses a Three.js ParticleSystem to render on the order of 50,000 points. I have spent a lot of time searching for efficient ways to do picking (ray-casting) so as to be able to interact with individual points but have not found a…
0
votes
2 answers

SPH fluid - kernel derivitive

I'm currently trying to create an SPH fluid simulator. To get started I've tried to implement the paper from Müller. So the whole algorithm is based on calculating three different forces (pressure, viscosity and surface tension). The pressure-force…
Daniel
  • 2,993
  • 2
  • 23
  • 40
0
votes
1 answer

Setting angular velocity to 2d particle group

I have a 2d group of particles that I'd like to set its angular velocity, for the particles to spin around their group center. I found this method to get the angular velocity of the group, and I have tried inverting the logic to actually set the…
Claudia
  • 726
  • 1
  • 6
  • 20
0
votes
1 answer

Updating particle position

I'm just starting with C++, and I'm trying to practice it with a simple Particle system with SDL and GLM. For now the particle emitter emits 1 particle (before the game loop). Then I call the update method for every particle in the vector (just 1).…
Basaa
  • 1,615
  • 4
  • 20
  • 41
0
votes
1 answer

unity particle doen't play second time

I have a particle system defined in my game objects. When I call Play it plays (it plays for 5 seconds by design). when I call Play again nothing happens. I tried to call Stop and Clear before recalling Play but that didn't help. Can particle…
0
votes
0 answers

Particle emitter works in one app, but not another

I've been experiencing some difficulties with particle effects. Originally I posted a question about how the particle effects in my app were different when on an ios6 device. Particle system looks different on iOS 6 and ios7 I Originally designed…
Matthew
  • 13
  • 5
0
votes
1 answer

How to locate CCParticleFire, so that it will be always at the same position as a moving sprite?

I have a sprite and a particle fire. Sprite is moving, so I want fire be at the same place as sprite all the time. That's what I tried. _abcdis the name of sprite. CCParticleFire *emitter; emitter = [CCParticleSystem…
user3475724
0
votes
2 answers

Slick2D Particle System - Particles misplaced when first spawned

So I am using the Slick2D particle system for some effects in my game, and it worked pretty good so far. But now I found out that the very first wave of particles being spawned is always misplaced for me, exactly twice the distance it should be (x…
flotothemoon
  • 1,882
  • 2
  • 20
  • 37
0
votes
0 answers

Particle system looks different on iOS 6 and ios7

I have a couple of particle systems on my app that I checked originally on an iPad 3 with ios7. The particles looked and behaved like I expected them, but when I test on an iPad2 with ios6. The particles are displaced up and are smaller. I have a…
Matthew
  • 13
  • 5
0
votes
0 answers

OpenGL - rendering particles and terrain works, but not a tthe same time

I am working on a school laboration whereas my task is to render a basic terrain using a heightmap, and also some sort of particle system (right now I'm just blasting away points that are drawn into flat squares). The problem is that while I can…
0
votes
0 answers

particle-system libraries in conjunction with opencl

For scientific research I need to simulate particles -- muons, which emit photons, and photo-detectors. The emphasis is not on realtime rendering of results (rendering would be a Could-have ), but rather massive amount of particles. Are there any…
hbogert
  • 4,198
  • 5
  • 24
  • 38
0
votes
1 answer

Optimizations with value types and method calls using ref

I'm making a simple particle system in C#/XNA, and since there would potentially be a high volume of method calls every second, I wanted to make sure I understood exactly how everything works. I have a Particle and Emitter class such that: public…
Kyle Baran
  • 1,793
  • 2
  • 15
  • 30
0
votes
1 answer

Particle Animation as3 Layering

I have battled through several tutorials to come up with the perfect particle snow effect. The only thing I need to do now is duplicate the particle effect and have a second version of it play between my background and foreground. The original I…
horribly_n00bie
  • 79
  • 1
  • 11
0
votes
2 answers

Display ParticleSystem when the OnCollisionEnter kicks in

I have 2 audio clips playing when the OnCollisionEnter function kicks in, I would like to also display a particleSystem, at the position where collision occurred. Here is the code; private var beenHit : boolean = false; private var targetRoot :…
user2486940
0
votes
1 answer

Collision handling in a JavaScript/canvas particle system

I have a basic particle system in JavaScript (utilising canvas for rendering), and I'm trying to find the best way to handle collisions between particles. The particle system can handle about 70,000 particles at a pretty decent FPS. It consists of…
Sosumi
  • 759
  • 6
  • 20