POV-Ray : Newsgroups : povray.unofficial.patches : I don't understand the slope pattern : Re: I don't understand the slope pattern Server Time
1 Sep 2024 18:20:29 EDT (-0400)
  Re: I don't understand the slope pattern  
From: Warp
Date: 2 May 2001 12:15:51
Message: <3af032b7@news.povray.org>
Tom Melly <tom### [at] tomandlucouk> wrote:
:> But when you scaled the height field to it's proper height, the textures
:> would still be stretched along the y axis.

: That's what I thought. Warp, can you confirm, or have I/we missed something?

  It depends on how you use the slope pattern, but yes, in many cases this
can happen.

-- 
#local D=array[6]{11117333955,7382340,3358,3900569407,970,4254934330}
#local I=0;#macro M()<mod(D[I],13)-6,mod(div(D[I],13),8)-3,10>#end
blob{#while(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2
pigment{rgb M()}}#local I=(D[I]>99?I:I+1);#end}               /*- Warp -*/


Post a reply to this message

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