POV-Ray : Newsgroups : povray.general : subtle color_map problem when fading to transparency : Re: subtle color_map problem when fading to transparency Server Time
1 Aug 2024 02:16:47 EDT (-0400)
  Re: subtle color_map problem when fading to transparency  
From: Zeger Knaepen
Date: 22 May 2006 08:56:27
Message: <4471b4fb$1@news.povray.org>
"Mike Williams" <nos### [at] econymdemoncouk> wrote in message 
news:$QPsrCAw+XcE### [at] econymdemoncouk...
> The white comes from the fact that "rgbf 1" is shorthand for 
> "rgbf <1,1,1,1>"
> 
> Try
>   [0.0 rgb <1,.5,.3>] // any color
>   [1.0 rgbf <1,.5,.3,1>] // the same colour but transparent

better yet:

    [0 rgb <1,.5,.3>]
    [1 rgbt <1,.5,.3,1>]

because rgbf <1,.5,.3,1> isn't completely transparent because of the 
filter-component

cu!
-- 
#macro G(b,e)b+(e-b)*C/50#end#macro _(b,e,k,l)#local C=0;#while(C<50)
sphere{G(b,e)+3*z.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1;
#end#end _(y-x,y,x,x+y)_(y,-x-y,x+y,y)_(-x-y,-y,y,y+z)_(-y,y,y+z,x+y)
_(0x+y.5+y/2x)_(0x-y.5+y/2x)            // ZK http://www.povplace.com


Post a reply to this message

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