POV-Ray : Newsgroups : povray.beta-test : Scale in function pattern ? : Re: Scale in function pattern ? Server Time
5 Nov 2024 03:19:23 EST (-0500)
  Re: Scale in function pattern ?  
From: Ron Parker
Date: 7 Sep 2001 10:37:02
Message: <slrn9phmsf.56v.ron.parker@fwi.com>
On Fri, 7 Sep 2001 16:12:05 +0200, Jan Walzer wrote:
>"Ron Parker" <ron### [at] povrayorg> wrote
>> >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)}
>>
>
>wouldn't it be simpler to implement the scale-keyword in the right way ?

Of course.  It will be fixed.  I thought you were asking for a workaround.

-- 
#local R=rgb 99;#local P=R-R;#local F=pigment{gradient x}box{0,1pigment{gradient
y pigment_map{[.5F pigment_map{[.3R][.3F color_map{[.15red 99][.15P]}rotate z*45
translate x]}]#local H=pigment{gradient y color_map{[.5P][.5R]}scale 1/3}[.5F
pigment_map{[.3R][.3H][.7H][.7R]}]}}}camera{location.5-3*z}//only my opinions


Post a reply to this message

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