View unanswered posts | View active topics It is currently Mon Dec 10, 2018 4:24 pm



Reply to topic  [ 1 post ] 
 Palette Water Colour Documentation by ACM 
Author Message
Online
User avatar


Joined: Fri Nov 05, 2010 9:33 am
Posts: 432
Location: United Kingdom
Post Palette Water Colour Documentation by ACM
I originally posted this in my palette thread, but I thought this deserved a thread of it's own. The .zip file contains the documentation, as well as the two example images below.
Code:
==========================================================
Palette Water Colour Documentation
==========================================================
This is a formula I devised to understand what each water
colour in a GeneRally palette file is for, and how to
recreate the water that's in the original gr.pal file.
This documentation assumes you're already familiar with
all of the other GeneRally palette colours and know how to
create and edit .pal files and what RGB is.

Currently tarmac has 30 colours designated to it, grass,
mud, dirt, sand and snow each have 15 colours, and white,
yellow, and red lines each have 5 colours. For every row
of five colours the third/middle one is sampled for the
water palette. That gives you 6 tarmac colours, 3 grass,
mud, dirt, sand and snow colours, and 1 colour each for
white, yellow, and red lines.

The following list shows you which colours are used for
which underwater surfaces:
120-125 tarmac,oil,stones,loose gravel,gate posts
126-128 grass
129-131 mud
132-134 dirt
135-137 sand,concrete pole top
138-140 snow,ice
141 white line,sunk tire
142 yellow line
143 red line

Objects only have 3 colours each, every middle one is
sampled for the water palette.

The actual colour of the water was determined by measuring
the difference in hue, saturation and brightness from the
darkest sky colour(64, 160, 255) and the brightest
(255, 255, 255), then increasing those differences by 1/3.
That gave me the actual water colour(0, 128, 255). Now
take all the sampled colours and fill the actual water
colour over them with 50% transparency, that should give
you perfect matching results.

Using this formula, you can create water for your own
palette(s) which has the same level of detail present in
the original gr palette.
==========================================================
By Alexander "ACM" Cowie 12/11/2010
==========================================================


Attachments:
watercolourdiagram.png
watercolourdiagram.png [ 14.41 KiB | Viewed 891 times ]
watercolourexample.jpg
watercolourexample.jpg [ 97.8 KiB | Viewed 891 times ]
Palette_Water_Colour_Documentation.zip [111.54 KiB]
Downloaded 73 times
Fri Nov 12, 2010 2:22 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.