Aha -- you're right. There is indeed a bug here, although it wasn't shown by
his sample scene. A better example is:
// unrotated slope map
sphere {
0, 2
pigment { slope { y } frequency 4 }
finish { ambient 0.5 }
rotate 0*z
translate -3*x + 10*z
}
// rotated slope map looks the same:
sphere {
0, 2
pigment { slope { y } frequency 4 }
finish { ambient 0.5 }
rotate 90*z
translate 3*x + 10*z
}
Anders
--
light_source{6#local D#macro B(E)#macro A(D)#declare#declare C=mod(E
D);E=(E-C)/D;C#end#while(E)#if(A(8)=7)#declare D=D+2.8;#else#if(C<3)
}cylinder{0(C=<1 2>).2translate<D+C*A(2)A(4)#else}intersection{torus
{1 .2}box{-2y}rotate<1 0C>*90translate<D+1A(2)*2+1#end-2 13>pigment{
rgb x}finish{specular 1}#end#end#end=-8;1B(445000298)B(519053970)B(
483402386)B(1445571258)B(77778740)B(541684549)B(42677491)B(70)}
Post a reply to this message
|