Path: utzoo!attcan!uunet!husc6!uwvax!umn-d-ub!nic.MR.NET!gonzo!ddickey From: ddickey@gonzo.ETA.COM (Dan A. Dickey) Newsgroups: comp.windows.x Subject: Re: Colormap problems with R3 Message-ID: <838@nic.MR.NET> Date: 8 Nov 88 18:19:48 GMT References: <835@nic.MR.NET> <837@nic.MR.NET> Sender: news@nic.MR.NET Reply-To: ddickey@gonzo.UUCP (Dan A. Dickey) Organization: ETA Systems, Inc., St Paul, MN Lines: 16 In article <837@nic.MR.NET> ddickey@gonzo.UUCP (Dan A. Dickey) writes: >Some more information here.... >pixel 0 has red, green, and blue set to 255. >pixel 1 has red, green, and blue set to 0. Ha! Silly me...this is what I get for copying suntools pixrect code. All my values needed to be multiplied by 256. Somewhere down the line they get divided by 256. Everything resulting in 0. All black. voila! >Q3: What is going on? Where is my mistake? I Did RTFM...but, it also help to understand it. It probably took me about 5 times reading the same page...the one about RGB values between 0 and 64K. Anyways...thanks for all your help. Dan A. Dickey ddickey@gonzo.eta.com