Nick32
01-28-2009, 12:07 PM
Hi!
I'm starting to develop my rendering engine using SDL.
I want to draw some complicated geometric shapes. I think approximation it with polygons is a right way. But how to render polygons effectively and with anti-aliasing?
As I see there are to ways: split polygon to triangles and render them or use more complex algorithms which can render polygons with holes and self-intersecting polygons. It is interesting to know what way better(faster, simpler to implement) and what algorithms exists?
I'm starting to develop my rendering engine using SDL.
I want to draw some complicated geometric shapes. I think approximation it with polygons is a right way. But how to render polygons effectively and with anti-aliasing?
As I see there are to ways: split polygon to triangles and render them or use more complex algorithms which can render polygons with holes and self-intersecting polygons. It is interesting to know what way better(faster, simpler to implement) and what algorithms exists?