POV-Ray : Newsgroups : povray.binaries.images : Who pulled the plug? - bathtub.jpeg (1/1) : Re: Who pulled the plug? - bathtub.jpeg (1/1) Server Time
19 Aug 2024 08:21:19 EDT (-0400)
  Re: Who pulled the plug? - bathtub.jpeg (1/1)  
From: Chris Huff
Date: 15 Dec 2000 08:09:27
Message: <chrishuff-A26E30.08102715122000@news.povray.org>

<jbe### [at] enstfr> wrote:

> 	What's the equation for that? Something with a spiral pigment?

No special pigment, just flat blue...or were you talking about a pigment 
function? Nope, not one of those...

#declare Vortex =
function {
    1/(sqr(x)+sqr(z)+0.3) + sin(atan2(x,z)*7 + y*10)*0.025
}
isosurface {
    function {y
        +Vortex(x+2,y,z)
        +Vortex(x-2,y,z)
        +Vortex(x*3+1,y*3, z*3+3)*0.1
        +Vortex(x*3-1,y*3, z*3-3)*0.1
    }
    threshold 0
...
}

-- 
Christopher James Huff
Personal: chr### [at] maccom, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tagpovrayorg, http://tag.povray.org/

<><


Post a reply to this message

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