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:32:28 EDT (-0400)
  Re: Non-rotating slope maps in 3.5.beta.11.incl.win32  
From: Anders K 
Date: 14 Feb 2002 10:47:40
Message: <3c6bdc1c$1@news.povray.org>
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

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