can u post ur code?
hi, this is my init; maybe problem is here:
Code :..................... glShadeModel(GL_SMOOTH); glClearColor( 0.0, 0.0, 0.0, 0.0 ); glEnable(GL_DEPTH_TEST); glEnable(GL_BLEND); glEnable(GL_LINE_SMOOTH); glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); glHint(GL_LINE_SMOOTH_HINT, GL_DONT_CARE); glEnable(GL_POLYGON_SMOOTH); glBlendFunc(GL_SRC_ALPHA,GL_ONE_MINUS_SRC_ALPHA); glHint(GL_POLYGON_SMOOTH_HINT, GL_DONT_CARE); glEnable(GL_TEXTURE_2D); glTexEnvi(GL_TEXTURE_ENV,GL_TEXTURE_ENV_MODE,GL_MODULATE); glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MIN_FILTER,GL_LINEAR_MIPMAP_LINEAR); glTexParameteri(GL_TEXTURE_2D,GL_TEXTURE_MAG_FILTER,GL_LINEAR);
Mickey
hi, i dont understand...
mmm what?
Mickey
I would try to remove glEnable(GL_POLYGON_SMOOTH); ( I dont think this is hardware accelerated anyway.. antialiasing is achieved by multisampling nowadays )
if it doesnt help then you can try to remove all glHint calls..
removing glEnable(GL_POLYGON_SMOOTH) the lines vanish, but image appear aliased.....(the second suggest dosn't help)Originally posted by Trahern:
I would try to remove glEnable(GL_POLYGON_SMOOTH); ( I dont think this is hardware accelerated anyway.. antialiasing is achieved by multisampling nowadays )
if it doesnt help then you can try to remove all glHint calls..
Mickey
you should use GL_ARB_multisample extension if you want to antialias your scene
sorry, but that scene is anti-alised; without these instruction, my scene appear jagged.....the problem is what are they....
Mickey