POV-Ray : Newsgroups : povray.beta-test : Scale in function pattern ? : Re: Scale in function pattern ? Server Time
5 Nov 2024 03:15:49 EST (-0500)
  Re: Scale in function pattern ?  
From: Ron Parker
Date: 7 Sep 2001 09:55:22
Message: <slrn9phkeb.55q.ron.parker@fwi.com>
On Fri, 7 Sep 2001 15:39:21 +0200, Jan Walzer wrote:
>Sorry for not finding in the docs ...
>In the example source I can change the marked scale-value without any
>effect...
>But as the parser accepts it, it can't be completely wrong, can it ?

I think this is a known bug.

>If it's wrong, is there another way to set the "scale" of the structure in
>the function G ?

#declare G1=function {pattern{crackle solid}}
#declare G=function{G1(x*10,y*10,z*10)}

-- 
#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{rgbf 1}hollow interior{media{emission 3-T}}}#end 
Z(-x-x.2x)camera{location z*-10rotate x*90normal{bumps.02scale.05}}


Post a reply to this message

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