POV-Ray : Newsgroups : povray.binaries.images : ~25K donut getting rolled up : Re: ~25K donut getting rolled up Server Time
3 Nov 2024 17:59:37 EST (-0500)
  Re: ~25K donut getting rolled up  
From: Moon47
Date: 17 May 2000 02:16:51
Message: <3920EA95.7118F28A@earthlink.net>
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

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