|
|
m.o.p.s wrote:
> Could you tell me if there is a simple way to build this shape. It's inside
> a torus when major radius < minor radius. I realise one macro ( the blu
> shape ) but it's empty, i would like to have this shape filled.
> thank you
#include "functions.inc"
isosurface {
function {
f_sphere(x+0.5*sin(f_th(x,z,y)),y+0.5*cos(f_th(x,z,y)),z, 1.0)
}
contained_by { box{-1, 1} }
}
The 1.0 is the minor radius, the two 0.5 the major radius.
Christoph
--
POV-Ray tutorials, include files, Landscape of the week:
http://www.tu-bs.de/~y0013390/ (Last updated 24 Jul. 2005)
MegaPOV with mechanics simulation: http://megapov.inetart.net/
Post a reply to this message
|
|