POV-Ray : Newsgroups : povray.binaries.images : transparency again : Re: transparency again Server Time
4 Oct 2024 21:14:41 EDT (-0400)
  Re: transparency again  
From: Spider
Date: 16 Feb 1999 14:56:19
Message: <36C9CC18.68970172@bahnhof.se>
Hmm, now I didn't think of this before... Perhaps it is time to simulate
the soft shadows of an arealight with a transparent fade... Perhapss...
In some cases it whould work well..

//Spider

Marc Schimmler wrote:
> 
> Here one image mention in the tranparency thread on povray.general
> 
> The left one uses the approach by Warp and Ken using rgbf while the left
> one uses the rgbt approach by Spider.
> 
> Thanks for all the answers.
> 
> Marc
> --
> Marc Schimmler
> 
>   ------------------------------------------------------------------------
>  [Image]
> 
>   ------------------------------------------------------------------------
> camera {location <0,2,-4>
>         look_at  <0,0.5,0>}
> 
> light_source {<0,10,-4> rgb <1,1,1>}
> 
> cylinder  // right cylinder
> { 0,0.999*y,1
>   pigment
>   { gradient y color_map
>     { [0 rgbf  <1,0,0,0>]
>       [1 rgbf  <1,0,0,1>]
>     }
>   }
> translate <1.2,0,0>
> }
> 
> cylinder  // left cylinder
> { 0,0.999*y,1
> //open
>   pigment
>   { gradient y color_map
>     { [0 rgbt  <1,0,0,1>]
>       [1 rgbt  <1,0,0,0>]
>     }
>   }
> translate <-1.2,0,0>
> }
> 
> plane {y,-1 pigment{ rgb 1}}

-- 
#declare life = rand(seed(42))*sqrt(-1);


Post a reply to this message

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