POV-Ray : Newsgroups : povray.general : Gravity Well simulation? : Re: Gravity Well simulation? Server Time
7 Aug 2024 21:26:21 EDT (-0400)
  Re: Gravity Well simulation?  
From: Nekar Xenos
Date: 28 May 2001 10:31:03
Message: <3b126127@news.povray.org>
"Bill DeWitt" <bde### [at] cflrrcom> wrote in message
news:3b125f3e$1@news.povray.org...
>
>     I want to make an animation that shows how planets look in one of those
> diagrams that show the gravity well as a flat surface that is dented where
> the planets lay on it. I hope to make it look like spongy rubber instead of
> a grid, maybe a mesh, but I can't imagine calculating all the points as the
> pieces move...
>
>     Any ideas gratefully accepted.
>
>
I think that if you have the formula and can do isosurfaces, you could just do
an isosurface using the formula of the gravity well. Hmm, come to think of it, I
wonder what the formula that Gail posted in p.o-t. would look like as an
isosurface.

--
/* Nekar Xenos */#local N=<-20,40,100>;#local K=<20,-40,100>;#local R=seed(0);
blob{#while((K-N).x>0)#local X=N;#local N=N+<rand(R),rand(R),1>/3;#local N=(
vlength(N-K)<vlength(X-K)?N:2*X-N);sphere{<N.y,-N.x,N.z>,1,1 scale .02}sphere{N
,1,1 scale.02}sphere{<-N.x-40,N.y,N.z>1,1 scale.01}sphere{<N.x+40,-N.y,N.z>1,1
scale.01 }#end pigment{rgbt 1}interior{media{emission <2,4,5>*5}}hollow}


Post a reply to this message

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