PDA

View Full Version : Antialiasing with glucylinder



Aravi
07-01-2010, 03:13 PM
hello,
I am new to this forum. I am working on anti-aliasing some objects which I rendered a while back.

I was using glucylinder (making it a cone by making the number of walls at the top to 0) to represent the end of a vector hence denoting the direction.

gluCylinder(quadObj, 0.2, 0, 0.5, 4, 1); //It represent a cone

I was able to make the vector smooth. But I am not sure how to make the cone look smooth.

I saw in the forums that only a GL_POLYGON can be anti-aliased.
Any information on this would be highly helpful.

Thanks in advance
ATN

Dark Photon
07-01-2010, 07:05 PM
I am not sure how to make the cone look smooth
You mean make the edges not look so jaggy?

Turn on multisampling (aka MSAA).