POV-Ray : Newsgroups : povray.binaries.images : Iso-bonds again (42 KB) : Re: Iso-bonds again (42 KB) Server Time
16 Aug 2024 22:19:30 EDT (-0400)
  Re: Iso-bonds again (42 KB)  
From:
Date: 14 Dec 2001 02:38:21
Message: <5saj1ucec2qf8h05sm3i7goaj39otdh85a@4ax.com>
On Fri, 14 Dec 2001 01:09:58 +0100, Tor Olav Kristensen
<tor### [at] hotmailcom> wrote:
> Btw.: Does anyone (Warp ?) know if it currently
> is possible to make recursive functions in v3.5 ?

I have used recursive functions in
http://news.povray.org/fnpb0u87q8fuome5fruo6tp2mf83jsoprp@4ax.com

ABX
--
#declare _=function(a,b,x){((a^2)+(b^2))^.5-x}#default {pigment{color rgb 1}}
union{plane{y,-3}plane{-x,-3}finish{reflection 1 ambient 0}}isosurface{ //ABX
function{_(x-2,y,1)&_((x+y)*.7,z,.1)&_((x+y+2)*.7,z,.1)&_(x/2+y*.8+1.5,z,.1)}
contained_by{box{<0,-3,-.1>,<3,0,.1>}}translate z*15finish{ambient 1}}//POV35


Post a reply to this message

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