🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Newbie

Started by
2 comments, last by karl 24 years, 1 month ago
Hi all, I have been using Direct3d for some time, but I would like to understand OGL. I have been using various samples, for drawing polygons, objects, etc. and so far so good. In trying to do Antialiasing I have tried the Open GL Bible sample, and it works, however very slow. I have a NVIDIA GeForce2 GTS graphic card which has an option to enable antialiasing for OpenGL. When I use this option there doesn''t seem to be any antialiasing going on, and I suspect there may be specific OGL functions/commands that I should have in my app, but I have not been able to determine what they are. Any help regarding OGL antialiasing using hardware or software would be greatly appreciated. Thanks Karl Karl Fisher karl@hsnp.com KarlFisher
KarlFisher
Advertisement
Try

glHint(GL_POINT_SMOOTH_HINT,GL_NICEST);
glHint(GL_LINE_SMOOTH_HINT,GL_NICEST);
glHint(GL_POLYGON_SMOOTH_HINT,GL_NICEST);

glEnable(GL_POINT_SMOOTH);
glEnable(GL_LINE_SMOOTH);
glEnable(GL_POLYGON_SMOOTH);

Visit our homepage: www.rarebyte.de.st

GA
Visit our homepage: www.rarebyte.de.stGA
insidently though you can always use the hint

glHint(GL_POLYGON_SMOOTH_HINT,GL_FASTEST);
and i think AA suports
glHint(GL_POLYGON_SMOOTH_HINT,GL_DONT_CARE);



~prevail by daring to fail~
Thanks GA and ZeroSignull for the info. I will get back to it soon and see what I can do.

Thanks
Karl

KarlFisher
KarlFisher

This topic is closed to new replies.

Advertisement