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
3
votes
2 answers

Haskell Particle simulation - calculating velocities of particles

I am working on a particle simulation program using Haskell. For one of the functions I am trying to determine the new velocities of all the particles in the simulation based on the mass and velocities of all the surrounding particles. The function…
3
votes
2 answers

Export Blender Particle System Hair To Three.JS

After several months of casual research on three.js as I work on a model in Blender 2.7 I have yet to locate a method for exporting the blender particle system hair? By chance would anyone have any ideas how would I go about achieving this feat,…
user2544743
  • 141
  • 5
3
votes
0 answers

Three js Raycasting intercepting particles with attenuated sizes

I'm trying to use a Raycaster to intercept particles in a PointCloud object. The point cloud is being created as such: ... other initializations, like the scene object... var geometry = new THREE.Geometry(); var sprite =…
3
votes
1 answer

Differences between CAEmitterCell and SKEmitterNode

I've reading Apple's guide to the Particle Emitter Editor to help me understand some of the concepts behind Particle Systems in iOS 5. I'm adding my particle emitter programmatically not using the Particle Emitter Editor and I'm using CAEmitterCell…
pingin
  • 482
  • 1
  • 6
  • 19
3
votes
1 answer

How do you display a Libgdx particle effect on a white background?

Currently in my render() the background colour is set to white but when I change it to white I cannot see my effect at all. I was wondering whether there was an option I need to enable or a line of code I might have missed? public void render(float…
user3197976
  • 101
  • 6
3
votes
2 answers

How to produce Particle System in THREE.js

I am making game in which I want to add smoke, flame and blast effect. I am using THREE.js library for the game making. I tried lots of technique but can't find the result. I tried SPARK.js library and the particle system of THREE.js itself but did…
Najam-us-Saqib
  • 526
  • 3
  • 10
  • 23
3
votes
2 answers

How to apply luminosity uniformly on hair particules with OpenGL using GLSL shaders?

I have created a hairstyle with Blender 2.66 using hair particle system. This looks like this : As you can see, the luminosity has been applied on line fragments. After conversion, I have exported my hairstyle mesh to OBJ file format. I parsed it…
user1364743
  • 5,283
  • 6
  • 51
  • 90
3
votes
1 answer

CUDA C/C++: Calculate the average of inverse of distance per point (interaction energy, perhaps?)

I've been trying to write a kernel in that calculates the sum of the inverse of the distance between N given points over N. A serial coda in C would be like average = 0; for(int i = 0; i < Np; i++){ for(int j = i + 1; j < Np; j++){ …
Bessa
  • 107
  • 7
2
votes
3 answers

Calculate points around a sphere

How can I calculate points around a sphere? I need this for my particles explosion. I don't want the particle's points to be all random. I need them in a spherical pattern. For 2d circle explosion I was using this: float n=many; float rad = 1; for…
SteveL
  • 3,331
  • 4
  • 32
  • 57
2
votes
1 answer

How know which particles of a particlesystem are in the frustum

I'm using Three.js and webGLrender to display a hockey stadium with its seats (80k particles) and i want to be able to do picking on each seat. I've tried to create a hidden object to use ray interception but with 80k objects all becomes too slow.…
2
votes
2 answers

How to pause/resume CCParticleSystem in Cocos2D-iPhone?

I am currently making a game in Cocos2D, and I need to pause/resume some particle systems in order to optimize. How can I do this? I am aware that I can use [particleSystem unscheduleUpdate] and [particleSystem scheduleUpdate], but how can I check…
2
votes
2 answers

2D Particle System - Performance

I have implemented a 2D Particle System based on the ideas and concepts outlined in "Bulding an Advanced Particle System" (John van der Burg, Game Developer Magazine, March 2000). Now I am wondering what performance I should expect from this system.…
Ben
  • 15,938
  • 19
  • 92
  • 138
2
votes
2 answers

How do I draw 1000+ particles (w/ unique rotation, scale, and alpha) in iPhone OpenGL ES particle system without slowing down the game?

I am developing a game for iPhone using OpenGL ES 1.1. In this game, I have blood particles which emit from characters when they are shot, so there can be 1000+ blood particles on the screen at any one time. The problem is that when I have over…
BigSauce
  • 1,830
  • 3
  • 21
  • 27
2
votes
1 answer

Problem implementing an equation into an animation

I'm using the following code to simulate the motion of a set of particles, where a parameter p determines the probability of a given particle to move or not, and generates an animated plot: # Comparação entre random walk e difusão em 1d import numpy…
2
votes
0 answers

My particle system is not working and I unsure why

I am trying to have a mini-explosion in my game so I am using a mini-explosion, however it doesn't work, here is a video showing what is happening: https://youtu.be/S_U4AN-RFFQ. Basically it randomly triggers the effect and I am unsure why this…
Arnice123
  • 195
  • 6