Questions tagged [particles]
The particles tag has no summary.
18 questions
1 vote
0 answers
54 views
How to extract surface of smoothed particle hydrodynamics smoothly?
I'm working on a fluid simulation project where two spheres are simulated using smoothed particle hydrodynamics (SPH). I have generated two sets of particles inside and on the surface of a sphere. You ...
0 votes
1 answer
88 views
What is the difference between particles system and smoothed particles hydrodynamic?
What is the difference between particles system and smoothed particles hydrodynamic(SPH) ? is SPH a more specific version of particles system ? More searches on google I do more confusing I get since ...
1 vote
0 answers
63 views
How khronos flame swing effect is done?
This demo: https://www.khronos.org/registry/webgl/sdk/demos/google/particles/ Contains multiple effects that can be done with WebGL. I've been able to recreate some of them, but for example I don't ...
1 vote
1 answer
147 views
Stripping unnecessary data from C++ data structures before sending to GPU
I've recently been working on a particle system in my renderer and I've encountered a situation where my particle class on the C++ side has data I need to maintain my particle on that end, but that I ...
1 vote
1 answer
405 views
Rendering a particle system as a smooth blob
What is a good algorithm for rendering a particle system as a coherent mesh, in realtime? I am running a smoothed-particle hydrodynamics fluid simulation, and I would like to render the particles not ...
1 vote
1 answer
91 views
Performance of particle implementation
I am about to implement the renderer for a simple particle system. Every particle has to be updated every frame (position, rotation, scale) and so I was wondering which way is usually faster: ...
2 votes
1 answer
167 views
Represent shape as particles
Input: Triangles which make up an arbitrary shape. Each triangle is represented by 3 3D points. Output: A set of particles which fills up the inside of the object (see image). I have read the ...
2 votes
0 answers
87 views
Vertex positions from particle position
I have a question about Nvidia Flex or any particle based simulation in general: The particles are created by sampling the mesh, which can result in fewer particles than there are vertices in the ...
2 votes
0 answers
155 views
How to model braids?
Many hair simulations render their hair as lines (usually splines). Since hair is a really thin object. if the hair is braided, rather than having thin infinitesimally small cylinders, you have ...
1 vote
1 answer
113 views
Spring damping in Energy Function
Supposing a behavior function $C(x_1, \ldots, x_n)$, then we have a scalar potential energy function $E = \frac{k_s}{2}C\cdot C$ where $k_S$ is stiffness constant. Hence, the force is as follows $...
6 votes
1 answer
980 views
Fading particles and transition
I'm trying to render a particle simulation. I want each particle to leave a trace. To achieve this I'm using a framebuffer and two textures. On each frame the algorithm goes like this: Render to a ...
2 votes
0 answers
203 views
Cloud rendering and transparency order
I am working on a graphics engine designed to be used in flight simulators. It therefore has to feature an advanced weather rendering system with clouds you can fly through. For this, I implemented a ...
6 votes
2 answers
666 views
Are there tricks for getting proper sort ordering on particle systems?
If you have a bunch of particles to render, using different shaders and/or render states, that have some level of transparency, the naive solution of sorting all particles by depth can be extremely ...
2 votes
1 answer
146 views
Possible methods to deal with artifacts when drawing billboards to a cubemap
When drawing billboards to a cubemap, the billboard texture was incorrectly aligned on the boundaries of the cubemap between different sides. My guess is that the false projection of the billboard ...
5 votes
2 answers
3k views
Pixel dispersion (dissolving) algorithms
This YouTube video of a flip-dot display (physical b/w pixels) shows the reverse of an effect that might be called dissolve or dispersion, i.e. a text emerges from noise by pixels moving in to form ...