Skip to main content
GameDev.net gamedev.net
🔒 Locked

Camera problems...

Started by Marty666 Feb 19, 2003 at 7:46 AM 0 replies 200+ views
Original Post
Marty666
Marty666
Hi all, I''m using glut for a simple program. I started out making a glutsolidcube. Next i wrote a simple camera handler that is implemented in the glutDisplayFunc. Before all renderings it transforms the matrix to my likings. The viewing angles are set by glutMouseFunc. If you press a button the angle is set according to the cursor x and y pos. It works fine with the cube, but whenever i draw a vertex myself (glVertex3f, no glut functions) the camera stops working. How come? please help... Thanx, Marty
_ /__ /|| | || MtY | ||_____|/Marty
spencerholmes
spencerholmes
hi, send the code to me an i will try to work out the problem for you!

spencer_holmes69@hotmail.com

thanks

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.