|
|
I'm not sure what you see as the problem
if you use gradient x the gradient is perpendicular to the x-axis, the color
map runs from 0 to 1 and then repeats (without scaling)
'x' is an internal operator which expands to <1,0,0>
using x+y gets you <1,0,0>+<0,1,0> = <1,1,0>
here the gradient would run in this direction, the color map would start at
the origin and run to distance of 1 in the <1,1,0> direction.
any vector that you put in for the orientation of the gradient represents
the direction of the gradient pattern. The color_map will always run from 0
to a distance of 1 no matter how large the vector is. for <1,1,0> the color
map runs in the <1,1,0> direction but repeats at the point <0.707,0.707,0>
(the length of this is 1) and so on.
-tgq
--
camera{location z*13look_at 0}light_source{15 15looks_like{sphere{0 10
}pigment{rgb 1}finish{ambient 15}}}union{torus{3,0.5rotate x*90}cone{y
*4,.5,-y*8,0}cone{-x*4,.5,x*8,0}pigment{rgb<.7,.6,.4>}finish{ambient 0
diffuse 0reflection{1fresnel on metallic 1}}interior{ior 25}rotate 15}
plane{y,-7pigment{checker rgb 0rgb 1scale 4}finish{diffuse.1}}// TGQ
Post a reply to this message
|
|