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 14:12:40 EDT (-0400)
  Re: Who pulled the plug? - bathtub.jpeg (1/1)  
From: Chris Huff
Date: 17 Dec 2000 20:33:12
Message: <chrishuff-B1C159.20341517122000@news.povray.org>
In article <MPG.14a57ca52986461b98985d@news.povray.org>, 
jam### [at] dh70qdu-netcom (Jamie Davison) wrote:

> <foetal position>
> <Whimper>
> Make the bad man go away mommy...
> <shake>

Heh heh heh....

function {((cos(sqrt(x*x+z*z)) - y*y))}

function {((cos(sqrt(x*x+z*z))+cos(y) - y*y))}

function {sqrt(sqr(x) + sqr(y-sqrt(sqr(x/2)+sqr(z/2))*1.5) + sqr(z)) - 1 
- (sin(atan2(x, z)*Ridges)*0.5*RidgeDepth)}

function {sqrt(x*x + z*z) + cos(abs(y/4))*2 - 2 - noise3d(x*0.5, y*0.2, 
z*0.5)*0.75 - noise3d(x*0.25, y*0.05, z*0.45) - noise3d(x*4, y, 
z*4)*0.05}

function {sqrt(x^2 + y^2 + z^2) - 1 - abs(sin(TH(x, y, z) + 
(PI*12*atan(sqrt(x^2 + z^2)/y))))*abs(sin(atan(sqrt(x^2 + 
z^2)/y)*15))&(-y +0.01)}

function {A*x + B*y + C*z + ((-1*cos(sqrt(x*x + 
z*z)*1.5))/(sqrt(x*x+1+z*z)/5) + (noise3d(x*0.25, y*0.25, z*0.25) + 
noise3d(x*0.2, y*2, z*2)*0.075)*2)}

Had enough? I've got many more where those came from...some even longer. 
:-)

Seriously, these functions are made of pretty basic pieces...once you 
understand them, making things like this isn't difficult. And for a lot 
of things, you just need to know some basic equations and what the 
graphs of the other functions look like.

-- 
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.