Part of the Khronos Group

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 2 of 2

Thread: Particles in c++ using opengl

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Junior Member Newbie
    Join Date
    May 2012

    Particles in c++ using opengl

    Hi guys,

    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..

  2. #2
    Senior Member OpenGL Pro BionicBytes's Avatar
    Join Date
    Mar 2009
    UK, London
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts