|
|
Wasn't it Leef_me who wrote:
>
>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?
Use map_type 5.
Create your torus with major axis equal to 1, because that's where the
map_type 5 pigment radiates from, then scale it to the size you require
after applying the pigment.
difference {
torus {1, 0.6}
box {<0,-1,-2> <2,1,0>}
pigment {
image_map {jpeg "test.jpg" map_type 5}
}
scale 4
}
--
Mike Williams
Gentleman of Leisure
Post a reply to this message
|
|