|
|
"aelgoa" <nomail@nomail> wrote:
> I want to colour a lathe object with a gradient going around the surface, so at
> a particular point, start and end colors clash along a vertical line. How do I
> do this?
To clarify, right now my gradient cy cles twice, no mater how I scale it.
lathe {
linear_spline
2,
<5.7, .1>,
<6.3, -.1>
pigment {
gradient x
color_map {
[0.00 color Black]
[1.00 color rgb <1.0, 0.5, 0.2>
]
}
scale 12
}
Post a reply to this message
|
|
|
|
"aelgoa" <nomail@nomail> wrote:
> "aelgoa" <nomail@nomail> wrote:
> > I want to colour a lathe object with a gradient going around the surface, so at
> > a particular point, start and end colors clash along a vertical line. How do I
> > do this?
>
> To clarify, right now my gradient cy cles twice, no mater how I scale it.
>
>
> lathe {
> linear_spline
>
> 2,
>
> <5.7, .1>,
> <6.3, -.1>
>
>
> pigment {
> gradient x
> color_map {
> [0.00 color Black]
> [1.00 color rgb <1.0, 0.5, 0.2>
> ]
> }
> scale 12
> }
In documentation:
lathe, sor : modified spherical mapping... the u coordinate (0..1) wraps around
the y axis, while the v coordinate is linked to the object's control points
(also ranging 0..1). Surface of Revolution also has special disc mapping on the
end caps if the object is not 'open'.
Post a reply to this message
|
|