POV-Ray : Newsgroups : povray.newusers : 3d color function : Re: 3d color function Server Time
30 Jul 2024 02:26:35 EDT (-0400)
  Re: 3d color function  
From: Mike Williams
Date: 22 Nov 2004 00:44:45
Message: <eJffeCAdyXoBFwNs@econym.demon.co.uk>
Wasn't it Bernd Fuhrmann who wrote:
>Hi!
>
>I'd like to do something like this:

You could use texture layering:

#declare texture3 =
texture {pigment {function {f_r(x,y,z)} color_map {[0 rgb 0][1 rgb x]}}}
texture {pigment {function {f_g(x,y,z)} color_map {[0 rgbt 1][1 rgb y]}}}
texture {pigment {function {f_b(x,y,z)} color_map {[0 rgbt 1][1 rgb z]}}}

-- 
Mike Williams
Gentleman of Leisure


Post a reply to this message

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