delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/10/16/23:59:57

Message-Id: <199710170347.NAA10356@rabble.uow.edu.au>
Subject: Re: ALLEGRO - 256 shades of grey?? How?
To: pscargill AT cix DOT compulink DOT co DOT uk (Peter Scargill)
Date: Fri, 17 Oct 1997 13:47:28 +1000 (EST)
Cc: djgpp AT delorie DOT com (DJGPP)
In-Reply-To: <EI61FB.4Bn@cix.compulink.co.uk> from Peter Scargill at "Oct 16, 97 10:35:35 pm"
From: Brett Porter <bporter AT rabble DOT uow DOT edu DOT au>
MIME-Version: 1.0

> In 800*600*256 mode, GRX20 lets you set up 256 shades of gray. ALLEGRO in 
> the same mode only lets you set up 64 (then you get them repeated 3 times 
> as the routine uses 6 bits per colour).
> 
> How do I get the full 256 shades of grey. HELP!!!
> 
In a 256-colour mode it is only possible to have 64 shades of grey, because
you can go from 0,0,0 to 63,63,63. I don't know how GRX does it, maybe they
just repeat them 4 times and claim that they are gray?

Why do you want gray anyway, and isn't 64 shades enough?

Brett

-- 
"Who here believes in telekenesis? Raise MY hand!"
--
Brett Porter
bporter AT rabble DOT uow DOT edu DOT au

http://www.geocities.com/CollegePark/Union/3596
	Humour, Programming, and more.

- Raw text -


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