delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/24/14:52:20

From: Darren Grant <darn AT xl DOT ca>
Newsgroups: comp.os.msdos.djgpp
Subject: Allegro polygon shading (was Re: Allegro 3.0 Q:)
Date: Thu, 24 Jul 1997 08:05:29 -0700
Organization: loners anonymous
Lines: 14
Message-ID: <33D76F39.55F5@xl.ca>
References: <33D4BA87 DOT 120C AT cam DOT org>
Reply-To: darn AT xl DOT ca
NNTP-Posting-Host: c19.xlent.net
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Allegro v2.2 can apply gouraud (linear gradient) shading to polygons-
the docs don't mention anything about more sophisticated shading.  Find
POLYTYPE_GCOL, POLYTYPE_GRGB, POLYTYPE_ATEX_LIT and POLYTYPE_PTEX_LIT in
the Graphics section of the documentation.  The POLYTYPE definitions can
be used in conjunction with most of the polygon rendering functions.


----------

Vic wrote:
> 
> And another thing: does anyone know how to do smooth shading? The
> results are really cool and it would be a nice adition to the allegro
> routines.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019