POV-Ray : Newsgroups : povray.binaries.images : iso-sphere-sweep - second example : Re: iso-sphere-sweep - second example Server Time
16 Aug 2024 18:13:57 EDT (-0400)
  Re: iso-sphere-sweep - second example  
From:
Date: 7 Jan 2002 02:48:52
Message: <1jki3ukgeslbtpk84r1ua1hcn1gfc8q1q3@4ax.com>
On Sat, 05 Jan 2002 04:33:15 +0100, Tor Olav Kristensen <tor### [at] hotmailcom>
wrote:
> I could not spot any non-connected cylinder
> ends in that image, so I thought that maybe
> the source code below could be of interest
> for you.

Thank You.

> But maybe you have figured this out already...

Yes, Your method is similiar to one of those tested by me. I have tested
different modifications and optimizations to speed up rendering time.

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.