Problems with antialiasing

Started by
10 comments, last by Enrico 17 years, 1 month ago
You should use opengl extensions to activate multisample.

And in windows you have to create 2 windows context. I opened a thread about this some months ago. Search it!

It is a bit horrible to create a window and after that, another windows with 2x or 4x multisampling.

By the way, I have tested 2x and 4x and 4x is very fine, and my application is very fast.


I hope this help you.

Bye
Advertisement
Quote:Original post by FiPoO
Another thing, if I set my hardware to compute antialiasing (2X is enough) the problem goes away...
But I can't say to all final user to do this after installing the application.
Isn't in opengl any solution to just decrease this "jaggies"?

Thanks for the replies!

What you have done is forcing the driver to apply antialiasing. As I said before, implement GL_ARB_multisample, which gives your application control over antialiasing settings (which is what most modern applications/games do). Creating a window with a multisampled framebuffer depends on your windowing system. Using SDL it is only three more lines to your init code and you get multisampling :)

--

This topic is closed to new replies.

Advertisement