Advertisement

2 Questions

Started by November 07, 2000 12:09 AM
-1 comments, last by WarAmp 24 years, 2 months ago
Question 1: I have my camera position (x, y, z), I have my Camera rotation (pitch, roll, yaw)(radians), how do I get a vector that is 1 unit straight ahead of where Im looking? I do not want an OpenGL matrix or anything like that. I want the vector that describes the point 1 unit ahead in the direction Im looking. I know I should know this, but I cant seem to think straight tonite. If anyone could help, it would be HUGELY appreciated. Thanx in advance. Question 2: I''m using NeHe''s foudnation code for my project, and the Stencil buffer was working fine yesterday, but then I changed the resolution it ran at, and it got slower than hell when the Stencil buffer was enabled, so I changed the resoulution back to where it was. I didnt change anything else. But, it still gets slower than hell when the stencil buffer is enabled. Any Thoughts? thank you very much.
Waramp.Before you insult a man, walk a mile in his shoes.That way, when you do insult him, you'll be a mile away, and you'll have his shoes.

This topic is closed to new replies.

Advertisement