change palette for color map-fg altitude
Hi, "color map-fg altitude" will color the map passage by scrap according to its relative elevation and works well. I'd like to customise the color pallete to avoid the blue on blue I get for river cave. I've modified the water in the example below to be blue too. Anyone know where the palette is defined? [cid:image002.png@01D13347.D5616700][cid:image004.png@01D13347.D5616700] Many thanks, Henry Dell Corporation Limited is authorised and regulated in the UK by the Financial Conduct Authority for consumer credit brokerage. Registered in England and Wales. Company Registration Number: 2081369 Registered address: Dell House, The Boulevard, Cain Road, Bracknell, Berkshire, RG12 1LF, UK. Company details for other Dell UK entities can be found on www.dell.co.uk.
+++ Henry_Bennett@Dell.com [2015-12-10 12:39 +0000]:
Hi,
“color map-fg altitude” will color the map passage by scrap according to its relative elevation and works well.
I’d like to customise the color pallete to avoid the blue on blue I get for river cave. I’ve modified the water in the example below to be blue too.
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. Patches always welcome, if you get enthused. Wookey -- Principal hats: Linaro, Debian, Wookware, ARM http://wookware.org/
.
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
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@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@speleo.sk http://mailman.speleo.sk/mailman/listinfo/therion
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@speleo.sk [mailto:therion-bounces@speleo.sk] On Behalf Of Footleg Sent: 11 December 2015 22:23 To: List for Therion users <therion@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@wotcc.org.uk <mailto:andrew@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@speleo.sk <mailto:Therion@speleo.sk> http://mailman.speleo.sk/mailman/listinfo/therion
11. 12. 2015 v 23:45, Henry Bennett <henry@hbennett.com>:
// vsetkym scrapom v kazdej priradi farbu // All scrapie assign each color (google translate)
It will assign a color to each scrap (sluka translate) m.s.
participants (6)
-
Andrew Atkinson -
Footleg -
Henry Bennett -
Henry_Bennett@Dell.com -
Martin Sluka -
Wookey