LWJGL Forum

Programming => OpenGL => Topic started by: benowar on November 29, 2005, 14:08:14

Title: Avoiding aliasing in Sphere?
Post by: benowar on November 29, 2005, 14:08:14
Hi,

I am drawing a Sphere into my game, it has a small texture applied. Now, the corners of the Sphere look aliased. Is there an easy way to get the Sphere look anti-aliased?

For instance for my various Lines in my game, I already made use of GL_LINE_SMOOTH which is working very well.

Thanks,
Ben
Title: Avoiding aliasing in Sphere?
Post by: darkprophet on November 30, 2005, 01:17:25
Quote
Now, the corners of the Sphere look aliased
I thought spheres had now corners?  :lol:

Your best bet is to enable FFAA by specifying the number of multisampling in the pixelformat during display creation. But older cards dont support that, so you might be out of luck depending on your card.

DP
Title: Avoiding aliasing in Sphere?
Post by: benowar on November 30, 2005, 08:26:09
Yes I already did that. Its ok on my desktop with a ATO X800, but fails on my crappy notebook.

Ben
Title: Avoiding aliasing in Sphere?
Post by: darkprophet on December 01, 2005, 16:44:42
Quote
but fails on my crappy notebook.

An intel?

Quote
But older cards dont support that, so you might be out of luck depending on your card.

DP