PDA

View Full Version : the flash problem of Antialiased line in Enable Depth Test 3D Scene!



will_cn
09-18-2002, 06:17 PM
hello, everyone.My nut is when I wanna draw some 3D lines in a 3D filled surface,and enable depth test together by using code glEnable(GL_DEPTH_TEST).Then I found the lines always flashed when I rotated the total subject(the surface and the lines).In addition, I used Antialiased lines in my coding.
How can I solve this flashed problem??

Bob
09-18-2002, 10:27 PM
Polygon offset. Look it up in the FAQ, which can be found on the front page of opengl.org.