Video: Dynamica Rope Test

Physics APIs, Physics file formats, Maya, Max, XSI, Cinema 4D, Lightwave, Blender, thinkingParticles™ and other simulation tools, exporters and importers
Post Reply
mBakr
Posts: 53
Joined: Thu Aug 05, 2010 5:57 pm

Video: Dynamica Rope Test

Post by mBakr »

Here is a first test of falling rope sim'd with Dynamica. 1000 rigid body spheres are connected in a chain-like series with 6Dof constraints.

http://vimeo.com/18769422
RBD
Posts: 141
Joined: Tue Sep 16, 2008 11:31 am

Re: Video: Dynamica Rope Test

Post by RBD »

Very nice. :D
I tried that a while ago, but when I textured the "rope" I couldn't get it to roll around correctly... surface would get all twisted. May I ask how your "rope" surface is connected to the sphere's rotation? ...Hmmm, I guess you simply put limits on the 6dof rotations? (seems pretty obvious to me now :roll: :lol: )
RBD
Posts: 141
Joined: Tue Sep 16, 2008 11:31 am

Re: Video: Dynamica Rope Test

Post by RBD »

BTW, mBakr, if you're curious I tried it using capsule primitives instead and it works very well, see in this video (not the first test anims, more near the middle, also real-time demo near the end):
http://www.youtube.com/watch?v=i1YIafaqF7A

p.s.: I also remembered that when I tried with Dynamica, at that time there was only the ball constraint, which explains the twisting. :) (don't have access to Maya anymore, which is why I'm using Blender now.)
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA
Contact:

Re: Video: Dynamica Rope Test

Post by Erwin Coumans »

Beautiful videos, both the Maya and Blender one.

Do you guys mind sharing the (zipped) Maya and Blender file?
Thanks!
Erwin
mBakr
Posts: 53
Joined: Thu Aug 05, 2010 5:57 pm

Re: Video: Dynamica Rope Test

Post by mBakr »

RBD!

nice capsule tests. I started with both Blender and Maya in 1998. I haven't spent much time with Blender in the past couple years, but I miss the speedy workflows and python API.

To answer your question about the rope, I added a Paint Effect stroke to the curve that is controlled by the spheres - pfx strokes are easier to "disentangle" than the standard extrudes in Maya...

btw, you can get a free student license for Maya if you have a student email address...
Last edited by mBakr on Tue Mar 08, 2011 4:30 pm, edited 1 time in total.
goldleaf
Posts: 19
Joined: Fri Nov 20, 2009 6:41 am

Re: Video: Dynamica Rope Test

Post by goldleaf »

Great tests! Are there scenes available? RBD, are you planning to release your python tools?

Thanks for sharing!
mBakr
Posts: 53
Joined: Thu Aug 05, 2010 5:57 pm

Maya scene file

Post by mBakr »

Attached is a maya scene file containing a dynamica rope demo. The scene was built in Maya 2011, but should be compatible with older versions (check 'ignore version' when opening the file). Ensure that the Dynamica plugin is loaded, then open the scene and press play. the stiffness of the rope can be adjusted by changing the upper angle limits on the 6dof constraints (in the dConsraints group - select them all and change the values in the channel box to modify all constraints) - lower values == stiffer rope.

I am planning to build the rope creation tools into Dynamica for a later release, but a preview script is attached. You will need the latest Dynamica constraint tools to generate the constraint chain between the rigid bodies. Find the tools here:
http://bulletphysics.org/Bullet/phpBB3/ ... =12&t=6134

have fun.
Attachments
dynamicaRopeScript.zip
(717 Bytes) Downloaded 594 times
dynamicaRopeDemo-2011-03-07.zip
(18.26 KiB) Downloaded 605 times
Post Reply