POV-Ray : Newsgroups : povray.binaries.images : Easy colormapping Server Time
7 Nov 2024 15:36:47 EST (-0500)
  Easy colormapping (Message 1 to 10 of 12)  
Goto Latest 10 Messages Next 2 Messages >>>
From: Norbert Kern
Subject: Easy colormapping
Date: 23 Sep 2015 07:05:04
Message: <web.560286c8f956c062746db0c30@news.povray.org>
Hi,

making nice colormaps can easily become a cumbersome task - especially in the
case of fractal images, where the harmonious arrangement of colors is essential.

Recently I stumbled across a nice little macro of Christophe Bouffartique
(Insects and... Spiderman -
http://www.irtc.org/ftp/pub/stills/2001-06-30/cbspider.zip). He used a photo to
get colormap entries for a wood texture.

With some tweaking this macro takes an image containing 1250 stripes of colors
and returns colormaps with up to 256 entries. The order of the entries can be
turned upside down too.

Ideas came from design, fashion, advertising, cosmetics, fabrics, furnishing,
website layouts, color palette collections, art, graphics, photos (e.g. sunsets
or tropic fishs) etc.

Shown are two examples together with the corresponding colormap.

I posted a similar test scene to pbsf
(http://news.povray.org/povray.binaries.scene-files/thread/%3Cweb.560285cd3b3e676746db0c30%40news.povray.org%3E/
).

Norbert Kern


Post a reply to this message


Attachments:
Download 'easy_colormapping.jpg' (883 KB)

Preview of image 'easy_colormapping.jpg'
easy_colormapping.jpg


 

From: Thomas de Groot
Subject: Re: Easy colormapping
Date: 23 Sep 2015 07:36:42
Message: <56028eca$1@news.povray.org>
That's very very nice indeed! Gorgeous examples. I shall certainly try 
that out.
-- 
Thomas


Post a reply to this message

From: clipka
Subject: Re: Easy colormapping
Date: 23 Sep 2015 10:34:03
Message: <5602b85b$1@news.povray.org>
Am 23.09.2015 um 13:02 schrieb Norbert Kern:

> With some tweaking this macro takes an image containing 1250 stripes of colors
> and returns colormaps with up to 256 entries. The order of the entries can be
> turned upside down too.

Fun fact to know: POV-Ray (post-3.7.0) should be fine with more than 256
entries in a whatever_map.


Post a reply to this message

From: Norbert Kern
Subject: Re: Easy colormapping
Date: 23 Sep 2015 11:15:01
Message: <web.5602c1093b67646c746db0c30@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
> That's very very nice indeed! Gorgeous examples. I shall certainly try
> that out.
> --
> Thomas

Thank you very much!

Norbert


Post a reply to this message

From: Norbert Kern
Subject: Re: Easy colormapping
Date: 23 Sep 2015 11:15:01
Message: <web.5602c1c23b67646c746db0c30@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:

> Fun fact to know: POV-Ray (post-3.7.0) should be fine with more than 256
> entries in a whatever_map.

Good to know - but besides UberPOV, when we'll see an official version?


Post a reply to this message

From: clipka
Subject: Re: Easy colormapping
Date: 23 Sep 2015 11:39:36
Message: <5602c7b8$1@news.povray.org>
Am 23.09.2015 um 17:14 schrieb Norbert Kern:
> clipka <ano### [at] anonymousorg> wrote:
> 
>> Fun fact to know: POV-Ray (post-3.7.0) should be fine with more than 256
>> entries in a whatever_map.
> 
> Good to know - but besides UberPOV, when we'll see an official version?

You mean an official /release/ version?

Can't say. That'll be up to Chris Cason.

I for one consider POV-Ray an ongoing work in progress anyway, now that
it's on GitHub. Whatever is in the "master" branch should be good enough
to go.


Post a reply to this message

From: nemesis
Subject: Re: Easy colormapping
Date: 23 Sep 2015 12:45:00
Message: <web.5602d7023b67646c352a052d0@news.povray.org>
"Norbert Kern" <nor### [at] t-onlinede> wrote:
> Hi,
>
> making nice colormaps can easily become a cumbersome task - especially in the
> case of fractal images, where the harmonious arrangement of colors is essential.
>
> Recently I stumbled across a nice little macro of Christophe Bouffartique
> (Insects and... Spiderman -
> http://www.irtc.org/ftp/pub/stills/2001-06-30/cbspider.zip). He used a photo to
> get colormap entries for a wood texture.
>
> With some tweaking this macro takes an image containing 1250 stripes of colors
> and returns colormaps with up to 256 entries. The order of the entries can be
> turned upside down too.

you, sir, are as amazing as Bouffartique and other greats from the povray
legendarium :thumbsup:


Post a reply to this message

From: Norbert Kern
Subject: Re: Easy colormapping
Date: 23 Sep 2015 13:45:00
Message: <web.5602e4a03b67646c746db0c30@news.povray.org>
"nemesis" <nam### [at] gmailcom> wrote:

> you, sir, are as amazing as Bouffartique and other greats from the povray
> legendarium :thumbsup:




Thanx - it's a great compliment.


Post a reply to this message

From: Thomas de Groot
Subject: Re: Easy colormapping
Date: 24 Sep 2015 03:37:48
Message: <5603a84c$1@news.povray.org>
By the way, you can avoid the warning messages by deleting 'rgb' before 
eval_pigment () in the macro.

Thomas


Post a reply to this message

From: Norbert Kern
Subject: Re: Easy colormapping
Date: 24 Sep 2015 10:05:00
Message: <web.560402753b67646ccbb30a5d0@news.povray.org>
Thomas de Groot <tho### [at] degrootorg> wrote:
> By the way, you can avoid the warning messages by deleting 'rgb' before
> eval_pigment () in the macro.
>
> Thomas


Thanx for the tip!


Post a reply to this message

Goto Latest 10 Messages Next 2 Messages >>>

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.