"Gail Shaw" <gsh### [at] monotix co za> wrote in message
news:3b15ecda@news.povray.org...
> Cool.
>
> Two points. The wells for the planets look a little too deep (compaired to
> the
> sun) and the falloff for the planets is too fast.
>
> Now do a black hole <grin>
>
> What's the isofunction you've used?
Well that's the problem isn't it... I need a function that doesn't go
vertical... I would like it to go as deep as the mass is large.
What I am using now is (for instance)...
#declare MarsMass = 15;
#declare MarsPosx = sin(clock*(2*pi))*39;
#declare MarsPosz = (cos(clock*(2*pi))*35)+4;
#declare MarsHole = sqrt(MarsMass)/5;
#local Mars = function(MarsMass/(max(
(x-MarsPosx)*(x-MarsPosx)
+(z-MarsPosz)*(z-MarsPosz)
,MarsHole)
)
) /// end function
isosurface{
function { y+Sun+Earth+Moon+Mars }
Post a reply to this message
|