rec.autos.simulators

ICR2 pallette change

Sandma

ICR2 pallette change

by Sandma » Sun, 10 Dec 1995 04:00:00

  Can someone please explain to me how to fix the pallette
change problem when I import a logo graphic into the icr2
car.pcx. Why are my colors getting scrambled? Is there a .pal
file that I need to work with.
  How about some of you expert car customizers helping me out
here.Thanx.
                                      Sandman

--------------------------------------
Erik Sanders

Earl

ICR2 pallette change

by Earl » Mon, 11 Dec 1995 04:00:00


The colors become scrambled because the more sophisticated graphics
programs do not recognize that Paintkit uses only 160 or so different
colors, and even when picking another color off an existing pixel, it
will not maintain that limited palette.

The solution is:  before importing the modified pcx file back into
paintkit, color the area(s) where the new decals go white, then import.  
This isn't a perfect method in that you'll have to do cleanup work, but
the logos aren't distorted (otherwise, it will pick up some of the colors
from the existing areas because they're not white).

Hope this helps.

Earl

Terje Wold Johans

ICR2 pallette change

by Terje Wold Johans » Mon, 11 Dec 1995 04:00:00


>   Can someone please explain to me how to fix the pallette
> change problem when I import a logo graphic into the icr2
> car.pcx. Why are my colors getting scrambled? Is there a .pal
> file that I need to work with.
>   How about some of you expert car customizers helping me out
> here.Thanx.
>                                       Sandman

Well, the palette is made up of 256 colors.
Each color has its own register on the video board.
The picture is made up of numbers and each number
refers to a register. If a register contains another
color than that defined in the palette that comes
with your imported picture the colors will be wrong.

The registers have been set by the paintkit so any
picture with a different palette will look bad.

Btw you can have two palettes containing the same
colors but for the palettes to be *equal* the colors
must be in similar order. This is because when a
palette is set it will be set sequentially starting
with register 0, then register 1, etc.
In 320x200x256 you have 256 registers but each register
consists of three bytes (R G B) where only the six least
significant bits are used in each byte, thus we can
choose colors from (6 bits/bytes * 3 bytes) = 18-bit
palette, ie 262144 different colors.

-- Terje Wold Johansen   "I am your inferior superior."  Speaking --

-- Dept. of Informatics, University of Oslo, Norway       myself! --

Josh DuBo

ICR2 pallette change

by Josh DuBo » Tue, 12 Dec 1995 04:00:00


: >
: >  Can someone please explain to me how to fix the pallette
: >change problem when I import a logo graphic into the icr2
: >car.pcx. Why are my colors getting scrambled? Is there a .pal
: >file that I need to work with.

        The paintkit uses colors 32-175(inclusive, zero-based) of the
pallette in the file paintkit\ipal.pcx in the Indycar II directory.
If you use this pallette and restrict yourself to these colors, I think
your problems will be solved.
        Hope this helps,
         Josh.

--
Josh DuBois
Carleton College, Northfield, MN


Sandma

ICR2 pallette change

by Sandma » Tue, 12 Dec 1995 04:00:00


>>   Can someone please explain to me how to fix the pallette
>> change problem when I import a logo graphic into the icr2
>> car.pcx. Why are my colors getting scrambled? Is there a .pal
>> file that I need to work with.
>>   How about some of you expert car customizers helping me out
>> here.Thanx.
>>                                       Sandman


>Well, the palette is made up of 256 colors.
>Each color has its own register on the video board.
>The picture is made up of numbers and each number
>refers to a register. If a register contains another
>color than that defined in the palette that comes
>with your imported picture the colors will be wrong.

>The registers have been set by the paintkit so any
>picture with a different palette will look bad.

>Btw you can have two palettes containing the same
>colors but for the palettes to be *equal* the colors
>must be in similar order. This is because when a
>palette is set it will be set sequentially starting
>with register 0, then register 1, etc.
>In 320x200x256 you have 256 registers but each register
>consists of three bytes (R G B) where only the six least
>significant bits are used in each byte, thus we can
>choose colors from (6 bits/bytes * 3 bytes) = 18-bit
>palette, ie 262144 different colors.

>-- Terje Wold Johansen       "I am your inferior superior."  Speaking --

>-- Dept. of Informatics, University of Oslo, Norway       myself! --

  If you don't know how to do it then why didn't you just say
so?
  BTW, you forgot to explain why there are only 159 hues.;>)

                                                Sandman

cygn

ICR2 pallette change

by cygn » Sat, 16 Dec 1995 04:00:00


check out ftp.std.com in the customers/vendors/papyrus directory,
theres a new patch there that fixes some paintkit problems....im
not sure if it will help you though...as i dont have icr2 yet
Dave Henr

ICR2 pallette change

by Dave Henr » Sun, 17 Dec 1995 04:00:00

   > Subject: Re: ICR2 pallette change    
   >  
   > >   Can someone please explain to me how to fix the pallette  
   > > change problem when I import a logo graphic into the icr2
   > > car.pcx. Why are my colors getting scrambled? Is there a .pal
   > > file that I need to work with.
       Win 3.1 and the paintshop pro do not produce the same palette,
you need a drawing program that won't corrupt the palette, some people
have used neopaint.  I beleive it is shareware
Dave Henrie

 * JABBER v1.1 * "Die!  You Furless Freak!"--WC]I[
--
| Fidonet:  Dave Henrie 1:346/25

| Fido -> Internet/Usenet via Net 346 Services

Peter Burk

ICR2 pallette change

by Peter Burk » Tue, 19 Dec 1995 04:00:00



>>  Can someone please explain to me how to fix the pallette
>>change problem when I import a logo graphic into the icr2
>>car.pcx. Why are my colors getting scrambled? Is there a .pal
>>file that I need to work with.

>The colors become scrambled because the more sophisticated graphics
>programs do not recognize that Paintkit uses only 160 or so different
>colors, and even when picking another color off an existing pixel, it
>will not maintain that limited palette.

actually - they became scrambled because somebody didn't know how
to use a sophisticated graphics program properly. In Photoshop for
example, you can define ANY color palette, from 2 colors to any
number you please. Fastest way, is to screen grab the colors in the
paint kit, crop that image inside of photoshop in RGB mode and
then switch to Indexed color. You should more or less get the
exact 160 color pallete - and you can save that palette for later
use on any of those PCX files. It ain't easy, but if you know how
to use a good program, you can work with the proper colors.

Peter


rec.autos.simulators is a usenet newsgroup formed in December, 1993. As this group was always unmoderated there may be some spam or off topic articles included. Some links do point back to racesimcentral.net as we could not validate the original address. Please report any pages that you believe warrant deletion from this archive (include the link in your email). RaceSimCentral.net is in no way responsible and does not endorse any of the content herein.