PDA

View Full Version : Disappearing polygons



Quirus
10-28-2002, 02:23 AM
Hi all,

I'm new to openGL and I am trying to
draw a soccerfield in topview.
Now I have drawn the lines of the field with polygons and when I get the camera far enough from the field (to catch the whole field on my monitor) the lines start to disappear due to rounding. Now what I want is that these lines stay on the field no matter how far you get away from it. The most simple solution to this (to my best knowledge of openGL) is to draw GL_LINES over the GL_POLYGONS that make up the fieldlines, but that seems a bit weird. Does somebody know a more elegant/more efficient way to do this?

thx in advance

adityagaddam
10-28-2002, 03:36 AM
The best thing to do would be to just use a texture on a plane or a thin cube

-Aditya