POV-Ray : Newsgroups : povray.advanced-users : How to make my own 3D pigment? : Re: How to make my own 3D pigment? Server Time
26 Jun 2024 08:39:33 EDT (-0400)
  Re: How to make my own 3D pigment?  
From: SharkD
Date: 22 Jun 2011 22:20:05
Message: <4e02a2d5$1@news.povray.org>
On 6/22/2011 10:13 AM, Lars R. wrote:
> I want to render objects having a self-made 3D pigment that is defined
> via 3 user-defined functions (one for red, one for green and one for
> blue), or via one function that returns an RGB color vector directly
>
> (Or even an 4- or 5-dimensional rgbf, rgbt or rgbft vector)
>
> Is that possible, somehow?
>
>
> As far as I understand a user-defined pigment functions just returns a
> single float that is used as an index in a color_map.
>
>
> 			Lars R.


There are some good examples here:

http://lib.povray.org/searchcollection/index2.php?objectName=ColorSolid&version=1.21&contributorTag=SharkD


Mike


-- 
http://isometricland.com


Post a reply to this message

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