POV-Ray : Newsgroups : povray.general : radial colour gradient : Re: radial colour gradient Server Time
31 Jul 2024 18:22:13 EDT (-0400)
  Re: radial colour gradient  
From: Dav shef
Date: 19 Oct 2006 05:05:00
Message: <web.45373ea1fd7ce4e699678ae0@news.povray.org>
"Penelope20k" <pen### [at] caramailfr> wrote:
> sphere {center,radius_sphere
>
> pigment {rgbt a // exterior colour with transparency set to 1
> }
> interior {ior 1 fade_color B fade_power 1 fade_distance radius_sphere}
>
> }
>
> should works with appropriate value
>


I've tried this :

sphere {<0,0,0>,1.0
pigment {rgbt <1,0,0,1> // exterior colour with transparency set to 1
}
interior {ior 1 fade_color <1,0,0> fade_power 5 fade_distance 1.8}
}


it works, but it givese exactly the opposite of what I wanted: Red inside
faing to white on the outside. What I am trying to get is a red sphere with
white inside.


Post a reply to this message

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