POV-Ray : Newsgroups : povray.newusers : Newbie question about functions : Re: Newbie question about functions Server Time
2 Jul 2024 21:25:38 EDT (-0400)
  Re: Newbie question about functions  
From: Sherry Shaw
Date: 20 Dec 2010 11:05:44
Message: <4d0f7ed8$1@news.povray.org>
And a couple of additional trivial thoughts...

(1) Expressions of the type "x * (x > someDangNumber)" can be used in 
functions--might something like this be useful?

(2) I notice that "X" and "Y" are capitalized--might this be a problem?

--Sherry Shaw

-- 
#macro T(E,N)sphere{x,.4rotate z*E*60translate y*N pigment{wrinkles scale
.3}finish{ambient 1}}#end#local I=0;#while(I<5)T(I,1)T(1-I,-1)#local I=I+
1;#end camera{location-5*z}plane{z,37 pigment{granite color_map{[.7rgb 0]
[1rgb 1]}}finish{ambient 2}}//                                   TenMoons


Post a reply to this message

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