Advertisement

AntiAliasing objects ...

Started by January 10, 2001 04:52 AM
6 comments, last by penetrator 23 years, 10 months ago
How do I enable/disable antialiasing for each object in my scene ?
Enable
DrawObject
Disable
DrawObject
Draw
Draw
Draw
Enable

....
Advertisement
?!?

Hi penetrator (oo-er)

I''m assuming you''re using OpenGL, and that you mean FSAA (full screen antialiasing).

If this is right, then you don''t have to do anything to support it, just run your program on a graphics card that supports FSAA and turn it on in the display control panel.

If you mean hand-made antialiasing, then you''ll need to use the Accumulation Buffer - there''s info about this in the Red Book (Official OpenGL Programming Guide) and likely some info on the web too.

Hope this helps...

- Peter
peter@digital-animations.com
ok, I''ll be better to study a hand-made solution, when I enable FSAA on my system (Athlon 1Ghz, Geforce GTS), fps drop from 60 to about 25 ! (also if I think there must be something wrong with this high drop, don''t you think too ?).


Heya

There will be a drop when using FSAA, but I think the drop when using a hand-made antialiasing solution will be worse.

Going from 60 to 25fps seems a bit severe - try making sure vsync is off (display control panel) and running at a lower resolution.

NVidia FSAA works by rendering to a display buffer that is bigger than the screen resolution and scaling the result down. This means that more pixel fill rate is required than when not using FSAA.

- Peter
Advertisement
ok, but if I disable vsync then you get odd effects to what you''re going to display ...

like what?

the only artifact you should see is tearing (where half-way down the screen the next frame starts), but most people as far as i know play with vsync off, so if it''s showing problems then something funny is going on.

- Peter

This topic is closed to new replies.

Advertisement