POV-Ray : Newsgroups : povray.newusers : Detail on curved surfaces? : Re: Detail on curved surfaces? Server Time
2 Nov 2024 17:19:44 EDT (-0400)
  Re: Detail on curved surfaces?  
From: Bernard Hatt
Date: 8 Nov 2003 14:40:01
Message: <web.3fad46297ae16a6a24288e880@news.povray.org>
Christopher James Huff wrote:
[ ... ]
>Are you trying to make a white shape on a green background? Here are two
>ways to do that:
>Make the circle texture blend from white to green:
>
>        object {sphere {< 0, 0,-5>, 3}
>            pigment {color Green}
>            pigment {bozo
>                color_map {
>                    [0.5 color Green]
>                    [0.5 rgbf <1,1,1,0>]
>                }
>            }
>        }
>
>Make a layered texture with the upper layer being partly transparent and
>the lower layer being green:
>
>sphere {0, 5
>    texture {pigment {color Green}}
>    texture {
>        pigment {
>            object {sphere  {< 0, 0,-5>, 3}
>                pigment {rgbf 1}
>                pigment {bozo
>                    color_map {
>                        [0.5 rgbf 1]
>                        [0.5 rgb 1]
>                    }
>                }
>            }
>        }
>    }
>}
>
>Christopher James Huff <cja### [at] earthlinknet>
>http://home.earthlink.net/~cjameshuff/
>POV-Ray TAG: chr### [at] tagpovrayorg
>http://tag.povray.org/

Great, the 2nd example is exactly what I was looking for.

I was trying to sort out how to put a bounded pattern onto an existing
patterned object.

Thanks for the quick response,

Bernard


Post a reply to this message

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