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
6
votes
0 answers

How to create lines between nearby particles in ThreeJS?

I have been able to create a particle system for canvas, which was simple and effective. Here is a demo: https://awingit.github.io/particles/ Now what I would like to do is create the same thing in Threejs. However, I have not yet found any examples…
Awin
  • 261
  • 1
  • 9
6
votes
1 answer

is it possible to render particles behind semi transparent objects in scene kit ?

I'm trying out Scenekit and I'm running into an issue when I'm trying to render particles behind semi transparent objects. They simply don't render while other objects in the scene do. On this pictures all particles are in front of the semi…
Xav
  • 270
  • 3
  • 13
6
votes
1 answer

How to make a sliding member in Processing with particle systems

I am simulating particle system in Processing. Based on Daniel Shiffman’s Nature of Code book, I did a spring and then I started experimenting with sliders to do one that has longer or shorter length based on a slider. Now, I am trying to make one…
Apollon1954
  • 1,388
  • 4
  • 16
  • 33
6
votes
1 answer

exploding 3D text with particle system (Swift - SceneKit)

I am making some exploding 3D text with Swift SceneKit. Here is the text: let text = SCNText(string: "Exploding Text", extrusionDepth: 5) let node = SCNNode(geometry: SCNText) scene.rootNode.addChildNode(node) and here is my particle system: let…
quemeful
  • 9,542
  • 4
  • 60
  • 69
6
votes
2 answers

Particle system using webgl

For a graphics course, we are implementing a particle system in WebGL. Doing the particle simulation calculations in JavaScript would be quite slow, our professor wants us to do the particle simulation on the GPU. To do this particle simulation, I…
newprogrammer
  • 2,514
  • 2
  • 28
  • 46
6
votes
2 answers

Render SpriteBatch + ParticleEffect in 3D space in libgdx?

I am using libgdx version 0.9.9. I want to render a fire effect using ParticleEffect in 3D space along with other 3D models. Logical flow of my code: ModelBatch Begin Render all 3D models in Bullet World using ModelBatch ModelBatch End SpriteBatch…
6
votes
2 answers

Changing CAEmitterCell properties of CAEmitterLayer after emission starts

When I first set up the emitter I can do this: self.cell = [CAEmitterCell emitterCell]; self.cell.yAcceleration = 20; ... self.emitter.emitterCells = [NSArray arrayWithObjects:self.cell,nil]; But say I create a timer that fires 5 seconds later, and…
soleil
  • 12,133
  • 33
  • 112
  • 183
6
votes
2 answers

libgdx particleEffect rotation

I draw fire on my android device with libgdx: ParticleEffect effect; ParticleEffectPool fireEffectPool; Array effects = new Array(); @Override public void create() { ... effect = new ParticleEffect(); …
Leo
  • 3,003
  • 5
  • 38
  • 61
6
votes
1 answer

libgdx particle system Z coordinate

I want to render a particle effect in 3D using the Z coordinate. I've tried to implement a own ParticleEffect using Decals instead of Sprites without success. Is there any other way to render a ParticleEffect using the Z coordinate? Maybe by…
Roman K
  • 3,309
  • 1
  • 33
  • 49
5
votes
1 answer

GLSL PointSprite for particle system

I'm using an ParticleSystem with PointSprites (inspired by the Cocos2D Source). But I wonder how to rebuild the functionality for OpenGL ES…
Constantin
  • 8,721
  • 13
  • 75
  • 126
5
votes
1 answer

Physics messed up with cardboard scene in Unity

I am in the process of putting together an app using the Google Cardboard SDK. The user will be able to use the app with or without cardboard. So, there is a switch button inside the app, that activates and deactivates stereo rendering. The app also…
5
votes
1 answer

How to implement a particle engine

So I have made a particle engine for smoke that I'm pretty happy with I think it fits my game pretty well. I now need to implement it into my game and I'm having a little bit of trouble. I was wondering if someone could explain how I would go about…
user1758231
  • 1,001
  • 3
  • 14
  • 20
5
votes
1 answer

Cocos2D - Particles follow the emitter instead of staying at the position they were released

In cocos2D I currently have a very simple particle emitter initialized like this: turnEmitter = [[CCParticleFlower alloc] init]; turnEmitter.texture = [[CCTextureCache sharedTextureCache] addImage:@"Pocket.png"]; [self…
CodingBeagle
  • 1,888
  • 2
  • 24
  • 52
4
votes
2 answers

Should Particle systems be updated entirely in the geometry shader

Should Particle systems be updated entirely in the geometry shader or should the geometry shader be passed updated data for positions and life ect. At the moment i update everything in the geometry but iam not sure if this is the best idea incase…
RobBain85
  • 77
  • 1
  • 9
4
votes
2 answers

Pure Javascript particle repeller from base64 encoded png

I have some js code that i copied from a youtube tutorial and adapted for my own project to fill the header, the code works as intended and it works when the viewport is smaller than around 1200px, however when i put firefox into full screen the…
1
2
3
37 38