POV-Ray : Newsgroups : povray.binaries.animations : elastic cube 2 (1.1 MB) Server Time
19 Jul 2024 17:13:00 EDT (-0400)
  elastic cube 2 (1.1 MB) (Message 1 to 5 of 5)  
From: Gergely Vandor
Subject: elastic cube 2 (1.1 MB)
Date: 18 May 2002 21:56:01
Message: <Xns90A628087F7C2gergelyvamoraviaitco@204.213.191.226>
Sorry about the size, I'm too lazy to create a smaller one.

No new features, just stiffer springs and some initial velocity to make 
Tim happy. Also, the extension is mpg now to make the browsers happy.

http://www.progressive.hu/gero/egybeek.mpg

Cristoph: here's a pic to show the spring arrangement. All of the 
cylinders are springs starting from the yellow (corner) node. Maybe it's 
understandable now, if it isn't, I give up. :) So the green springs are 
twice the length as others, connecting every second node. I dunno if 
that's any good, I just read about it somewhere, and I liked the idea.

Do you think I should also connect the yellow with the cyan colored one?


http://www.progressive.hu/gero/springs.jpg

BTW, I think I've come up with a solution for damping. Take two 
consecutive timesteps, and measure how much the distance of two connected 
nodes changes. This way you get the relative speed of these two nodes, 
which you can use to calculate the damping of the spring connecting them. 
This should work I guess.


--
Cheers,
Gergely


Post a reply to this message

From: Tim Nikias
Subject: Re: elastic cube 2 (1.1 MB)
Date: 19 May 2002 05:03:08
Message: <3CE76A2E.B877878E@gmx.de>
Hey, that looks really cool!

You should consider if you can implement some sort
of code to check if the cube is moving very slowly,
and then just stop it. It jiggles and wiggles a bit
in those last seconds...

Can you place two of those cubes into one
animation, bouncing and repelling each other?
That would be neat.

Haven't got the time to download the second
animation right now, but I'll do that later...

And I am happy... ;)

Gergely Vandor wrote:

> Sorry about the size, I'm too lazy to create a smaller one.
>
> No new features, just stiffer springs and some initial velocity to make
> Tim happy. Also, the extension is mpg now to make the browsers happy.
>
> http://www.progressive.hu/gero/egybeek.mpg
>
> Cristoph: here's a pic to show the spring arrangement. All of the
> cylinders are springs starting from the yellow (corner) node. Maybe it's
> understandable now, if it isn't, I give up. :) So the green springs are
> twice the length as others, connecting every second node. I dunno if
> that's any good, I just read about it somewhere, and I liked the idea.
>
> Do you think I should also connect the yellow with the cyan colored one?
>
> http://www.progressive.hu/gero/springs.jpg
>
> BTW, I think I've come up with a solution for damping. Take two
> consecutive timesteps, and measure how much the distance of two connected
> nodes changes. This way you get the relative speed of these two nodes,
> which you can use to calculate the damping of the spring connecting them.
> This should work I guess.
>
> --
> Cheers,
> Gergely

--
Tim Nikias
Homepage: http://www.digitaltwilight.de/no_lights/index.html
Email: Tim### [at] gmxde


Post a reply to this message

From: Rick [Kitty5]
Subject: Re: elastic cube 2 (1.1 MB)
Date: 19 May 2002 05:11:26
Message: <3ce76c3e$1@news.povray.org>
I think gravity is to weak


--
Rick

Kitty5 WebDesign - http://Kitty5.com
POV-Ray News & Resources - http://Povray.co.uk
TEL : +44 (01270) 501101 - FAX : +44 (01270) 251105 - ICQ : 15776037

PGP Public Key
http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0x231E1CEA


Post a reply to this message

From: Apache
Subject: Re: elastic cube 2 (1.1 MB)
Date: 19 May 2002 19:20:14
Message: <3ce8332e$1@news.povray.org>
Use Runge-Kutta and you'll get rid of all the noisy movements. But I like
the gello-like movements! Could you make us a watery pudding thingy?

--
Apache
http://geitenkaas.dns2go.com/experiments/
apa### [at] yahoocom


Post a reply to this message

From: Christoph Hormann
Subject: Re: elastic cube 2 (1.1 MB)
Date: 23 May 2002 11:21:50
Message: <3CED090D.A33FB984@gmx.de>
Gergely Vandor wrote:
> 
> [...]
> 
> Cristoph: here's a pic to show the spring arrangement. All of the
> cylinders are springs starting from the yellow (corner) node. Maybe it's
> understandable now, if it isn't, I give up. :) So the green springs are
> twice the length as others, connecting every second node. I dunno if
> that's any good, I just read about it somewhere, and I liked the idea.

Sorry for the late reply, i have been away for the last few days.  I
understand your system now, the purpose of the green springs is to create
bending elasticity (they are only compressed, not expanded).  I have not
tried this technique so far, but it could be useful (although linear
elasticity would probably not be very good in this case).

> [...]
> 
> BTW, I think I've come up with a solution for damping. Take two
> consecutive timesteps, and measure how much the distance of two connected
> nodes changes. This way you get the relative speed of these two nodes,
> which you can use to calculate the damping of the spring connecting them.
> This should work I guess.

This is about what i tried (i'm storing the speed of each mass so
calculating the relative speed is no problem). But math is not that
simple, especially not whan working with functions.  

Christoph

-- 
POV-Ray tutorials, IsoWood include,                 
TransSkin and more: http://www.tu-bs.de/~y0013390/  
Last updated 05 May. 2002 _____./\/^>_*_<^\/\.______


Post a reply to this message

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