PDA

View Full Version : [Dynamics] Dominos Falling



F_GX
07-04-2009, 08:41 AM
Hi!

I saw an amazing animation of falling dominos i wanted to reproduce: http://www.youtube.com/watch?v=ZlAgS-k2eQ4

but i somehow couldn't get it so well http://www.youtube.com/watch?v=5Ks9raVoEWY .

How can i do it better?

Thanks

jameswillmott
07-04-2009, 09:19 AM
http://www.youtube.com/watch?v=DH6IcGJerDs

I did a spot a while back, using tiles instead of dominos. I didn't use dynamics at all, you have more control that way. I just copied/pasted the rotation channel that controlled the fall to each tile and offset it in time slightly so they didn't fall all at once. All faked, and you complete control over the end result. Dynamics just give you what they do. You don't have a lot of control over them.

Titus
07-04-2009, 09:37 AM
It seems you need to give more friction or resistance to the floor.

dpont
07-04-2009, 09:54 AM
I tried something else, no dynamics
only displacement with DP Kit Part Move node,
with one delayed pitch rotation only,

Animated samples,
http://www.newtek.com/forums/showpost.php?p=833020&postcount=19

Scene
http://www.newtek.com/forums/showpost.php?p=833989&postcount=30

Denis.

F_GX
07-04-2009, 11:43 AM
Well, i could have done it without dynamics, that's right, but the point is i just wanted, and here it is :thumbsup:

http://www.youtube.com/watch?v=9XCJVT4P1qQ

The problem was, i could never give the floor enough friction and roughness, the dominos would always slip away, so i created a null-box collision-event that tells the dominos no longer to move when they have fallen long enough and try to start slipping away. Difficult to explain but i hope you got the idea. So it's basically HardFX with a stop event control

---
great [email protected] jameswillmott!

SplineGod
07-05-2009, 12:59 AM
Ive also done it using an endomorph driven by a texture.
It boils down to whats more important, the method used or the end result?
If I were to use dynamics instead of trying to rely on one domino knockng another over
I would use a collision sphere to make sure they get knocked over :)

F_GX
07-05-2009, 06:26 AM
Yes, you're absolutely right, but it was "just" a study to improve my dynamics skills,
so obviously for this project all that counted was the way to do it not the result :D

I really wished newtek would improve the GUI, LW dynamics are quite powerfull, but to use them is a mess. When i tried around i really became aware how well the settings (roughness, friction, etc.) work. Just setting up some basic scenes like a box sliding down a plane etc. gave me a good insight for it.

One more thing, i really wonder why for HardFX collision and self collision detection there is only "box" or "sphere" available and not "node", that was a problem for the domino animation, because i had to trick a bit. Set to box, but beeing rotated in modeller the dominos had a "collision cage" out of their actual boundaries (so obviously "box" means the cage, the rotated object fills out). So i had to set up the dominos parallel to the X and Z axis in Modeller and rotate it in Layout finally, to get the proper collision detection done.

Additionally, by doing so i got a slight jittering of the rotated dominos i could not completely eliminate. That's what leaves me a bit unsatisfied at the moment. Turning the ground's settings (coll. obj.) were the dominos rest from "bounce" to "stick" however solved this. Not that my scene could work this way but... Seems not to be my fault however. Maybe i will post the scene later on so you can see yourself.

Titus
07-05-2009, 07:59 AM
HardFX has a problem with jittering, you can solve it with some tricks but I prefer other solvers like Blender's dynamic system. I've been always interested to see ODE ported to LW.

kmacphail
07-05-2009, 10:06 PM
I've been always interested to see ODE ported to LW.

ODE for LightWave (http://www.kevinmacphail.com/2.html)

Amurrell
07-06-2009, 06:16 AM
Any 64bit planned?

Titus
07-06-2009, 07:31 AM
Hey Kevin, that's excellent!

Titus
07-06-2009, 08:50 AM
ODEfl in action (http://garagepost.tv/peliculas/dominosh264.mov)

johncmurphy
07-06-2009, 10:02 AM
Ive also done it using an endomorph driven by a texture.

How does that work?

erikals
07-09-2009, 09:19 PM
ODEfl in action (http://garagepost.tv/peliculas/dominosh264.mov)

hm, looks allright... http://forums.cgsociety.org/images/smilies/smile.gif
might just try this...

not cloth simulation available i assume?