Antialiasing or blending

Started by
24 comments, last by Genius_Bobby 19 years ago
I want to ask you a question about opengl.I am trying to make the lines smooth.For making the lines smooth i am using Antialiasing. 1.how to make Antialiasing and still have depth test in the progamme? I am blending everything, but when i enable blending i have to disable depth test. i want to enable blending and depth test in my programme but if i enable both of them then i cannot see anything on the screen,if Anybody can advice me. future thanks for reply me. Bobby
Advertisement
you can use glEnable(GL_MULTISAMPLE_ARB) (if it's exposed for your card - which it should be) to multi sample each pixel for antialiasing.
hi ,
i followed your step but it gives me error

GL_MULTISAMPLE_ARB undeclared identifier

i will wait for your reply .
Thanks for previous reply.
bye
Bobby
Well, you have to use extension data(due to microsoft refusing to update opengl on windows)
sorrry didnt understand wat do u mean by external data if u give me little bit more explanation.
i will wait for your reply. thanks for previous reply
Bobby
you need to include new OpenGL headers:

http://oss.sgi.com/projects/ogl-sample/registry/
Thanks alot of your help """"Aeluned"""" i will try if it still didnt work i will contact you again.
Thanks for your help
Bobby
or try glew library for setuping the extensions it'll help you alot :)
There is also a Tutorial at Nehes Site for FSAA.
http://nehe.gamedev.net.
Me personally, I use the Radeon SDK for accessing extensions under OpenGL.
Available @ Ati.com.
rya.
Scorcher24
I tried to include the new headers but its still not working.i looked on nehe tutorials as well but doesnt help.May be becoz of my pc adapter or grahics card.Is there anyperson who can give me advice.




Is there anybody who can help me ?

[Edited by - Genius_Bobby on March 31, 2005 5:54:23 PM]

This topic is closed to new replies.

Advertisement