From: Darren Grant 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 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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.