Register FAQ Search Today's Posts Mark Forums Read
Go Back   JazzJackrabbit Community Forums » Open Forums » JCS & Scripting

Tileset Help-RGB in 16-bit vs 8 bit

MBunny

JCF Member

Joined: Feb 2002

Posts: 1

MBunny is doing well so far

Feb 13, 2002, 11:20 PM
MBunny is offline
Reply With Quote
Question Tileset Help-RGB in 16-bit vs 8 bit

ZolleH =)
I've been working on a tileset with a single colour theme for a while now, and have discovered an absurd problem which I cannot fix. I hope someone can find a soloution to this ^_^

I have been working with a range of colour[ex:15,15,15 to 31,31,31] in my pallete in the extra spots for colour using the standard JJ2 pallete. When I compiled and ran the tileset in JJ2, it appeared fine at first in 8-bit, but when I viewed it in 16-bit gameplay, all of the colours were merged together, leaving only about 5 different shades of what I originally had in 8-bit gameplay. The question is, how can you get a large, gradiented colour range to appear in 16-bit gameplay the same way it appears in 8-bit gameplay, without any colors merging? Or is that possible? ^_^ It still looks like this whether I choose to remap the tileset pallete or not...

I had suspected that perhaps the increments of the my colour range were at fault, since they only increased by [1,1,1] for each individual pallette box ^_^ Is this range too small for Jazz to use in 16-bit gameplay? The weird thing is that it looks perfect in 8-bit gameplay, which uses *less* colours, but looks horrid in 16-bit gameplay which uses *more* colours.

Thankz ^_^ (That is, IF you helped =P =) )
__________________
"...Mess with the best, die like the rest" -Gotta love that quote ^_-
Ice M A N

JCF Member

Joined: Jan 2001

Posts: 580

Ice M A N is doing well so far

Feb 14, 2002, 03:17 AM
Ice M A N is offline
Reply With Quote
heh.. I've never heard about that before, but I'm not surprised.

16 bit is usually either 5 bits of eachs color and 1 alpha (or it's unused), or 565 (6 green).

In 8 bit, each component of each color can have 256 possible values (0-255), which is 8 bits. To fit these 8 bits into 5 or 6 you get rid of the least significant bits. In the case of 5, the last three bits get chopped off, which can be at most 111, or 7. And.. um.. when you're going up by 1, 7 can be a lot.. so.. um.. I dunno. :P

8-bit is paletted, which lets you use any 256 (with the exception of JJ2 colors and whatnot :P) of the colors available in 24bit (8-8-8). Some of them aren't available in 16bit, so sometimes less is more


Or I could be wrong. But I dunno :P
RosetaJOL

JCF Member

Joined: Oct 2001

Posts: 115

RosetaJOL is doing well so far

Feb 14, 2002, 05:02 AM
RosetaJOL is offline
Reply With Quote
Sometimes I have a simmulair problem very often so I just uasually do it in 8 bit cause sometimes it makes it easier.
__________________
I'm Leader of JOL.

I have no friends in real life, whats the use in living?
Even most of my friends and everyone elese thinks I am weird. Heh I got the spelling right

Quote:
Roseta your on Crack
-------------------------------
Piccolo says so but its not true.


I have gone to school less than most people.
Kaz

JCF Member

Joined: Mar 2001

Posts: 3,793

Kaz has disabled reputation

Feb 14, 2002, 06:19 PM
Kaz is offline
Reply With Quote
I don't think it works that way... it's like running 32-bit colours on 16-bit. With 8-bit it's okay since the only colors you're going to use are already in the pallette but 16-bit has no pallette.
__________________
"We're like a human in a 13 billion lightyear universe." -Anaiyu
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

All times are GMT -8. The time now is 09:29 AM.