View Full Version : Moving on the z-axis

04-19-2001, 01:26 AM
-= Problem =-

gluPerspective(45.0f, width/height, 0.1f, 100.0f);

I have a straight line at z = -80 and now I want to move it closer to me, lets say z = -20, and I want the same length of it.

How do I do in a simple way, if there are any simple way???

Please help me asap...


04-19-2001, 03:16 AM
hmm, what do you know about perspective projection???
If the length of your line would stay the same, you wouldn't even know you moved closer to it. It would stay the same length if you would use orthographic projection.

Cheers Chris