Particles in c++ using opengl
I want to start a basic particle system in c++ using openGL. I wrote an algorithm for that but I don't understand how to start it.
The problem I am facing is I can print the positions and velocity updates but I don't know how to show it visually using openGL.
Is there any examples that I can start with...
I hope you understand...
Thanks in advance..
Start with something simple to fully test your particle code/engine without being bogged down by OpenGL drawing.
Perhaps something like GL_POINTS and use glDrawArrays is enough just to plot each vertex point as a pixel.
Tags for this Thread