|
![](/i/fill.gif) |
"Leef_me" <nomail@nomail> wrote in message
news:web.4904bd7445e043c998cd18890@news.povray.org...
>
> I want to apply a color map to a torus so that the maps are applied as
> wedges
> when viewing a cross-section of the torus.
> (I think this would be radially, but I am unsure.)
>
> Can some give me a simple example of this?
>
> Thanks in advance.
>
> Leef_me
Do you mean something like:
camera {location <0,2,-4> look_at 0}
light_source {<-1,50,10>, rgb 0.4}
torus { 1, 0.1
pigment {
radial
color_map {
[0.0 color rgb <1,0,0>]
[0.3 color rgb <1,0,0>]
[0.3 color rgb <0,1,0>]
[0.6 color rgb <0,1,0>]
[0.6 color rgb <0,0,1>]
[1.0 color rgb <0,0,1>]
}
}
}
Post a reply to this message
|
![](/i/fill.gif) |