PDA

View Full Version : polygon anti-aliasing



akashiraffee
12-14-2009, 12:15 PM
I'm working on a 3D "first person" Breakout, ie, where you play the paddle. Because the array of bricks extends in x and y (and z), you can tilt the paddle up or down and left and right to direct the ball.

I have not added any textures yet -- just lighting and shadow mapping. Everything looks fine viewed straight on, but when the paddle is tilted, the edges of the bricks appear jagged:

http://www.intergate.com/~halfcountplus/misc/ss1.jpg

I presume "polygon anti-aliasing" is good answer to this, which I am now reading up on. Anyone got any suggestions, or good material for that?

ZbuffeR
12-14-2009, 04:02 PM
You may want to try first "The 1995 method" explained in wiki link below, because it is quite simple, but afterwards you should quickly forget it and go on with MSAA/multisample for modern antialiasing :
http://www.opengl.org/wiki/Multisampling
http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=46