POV-Ray : Newsgroups : povray.general : Can I use a function to create a pigment WITHOUT using a colour_map? : Re: Can I use a function to create a pigment WITHOUT using a colour_map? Server Time
30 Jul 2024 00:27:05 EDT (-0400)
  Re: Can I use a function to create a pigment WITHOUT using a colour_map?  
From: Rarius
Date: 12 Apr 2010 04:23:11
Message: <4bc2d86f$1@news.povray.org>
"Reactor" <rea### [at] hotmailcom> wrote in message 
news:web.4bc22e72256a6c956811279d0@news.povray.org...
> pigment
> {
> color rgbt <fRingRed(x,y,z).red,
>            fRingGreen(x,y,z).red,
>            fRingBlue(x,y,z).red,
>            fRingTrans(x,y,z).red>
> }

The problem I am having is that rgbt<> will not accept a function as a 
parameter...

rgbt<r,g,b,t> works while rgbt<fRed(x,y,z),fGreen(x,y,z),fBlue(x,y,z)> will 
not parse even if the fRed() functions just return 0!

Rarius


Post a reply to this message

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