Original Post
Hi, I am having trouble rendering a batch of billboard particles using OpenGL. I've gone through some tutorials but I still can't get it to work. Some of the examples I've seen modify a particle's mesh everytime it is rendered. In my particle system, there is only one mesh loaded and is used by all particles. Every particle calculates its own world matrix (translation, rotation and scaling) that is then used to place the mesh in the world. How should I manipulate the camera and particle matrices to make the particle always face the viewer? I want to this to work regardless of the camera's position and orientation.