filmov
tv
OpenGL particle vector array test.

Показать описание
Put video on HD fullscreen! (or you might not even be able to see the damn particles).
My 2nd OpenGL program, made in c++.
Also my first OpenGL program to use a vector array.
Clicking draws the particles nearer, releasing sends them flying away.
The array is rendered as these points.
All the points (or particles) have been antialiasing and are semi-transparent.
This video has 10000 particles but could easily have had more - I tried it with 50000 and it still didn't lag (if this video appears to lag that's most likely just the recording program).
I'm only using one core of my cpu as I suck at multi-threading.
Made on Gentoo Linux, if anyone wants the code, just ask.
If anyone wants an exe or whatever then I guess I can make that too.
My 2nd OpenGL program, made in c++.
Also my first OpenGL program to use a vector array.
Clicking draws the particles nearer, releasing sends them flying away.
The array is rendered as these points.
All the points (or particles) have been antialiasing and are semi-transparent.
This video has 10000 particles but could easily have had more - I tried it with 50000 and it still didn't lag (if this video appears to lag that's most likely just the recording program).
I'm only using one core of my cpu as I suck at multi-threading.
Made on Gentoo Linux, if anyone wants the code, just ask.
If anyone wants an exe or whatever then I guess I can make that too.