POV-Ray : Newsgroups : povray.beta-test : Non-rotating slope maps in 3.5.beta.11.incl.win32 : Re: Non-rotating slope maps in 3.5.beta.11.incl.win32 Server Time
29 Jul 2024 22:22:54 EDT (-0400)
  Re: Non-rotating slope maps in 3.5.beta.11.incl.win32  
From: Christopher James Huff
Date: 14 Feb 2002 10:59:26
Message: <chrishuff-BA3BC9.10590714022002@netplex.aussie.org>
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

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