POV-Ray : Newsgroups : povray.general : sign "M" : Re: sign "M" Server Time
5 Aug 2024 22:15:47 EDT (-0400)
  Re: sign "M"  
From:
Date: 24 Jul 2002 02:50:39
Message: <78jsjus4i716o6p5uodu31014q94cjk0a8@4ax.com>
On Tue, 23 Jul 2002 22:41:40 +0200, Tor Olav Kristensen
<tor### [at] hotmailcom> wrote:
> I still feel that it could be shortened further...

something like this ?

light_source{y#local g=function{abs(sin(9*sqrt(x*x+y*y)))*pow(3-min(3,sqrt(x
*x+y*y)),2)/z+.9}2}sphere{20*z#macro p(Y,C,X)#if(C)g(abs(x)-X,y-Y,22)*p(Y-2C
-1X)#end#end 9pigment{function{p(4,4,4)p(2,2,0)p(4,1,2)1}}}//M

increasing/decreasing 22 you can simple control visibility of this relief

ABX


Post a reply to this message

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