POV-Ray : Newsgroups : povray.beta-test : Slope pattern : Re: Slope pattern Server Time
4 Nov 2024 21:21:43 EST (-0500)
  Re: Slope pattern  
From: Ron Parker
Date: 24 Sep 2001 22:15:47
Message: <slrn9qvq6m.f7.ron.parker@fwi.com>
On Mon, 24 Sep 2001 20:38:36 -0400, Trevor Quayle wrote:
>If this is what is happening then I would support making slope pattern an
>exception to the rule, if possible.  That way the pattern would make more
>sense as the slope pattern does not wrap around in the way that others may.
>If 1 represents the positive perpendicular plane, then it should use the 1
>value from the colour map.  In the workaround you proposed, the top is
>fixed, but if you look at the bottom of the object (move the camera, don't
>rotate the object, or change the direction from y to -y), now the flat
>bottom is red where it should be white.

Good point.   This will be fixed in the next beta.

-- 
#macro R(L P)sphere{L F}cylinder{L P F}#end#macro P(V)merge{R(z+a z)R(-z a-z)R(a
-z-z-z a+z)torus{1F clipped_by{plane{a 0}}}translate V}#end#macro Z(a F T)merge{
P(z+a)P(z-a)R(-z-z-x a)pigment{rgbt 1}hollow interior{media{emission T}}finish{
reflection.1}}#end Z(-x-x.2y)Z(-x-x.4x)camera{location z*-10rotate x*90}


Post a reply to this message

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