30 000 Particles in real time, OpenGL game engine, particle system

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
23,839
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on May 3, 2010

30 000 particles simulated in real time, in my game engine. It uses opengl and is written in c++. The particles are attracted to the mouse when left clicking.

Category:

Gaming

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (TheReubenC)

  • would be interesting to know what is the bottleneck to push even more particles. either its the cpu (then code could use multiple threads ) or gpu (ex : using vertex array instead of glvertex calls). i pretty sure today pc's can handle a lot more....

  • @Tigrou7777 The bottle neck was definatly the gpu calls, vertex arrays would probably speed this up significantly

  • You're smart enough to write this physics simulation in OpenGL, but not screen capture it??

  • @MasterHD Screen capture caused a performance drop on my crappy old computer.

  • This is pretty sick. Are you using shaders or fixed-function pipeline? Could you elaborate on how you get the particles to follow the cursor in the way that it does?

  • @travistrue08 i used fixed function, and the movement of the particles is done using newtons laws, the cursor is an attractor and also the particles fall to the bottom of the screen with gravity. Its all done using a verlet integration technique.

Top Comments

  • It takes a special type of geek to know how to write an efficient particle system but not how to use a screen recorder. But I approve.

see all

All Comments (55)

Sign In or Sign Up now to post a comment!
  • This is cool. I haven't gotten into particle simulations as of yet, so I'm curious wha't's possible in terms of performance. How long ( approx ) did it take to render this?

  • would love to see you do this for Project Dogwaffle. Either in Lua scripting, or whatever you're comfortable with that can talk to the server in PD Pro.

  • Could you possibly release or send me the source code so I can learn from it?

  • @TheReubenC Whats your computer specs?

  • Awesome, we need a downloadable demo!

  • got a download link? I'm studying it in uni and it would be nice to check something like this out.

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more