lost hope
11-28-2001, 05:37 PM
Hey -
I am currently working on a simple FPS, and lately have been running into some trouble. Whenever I back far away from my objects, the edges start to go wild - shaking all over the place. I thought it might be the textures, but I tried mipmapping, and there was no change, so I took that code back out. I have enabled:
glEnable(GL_POLYGON_SMOOTH);
glEnable(GL_POINT_SMOOTH);
glEnable(GL_LINE_SMOOTH);
so I thought that would smooth the edges.
Everything I am doing is in floats, so I wonder if rounding errors have something to do with it? Right now I am rather confused.
Since it is hard to describe, it might be easier if you saw it in action.
If anyone could take a look at it and give me some advice, I would really appreciate it. Here is a link to the program: http://www.rpi.edu/~letteh/CrystalJack.zip
Just back far away from one of the castle pillars, and you will see what I mean - they move all over the place. There is a readme file with the key config. Thanks a lot!
-lost hope
I am currently working on a simple FPS, and lately have been running into some trouble. Whenever I back far away from my objects, the edges start to go wild - shaking all over the place. I thought it might be the textures, but I tried mipmapping, and there was no change, so I took that code back out. I have enabled:
glEnable(GL_POLYGON_SMOOTH);
glEnable(GL_POINT_SMOOTH);
glEnable(GL_LINE_SMOOTH);
so I thought that would smooth the edges.
Everything I am doing is in floats, so I wonder if rounding errors have something to do with it? Right now I am rather confused.
Since it is hard to describe, it might be easier if you saw it in action.
If anyone could take a look at it and give me some advice, I would really appreciate it. Here is a link to the program: http://www.rpi.edu/~letteh/CrystalJack.zip
Just back far away from one of the castle pillars, and you will see what I mean - they move all over the place. There is a readme file with the key config. Thanks a lot!
-lost hope