|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Hi all,
Another try of the mechsim feature in Megapov. Although the balls still
fall from the same spot each time, they bounce into each other so that
gives some randomness. I will post the source for both animation shortly.
Thomas
ps I hope this post doesn't get broken into pieces.
Post a reply to this message
Attachments:
Download 'falling.m1v.mpg' (611 KB)
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Looks very nice. The radiosity isn't perfect but I suppose you're using
'fast' settings?
The balls are still lined up after the bouncing, like a 2d picture. I
suppose in real life, the balls will have an initial rotation that, when
they hit another surface (either another ball or the boxes) results in some
movement in the Z direction. Also, when two balls hits each other, it will
almost certainly be at a skew angle, does the mechsim take this into
consideration?
Regards,
Hugo
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Hugo Asm" <hua### [at] post3teledk> wrote in news:3e2e9b27@news.povray.org:
> Looks very nice. The radiosity isn't perfect but I suppose you're
> using 'fast' settings?
Thanks! Well they are pretty 'fast' settings.
> The balls are still lined up after the bouncing, like a 2d picture. I
> suppose in real life, the balls will have an initial rotation that,
> when they hit another surface (either another ball or the boxes)
> results in some movement in the Z direction. Also, when two balls hits
> each other, it will almost certainly be at a skew angle, does the
> mechsim take this into consideration?
DUH... I guess I should have put a bit of randomnes in the Z direction in,
just like in the other animation. Mechsim will take skew angles into
consideration as far as I know, so that should work.
Thomas
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Mesmerising how they bounce past each other :)
--
--
Rick
Kitty5 NewMedia http://Kitty5.co.uk
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
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Thomas van der Veen" <tho### [at] gmxnet> wrote in message
news:Xns### [at] 204213191226...
> Hi all,
>
> Another try of the mechsim feature in Megapov. Although the balls still
> fall from the same spot each time, they bounce into each other so that
> gives some randomness. I will post the source for both animation shortly.
I really like this one, particularly the scene layout.
To give more randomness to the start (and therefore the end positions), perhaps you
could add
a random velocity to each mass when they are created. I would do it like this:
#include "rand.inc"
#declare TT=seed(7);
#declare Variation=0.2;
mass {
<0, 0, 0>,
<RRand(-Variation,Variation,TT),
RRand(-Variation,Variation,TT),
RRand(-Variation,Variation,TT)>, // Maybe leave vertical velocity at zero?
0.1
density 600
}
Also, you could try changing the error_bound to something like 0.8 or 1 (is it
currently at
0.1?), which may help with the radiosity blotches you are getting around the spheres
(at the
expence of accuracy though).
All the best,
Andy Cocker
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Andrew Cocker" <mai### [at] andrewcockercouk> wrote in
news:3e2ff32e$1@news.povray.org:
> I really like this one, particularly the scene layout.
> To give more randomness to the start (and therefore the end
> positions), perhaps you could add a random velocity to each mass when
> they are created.
Thank you! I posted the code now in text.scene-files so people can play
with it if they want to.
> Also, you could try changing the error_bound to something like 0.8 or
> 1 (is it currently at 0.1?), which may help with the radiosity
> blotches you are getting around the spheres (at the expence of
> accuracy though).
I didn't rerender the animation with better radiosity settings and some
randomness in the initial position of the balls mainly because I'm to lazy
;) As mentioned, the code is now available so if people want to give it a
try, they can.
Thomas
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
|
|