Creating Smooth Edges

  • Follow


Hi all,

I'm new to OPenGL and Glut and I'd like to create shapes with smooth
edges like this one :

http://fr.wiktionary.org/wiki/Image:Sphere_-_monochrome_simple.svg

What should I read obout in order to do this in opengl, as my shapes to
date do not blend with the background, as in this case:

http://bloodgate.com/perl/sdl/img/opengl.png

Thanks,

Barry

0
Reply bg_ie (117) 8/1/2006 8:56:50 AM

bg_ie@yahoo.com wrote:
> Hi all,
> 
> I'm new to OPenGL and Glut and I'd like to create shapes with smooth
> edges
> 

If your OS/graphics card can handle it (most can)
then "multisampling" is the way to go (google
for it).

If not, there's an old polygon smoothing thing
in OpenGL but it doesn't always work, can be
very slow, and is hard to get right.


-- 
<\___/>
/ O O \
\_____/  FTB.    For email, remove my socks.

In science it often happens that scientists say, 'You know
that's a really good argument; my position is mistaken,'
and then they actually change their minds and you never
hear that old view from them again.  They really do it.
It doesn't happen as often as it should, because scientists
are human and change is sometimes painful.  But it happens
every day.  I cannot recall the last time something like
that happened in politics or religion.

- Carl Sagan, 1987 CSICOP keynote address

0
Reply fungus 8/1/2006 9:14:34 AM


1 Replies
345 Views

(page loaded in 0.056 seconds)

Similiar Articles:













7/24/2012 12:29:33 AM


Reply: