Click here to Skip to main content
15,895,011 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi.

I am going to make a billboard for a OpenGL Demo. But how to i rotate it so it allways faces the camera, if i know the camera's X, Y, and Z coordinates, and the billboards X, Y, and Z coordinates?
Posted

1 solution

Try this on for size!
Nehe Billboarding howto[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900