Results 1 to 7 of 7

Thread: Sorting of particles

  1. #1
    Junior Member Newbie damma's Avatar
    Join Date
    Apr 2008
    Posts
    18

    Sorting of particles

    I have a particle system which emits a million particles at the same time. I am using GPU Sort to sort these particles and render them back to front with respect to the user. The particles are traveling at different velocities. I am sorting the particles over multiple frames. I do not want to sort the particles in a single frame as sorting is expensive and I want my application to be real time. So the user sees some artifacts as the particles are sorted gradually. Can anyone suggest a method so that the artifacts could be at the minimum ?

  2. #2
    Senior Member Regular Contributor
    Join Date
    Mar 2002
    Posts
    103

    Re: Sorting of particles

    Use additive alpha blending and don't sort at all.

  3. #3
    Senior Member OpenGL Pro Ilian Dinev's Avatar
    Join Date
    Jan 2008
    Location
    Watford, UK
    Posts
    1,294

    Re: Sorting of particles

    Playstation1 type sorting

  4. #4
    Junior Member Newbie damma's Avatar
    Join Date
    Apr 2008
    Posts
    18

    Re: Sorting of particles

    thanks for the solution. Additive alpha blending does give less objectionable but good results.

  5. #5
    Junior Member Newbie damma's Avatar
    Join Date
    Apr 2008
    Posts
    18

    Re: Sorting of particles

    what do you mean by playstation 1 type sorting ? Could you provide me some links where I can read about it ?

  6. #6
    Junior Member Newbie
    Join Date
    Sep 2008
    Posts
    15

    Re: Sorting of particles

    if the particle is screen pixel size, just use depth test is OK. i have rendered transparent volume with particles, it looks good.

  7. #7
    Senior Member OpenGL Pro Ilian Dinev's Avatar
    Join Date
    Jan 2008
    Location
    Watford, UK
    Posts
    1,294

Similar Threads

  1. Particles
    By Samuel GL in forum OpenGL: GLSL
    Replies: 3
    Last Post: 02-03-2007, 08:27 PM
  2. Particles
    By Samuel GL in forum OpenGL: Advanced Coding
    Replies: 4
    Last Post: 02-03-2007, 01:39 AM
  3. particles/vbo
    By JanHH in forum OpenGL: Advanced Coding
    Replies: 23
    Last Post: 08-11-2003, 09:06 AM
  4. particles
    By in forum OpenGL: Basic Coding
    Replies: 9
    Last Post: 07-29-2002, 05:42 AM
  5. Sorting list of particles
    By Bloody Mario in forum OpenGL: Advanced Coding
    Replies: 4
    Last Post: 05-28-2001, 05:11 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean