Questions tagged [particles]

Particle in computer graphics usually refers to the small, simple images or 3D models (meshes) that are governed by and make up a particle system, usually used to depict a fuzzy object (e.g. fire, smoke, glowing trail left behind by a meteor).

Particle (in computer graphics)

Particles are small units that together represent a fuzzy object in a particle system. Over time the system generates particles, which move and change from the origin of creation (or emission) and eventually die or fade away. Link to academic paper

Particle can have a different meaning depending on if the field is computer graphics, nanotechnology, or physical sciences

788 questions
3
votes
2 answers

How to render non trivial particles in OpenGL

I have a particle system where the positions and various properties are stored in a vertex buffer object. The values are continuously updated by a CUDA kernel. Presently I am just rendering them using GL_POINTS as flat circles. What I am…
Mr Bell
  • 9,228
  • 18
  • 84
  • 134
3
votes
1 answer

Accelerating the calculations in Python (Simulation of particles in a magnetic field)

A have a problem with the speed of the program written in Python. The program is "Simulation of ferromagnetic particles in a magnetic field", and more specifically in the magnetically inert liquid. The program works, but very slowly compared to the…
Kamilos
  • 167
  • 1
  • 2
  • 10
3
votes
1 answer

2D particle engine can't handle over 450 particles. Why? (XNA)

UPDATES; -changing j=0 to j=i allowed up to 700 particles with a smooth frame rate I am trying to simulate 2D water with hundreds of particles that have Vector2s declaring their position and a Vector2 for their velocity. When it comes to collision…
ShadowByte
  • 83
  • 10
3
votes
3 answers

Where do I store a function that acts on an array of objects?

I'm trying to create something like the following using c++: I have a class called particle which will store the position, velocity of each particle. Additionally, a member function will update the particle's position using velocity data. I'm also…
Greg
  • 223
  • 2
  • 11
3
votes
0 answers

three js - objects facing screen as a billboard

Three particles works as billboards always facing the screen. Since I'm using an animated texture on a plane mesh, I'd like to simulate that effect without using particles. I tried to do: obj.lookAt(camera.position); obj.up = camera.up; But, that…
frescogusto
  • 33
  • 1
  • 6
3
votes
1 answer

Accessing single particles in THREE.js Particle System

I really tried every example, searched the web for hours but I can't seem to get it working! So I simply tried to implement a little particle system simulating falling snow, just like this:…
user2581608
  • 31
  • 1
  • 2
3
votes
1 answer

libgdx: Is there a way to "fast-forward" particle effects?

I've worked with Game Maker previously to using libgdx, and one thing you could do is skip ahead in a particle's animation. For instance, if you have a snow particle effect, when you enter a room the snow particles would only just begin falling. …
3
votes
1 answer

performance - drawing many 2d circles in opengl

I am trying to draw large numbers of 2d circles for my 2d games in opengl. They are all the same size and have the same texture. Many of the sprites overlap. What would be the fastest way to do this? an example of the kind of effect I'm making…
Ellipsis
  • 63
  • 6
3
votes
2 answers

pygame - particle effects

I'm making a 2-d game using Pygame. I want to add particle effects into the game I'm working on. I want to do things like spawn smoke, fire, blood, etc. I'm curious is there an easy way to do this? I don't really know even where to start. I just…
user1758231
  • 1,001
  • 3
  • 14
  • 20
3
votes
1 answer

COCOS2D Particle Effect Collision

I have no idea why it isn't working. The particle effect is located left bottom screen, instead of the part where it collided. in .H file CCParticleExplosion *starsExplosion; In .M file Under the collision if(distance < 30) { …
3
votes
1 answer

MATLAB: Using ode45 in a for loop using dynamic variables for particle movement and interaction

Hi I am writing a small program that can create many different particles using a for loop in the x-plane that move up in the y-direction with various forces. The particles interact with each other with repelling forces and so the position of each…
user1878019
  • 65
  • 1
  • 6
3
votes
1 answer

Emitting particles from point x1,y2 to point x2, y2 in Objective C (iPhone)

I'm currently working on an iphone application where there should be "Electrical power flows" visualised from a plug to a device. I've made this a static line, but it would be way nicer if there was some way that those lines could be replaced by…
Xyclade
  • 31
  • 4
3
votes
1 answer

Falling sand particle physic

I'm working on iOS app with sand particles simulation. Here is a video of alpha version showing the logic of it http://www.youtube.com/watch?v=cYgw6jHx6QE But I have a problem with particle algorithm performance. Now I'm doing it in the following…
2
votes
1 answer

Water particle model

I want to design a physical particle system in order to model/simulate a flowing water on a terrain. I want to use C (maybe C++) in order to do that. Do you guys know any good examples or a good starting point to do this?Thank you!
Ovi Faur
  • 518
  • 3
  • 19
2
votes
1 answer

Memory management trickery with arrays

This is my first time using stackoverflow for a question, I have read a few answers previously which have helped me in some cases so I thought I'd register seeing as I can't find the specific answer I'm looking for. Recently I made a pretty simple…
M Davies
  • 255
  • 1
  • 3
  • 11