 |
 |
|
 |
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
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.
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Bill DeWitt" <bde### [at] cfl rr com> 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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
> 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...
how about using a cloth sim (or patch) - i think it will do it
--
Rick
Kitty5 WebDesign - http://Kitty5.com
Hi-Impact database driven web site design & e-commerce
TEL : +44 (01625) 266358 - FAX : +44 (01625) 611913 - ICQ : 15776037
POV-Ray News & Resources - http://Povray.co.uk
PGP Public Key
http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x231E1CEA
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Bill DeWitt <bde### [at] cfl rr com> 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...
>
As a surface, I have no idea, but you could use splines and create
parallel lines, kinda like in the image Tor Olav Kristensen posted
on 22 Nov 2000, titled "Iso-sombrero (78KB)" (But without the
underling surface)
Would probably work fairly well for a still, as for animating it
<shudder>
Gail
*************************************************************************
* gsh### [at] monotix co za * Step into the abyss, *
* http://www.rucus.ru.ac.za/~gail/ * and let go. Babylon 5 *
*************************************************************************
* The difficult we do immediately, the impossible takes a little longer *
*************************************************************************
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Rick [Kitty5]" <ric### [at] kitty5 com> wrote in message
news:3b1262e9@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...
>
> how about using a cloth sim (or patch) - i think it will do it
I haven't been able to play with that yet. I followed the link to the
Windows version and it never loaded the page.
I'm thinking Iso-Surface. Each planet should be a spot where the minus Y
is less and less for x and z. If done right you could load planets into a
macro that would write in how many planets and their masses...
I am working on it, but my math is usually not up to such tasks...
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Nekar Xenos" <j-p### [at] citywalk co za> wrote :
>
> 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.
Right, for me the problem usually is working the formula into the
isosurface...
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Gail Shaw" <gsh### [at] monotix co za> wrote :
>
> As a surface, I have no idea, but you could use splines and create
> parallel lines, kinda like in the image Tor Olav Kristensen posted
> on 22 Nov 2000, titled "Iso-sombrero (78KB)" (But without the
> underling surface)
>
> Would probably work fairly well for a still, as for animating it
> <shudder>
That -would- be scary...
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
"Bill DeWitt" <bde### [at] cfl rr com> wrote in message
news:3b1264f8$1@news.povray.org...
> > how about using a cloth sim (or patch) - i think it will do it
>
> I haven't been able to play with that yet. I followed the link to the
> Windows version and it never loaded the page.
Same here.
--
/* 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
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
Bill DeWitt wrote:
>
> I haven't been able to play with that yet. I followed the link to the
> Windows version and it never loaded the page.
>
Maybe try it again, my page was not available yesterday, but it should
work again now, just the counter is broken, i hope that will be OK by
tomorrow too.
Christoph
--
Christoph Hormann <chr### [at] gmx de>
IsoWood include, radiosity tutorial, TransSkin and other
things on: http://www.schunter.etc.tu-bs.de/~chris/
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |
|  |
|
 |
I've made a start using isosurfaces. Here's the relevant portion...
#declare POSX = sin(clock*(pi*2))*5;
#declare POSZ = cos(clock*(pi*2))*5;
#declare Well1=function{sqr(-y)*(x^2+z^2)-5 }
#declare Well2=function{sqr(-y)*((x+POSX)^2+(z+POSZ)^2)-0.5 }
isosurface{
function { -y&Well1&Well2 }
Post a reply to this message
|
 |
|  |
|  |
|
 |
|
 |
|  |