Original Post
Hello, I am learning 3d programming, and I am a little confused about something.
I am attempting to use the billboard technique to render some lights. I can find the vector that points from the light to the camera position, but I am unsure of how to find the proper rotation angles to rotate the triangle to face the camera.
I found many articles that talk about using the dot product to find the angle between two vectors, but what I am unsure of is how to translate the single float into a set of x,y,z rotations.
Any tips or examples on how to do this would rock
thanks