Thread: Color Cycling
View Single Post
  #11  
Old 08-04-2001, 01:56 PM
G_yoshi G_yoshi is offline
Forbidden
G_yoshi's Avatar
Join Date: Mar 2001
Posts: 7,206
G_yoshi will become famous soon enough
Send a message via AIM to G_yoshi
Quote:
Originally posted by Tyhm
Okay, a legal Graal png has 256 colors, often to its own unique pallette structure.
What you're suggesting would be that, say, a wall image, can just "change" to one of 256 predefined 256-color pallettes.
But what if the wall uses a completely different pallette order? What if the wall goes Black-Green-White and all the other backpals go Red-Yellow-Green-Cyan-Blue-Magenta? The wall will be yellow with red grout for every pallette you use on it, with very slight modifications.
Easy fix, just make sure the target image uses the standard pallette. But how many people are gonna figure THAT one out?!? "I tried to use the cool blue pallette on door.png, but it didn't work! It came out all black and stuff!"
i am not sure how to describe any better than I already have. Since each image would already have its own palette, you cycle its palette. No need to use the "standard" palette. The command would cycle the colors of the image's palette.

Look at the animated gif I have attached and notice the bottom right corner
Attached Thumbnails
Click image for larger version

Name:	color_cycle.gif
Views:	99
Size:	46.6 KB
ID:	2989  
__________________
Reply With Quote