POV-Ray : Newsgroups : povray.binaries.images : ~25K donut getting rolled up : ~25K donut getting rolled up Server Time
4 Nov 2024 15:32:35 EST (-0500)
  ~25K donut getting rolled up  
From: hall
Date: 16 May 2000 19:44:58
Message: <3921dd7a@news.povray.org>
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}
}


Post a reply to this message


Attachments:
Download 'a1.jpg' (14 KB)

Preview of image 'a1.jpg'
a1.jpg


 

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