POV-Ray : Newsgroups : povray.general : RGB color cube function? : Re: RGB color cube function? Server Time
19 Apr 2024 19:09:33 EDT (-0400)
  Re: RGB color cube function?  
From: Lars R 
Date: 29 Apr 2017 17:42:08
Message: <590508b0$1@news.povray.org>
> If you are running with POV-Ray 3.7.1 or later there is the new
> user_defined pattern for pigments where the channels are each controlled
> directly by functions. See:
> 
> http://wiki.povray.org/content/Reference:User_Defined_Pattern
> 
> For what you want something like:
> 
> pigment {
>   user_defined {
>     function { x },
>     function { y },
>     function { z },
>     ,
>   }
> }
> 
> should work I think.

Awesome! I didn't know that. It is not mentioned in the online docu,
yet, is it?

> Aside: I've played only a little with Christoph's new feature here, but
> it's obvious already to me that it throws open the door - so to speak -
> on what can be done with pigments. I'm also finding this method of
> specifying pigments easy to use.

Absolutely! I have thousands if ideas what to do with that feature!

Thanks for that!

Lars R.


Post a reply to this message

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