Advertisement

Slug Production : Anti-Aliasing - Source code

Started by August 20, 2001 12:01 PM
1 comment, last by Leyder Dylan 23 years, 6 months ago
Hi, A simple program who displays 2 lines. One with anti-aliasing and the other without. ======================== Leyder Dylan http://ibelgique.ifrance.com/Slug-Production/
========================Leyder Dylan (dylan.leyder@slug-production.be.tf http://users.skynet.be/fa550206/Slug-Production/Index.htm/
glEnable( GL_LINE_SMOOTH )
glHint( GL_LINE_SMOOTH_HINT, GL_NICEST )
glEnable( GL_BLEND )
glBlendFunc( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA )

draw lines

Advertisement
no need to write f***ing tutorial about a-a, please.

This topic is closed to new replies.

Advertisement