|
|
Neat O' =
Soooo glad i can use functions now...
Or at least be able to...
Whenever i sit down and figure them out...
t=
hall wrote:
> Here's the source, image below, maybe someone with more computing power (and
> inspiration)
> can do a little more with it---------
> Quadhall
>
> #version unofficial MegaPOV 0.5;
> light_source { <3,3,-8> 1 shadowless}
> camera { location <0,3,-4> look_at <0,0,0> }
> #declare major=1.5;
> #declare minor=.2;
> #declare a=function{abs(sqrt((x^2)+(z^2))-major)}
> #declare b=function{sqrt(y^2+a^2)-minor+1}
> #declare c=function{sqrt((x*x)+(y*y))}
> #declare d=function{c(x,y,z)*3*pi}
> #declare e=function{x*cos(d)+y*sin(d)}
> #declare f=function{-1*x*sin(d)+y*cos(d)}
> isosurface
> {
> function {b(e,f,z)}
> contained_by{sphere {0,3}}
> //eval
> max_gradient 11
> threshold 1
> pigment{color rgb 1}
> rotate<0,-15,0>
> finish{ambient .4}
> }
>
> [Image]
Post a reply to this message
|
|