|
![](/i/fill.gif) |
"andrel" <a_l### [at] hotmail com> wrote in message
news:403### [at] hotmail com...
>
>
> Dan P wrote:
>
> > "Christoph Hormann" <chr### [at] gmx de> wrote in message
> > news:ogt### [at] triton imagico de...
>
> my hints:
> - you don't need the zeros before the dot '-0.7' == '-.7'
> - you don't need a space between a number and a keyword or variable
> '1000 interior' == '1000interior'
> - you can thus also replace '45*x translate' by 'x*45translate'
> - you do not need a space before a '-'
> 'translate -0.7' == 'translate-.7'
> - 1000 or 999 do not make much difference (except one char)
>
> that gives:
>
> #declare f=function{pigment{mandel 999interior 1,1translate-.17
> color_map{[0rgb 0][1rgb 1]}scale 2}}light_source{y*.2rgb
> 1}height_field{function 999,999{f(x,y,z).gray*.1}pigment{rgb
> 1}translate-.5}camera{rotate x*45translate-.7*z}
Sweet! I wish I knew about the numbers thing before I put my entry in. I
think I might also be able to lose [0rgb 0] as well to get:
#declare f=function{pigment{mandel 999interior
1,1translate-.17color_map{[1rgb 1]}scale
2}}light_source{y*.2rgb1}height_field{function
999,999{f(x,y,z).gray*.1}pigment{rgb1}translate-.5}camera{rotate
x*45translate-.7*z}
I don't have pov at work, though; does the above compile?
Post a reply to this message
|
![](/i/fill.gif) |