[Therion] [SPAM] Re: change palette for color map-fg altitude
Henry Bennett
henry at hbennett.com
Fri Dec 11 23:45:39 CET 2015
Thanks Footleg and Andrew,
That sounds like a good workaround although the index would still show the full range. Will give it a go and see how it goes.
I’m no coder but I think it might be defined here:
thexpmap.cxx
case TT_LAYOUT_CCRIT_SCRAP:
// vsetkym scrapom v kazdej priradi farbu
// All scrapie assign each color (google translate)
switch (cmn % 6) {
case 0: tmp_set_color(1.0, 0.5, 0.5); break;
case 1: tmp_set_color(0.5, 1.0, 0.5); break;
case 2: tmp_set_color(0.5, 0.5, 1.0); break;
case 3: tmp_set_color(1.0, 1.0, 0.0); break;
case 4: tmp_set_color(0.0, 1.0, 1.0); break;
default: tmp_set_color(1.0, 0.0, 1.0); break;
}
alpha_correction(tmp_alpha, cR, cG, cB);
cs->R = cR;
cs->G = cG;
cs->B = cB;
cmn++;
break;
However since it is in the code it would need to be compiled to test and that’s way outside my comfort zone. I’m on the windows .exe
Henry
From: therion-bounces at speleo.sk [mailto:therion-bounces at speleo.sk] On Behalf Of Footleg
Sent: 11 December 2015 22:23
To: List for Therion users <therion at speleo.sk>
Subject: [SPAM] Re: [Therion] change palette for color map-fg altitude
A trick I use is to define a pair of made up fixed stations at a higher and lower altitude than my cave, then define a scrap containing both stations as points. Include this scrap to force the colour range to cover this altitude range. If you make the lower point lower than your cave then your cave will be rendered entirely in the green to red colour range.
Footleg
On Thu, 10 Dec 2015 18:28 Andrew Atkinson <andrew at wotcc.org.uk <mailto:andrew at wotcc.org.uk> > wrote:
.
> >
> > Anyone know where the palette is defined?
>
> I think this is an outstanding wishlist item. i.e. there is no way to
> do this yet, but you are not the first person to ask. Andrew knows.
I believe you cannot control the palette, I use tricks to keep colours aligned and remove certain colours, but even this changes occasionally without me knowing why
Andrew
Andrew
_______________________________________________
Therion mailing list
Therion at speleo.sk <mailto:Therion at speleo.sk>
http://mailman.speleo.sk/mailman/listinfo/therion
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20151211/f821e937/attachment.htm>
More information about the Therion
mailing list