POV-Ray : Newsgroups : povray.binaries.images : And now for something completely different (my IRTC, take 7) : Re: And now for something completely different (my IRTC, take 7) Server Time
18 Aug 2024 14:17:49 EDT (-0400)
  Re: And now for something completely different (my IRTC, take 7)  
From: Ken
Date: 16 Apr 2001 10:03:29
Message: <3ADAFBD6.4E0804D3@pacbell.net>
Geoff Wedig wrote:

> Well, I've been considering a whirlpool.  If I can work out an iso funtion,
> I'll do it.

This should come close -

#declare Vortex = function{1/((x^2)+(z^2)+0.3)+sin(atan2(x,z)*7+y*10)*0.025}
                  
#declare Vortex1 =
isosurface {
            function {y+Vortex(x,-y,z)}
            threshold 0
            accuracy 0.00001
            max_gradient 3.9
            contained_by {box {<-5,-4.99,-5>, < 5, 0.01, 5>}}
           }

-- 
Ken Tyler


Post a reply to this message

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