PDA

View Full Version : Moving camera around the scene



Javac
10-22-2003, 10:06 PM
I'm using perspective projection.
When I'm setting camera's "eye" position in different height or x coordinate than the
"look at" position I'm getting aliasing in
object lines.So I always must set the eye and
look at in the same direction(stright line).

None of these options are helping me:
glHint(GL_LINE_SMOOTH_HINT, GL_NICEST);
glEnable(GL_LINE_SMOOTH);
glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST);

How to move camera correct(without aliasing)?

yaro_dup1
10-23-2003, 05:53 AM
If you enable GL_LINE_SMOOTH you also have to enable blending in order to turn on antialiasing. Look at nehe.gamedev.net for tutorials.