|
|
In article <3c6bcce7@news.povray.org>,
"Greg M. Johnson" <gregj:-)565### [at] aolcom> wrote:
> Contrast this effect with that of:
> //#declare piggy=pigment {slope {y}frequency 4}
> #declare piggy=pigment {bozo}
>
> // unrotated slope map
> sphere{0,2
> rotate 0*z
> translate -3*x+10*z
> pigment {piggy}
> finish{ambient 0.5}}
>
> // rotated slope map looks the same:
> // IMHO I don't like this.
> sphere{0,2
> rotate 90*z
> translate 3*x+10*z
> pigment {piggy}
> finish{ambient 0.5}}
As someone else mentioned, you forgot to put the transformation after
the texture, so of course it isn't being rotated.
Also, you aren't using a slope map, you are using the slope pattern.
They are two completely different features, slope_map is more the analog
of color_map for the normal statement.
--
Christopher James Huff <chr### [at] maccom>
POV-Ray TAG e-mail: chr### [at] tagpovrayorg
TAG web site: http://tag.povray.org/
Post a reply to this message
|
|