cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/07/14/14:05:44

Message-ID: <378CC261.361BBEF9@ameritech.net>
From: S Prasad <aangels AT ameritech DOT net>
X-Mailer: Mozilla 4.04 [en]C-AIT (Win95; I)
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro shading, once again I'm lost
References: <378C896D DOT BA341D0 AT ameritech DOT net> <378C931E DOT 14AEE6C1 AT in DOT stud DOT tu-ilmenau DOT de>
Lines: 8
Date: Wed, 14 Jul 1999 13:01:21 -0400
NNTP-Posting-Host: 209.18.29.77
X-Trace: nntp0.detroit.mi.ameritech.net 931972256 209.18.29.77 (Wed, 14 Jul 1999 13:10:56 EDT)
NNTP-Posting-Date: Wed, 14 Jul 1999 13:10:56 EDT
Organization: Ameritech.Net www.ameritech.net Complaints: abuse AT ameritech DOT net
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> In 16bit mode you have
>         double ShadeCoefficient;
>         Color = BMP->line[y][x] * ShadeCoefficient;

Thank you for the suggestion! Unfortunately, the code will run into some
problems... Since 16 bit mode is 5.6.5 format, when you multiply, you
will shift some green into the red, and the blue into the green.  So
maybe that won't work?

- Raw text -


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