POV-Ray : Newsgroups : povray.advanced-users : Strange bug in heightfield : Re: Strange bug in heightfield Server Time
29 Jul 2024 14:17:50 EDT (-0400)
  Re: Strange bug in heightfield  
From: Simon Adameit
Date: 21 Jan 2002 17:49:09
Message: <3c4c9ae5@news.povray.org>
>
>   Any idea what causes these bugs?

Try this and you will see that the normals indeed seem to be switched.

camera
{ location #if(0) <0,-0.3,0> #else 0 #end
  look_at z*1
}

height_field
{ function 200,200 { pattern { granite } }
  smooth
  scale <10,1.5,10>
  pigment {slope y}
  finish{ambient 1}
  translate -<5,.3,0>
}


--
#local T=text{ttf"timrom.ttf""Simon Adameit".01,0}#local Y=1;#while(Y>-1)
#local X=0;#while(X<7)#local O=trace(T<X,Y><X,Y>+z);cylinder{<X-3,Y,5>*.01
<X-3,Y,5>*.01+5e-3,5e-5pigment{rgb 25*O}}#debug chr(83-(O.x=0)*51)#local
X=X+.05;#end#debug"\n"#local Y=Y-.05;#end


Post a reply to this message

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