Defining Awesome — New faster particles
  • Status Updates

  • New faster particles

    Written by . Posted at 4:19 pm on August 18th, 2010

    Particle optimization is better than sex. I definitely like doing it :). The new particle rendering code is a 100 times faster. The trick was to sort the particles according to texture not just render them as they go. Switching textures on the GPU is very costly!
    As a bonus you can see on this video also some of the dustprocessor inferno effects.

    This took me 7 hours:)

    Be Sociable, Share!

    12 comments.

    1. Are you virgin?


    2. awesomeness. could you tell something more about the collision detection here?
      inferno looks shitty but the fire and smoke at the end look epic.


    3. Underline

      MAN!
      GREAT!
      I doubt that you need to render more then 5000 particles at the same time! ๐Ÿ˜›


    4. Wow that flames are great at 2:25


    5. What the fuck is this girly shit? Where is METAL?


    6. You could make some really awesome weapons with this :)

      Do they all support collisions with players too, or are they just eye candy?


    7. Are you virgin?
      Have you ever optimized particles?

      awesomeness. could you tell something more about the collision detection here?
      It’s raycasting. The lines are packed into tiles. Broadphase is detecting if a tile collided, if yes then the narrow phase is line to line collision algorithm.

      Do they all support collisions with players too, or are they just eye candy?
      No, cause they would be impossible to sync through network.


    8. Makron666

      It is nice, but there are a few minor issues, if particles are not affected by player, then destroy particles that are completly overlapping, also, fix that fire, and shit sticking/going through walls. Then your particle engine would be sweet.


    9. Winterous

      I have to say, those smoke effects looked amazing!


    10. thx. will particles be moddable in a script file so we can pretty much compose our own explosions and special effects and particle behavior?


    11. allocate enough memory yourself before running anything, its cheap these days :)


    12. lol, it’s like flubber!

      good job, now go for weapons again ๐Ÿ˜€


    Post a comment.

    Links