Obi Official Forum
Help The easiest way to create complex rope? - Printable Version

+- Obi Official Forum (https://obi.virtualmethodstudio.com/forum)
+-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html)
+--- Forum: Obi Rope (https://obi.virtualmethodstudio.com/forum/forum-4.html)
+--- Thread: Help The easiest way to create complex rope? (/thread-738.html)



The easiest way to create complex rope? - PlayLikePro - 10-11-2018

This is my end goal of simulation Gran sonrisa :
[attachment=198](or please click the attachment to see image)
the strings in the image that holds the apple up is one continuous string that goes through multiple holes on the frame.
I chose to use digital simulation over making physical models because we want to produce a lot of different weaving patterns, say 60 distinct ones.

My question is: how to most efficiently create these web structure?
Since I'm completely new to Unity and more comfortable using Rhino,
s there anyway we can turn curves from rhino into obi-rope?
Or does it have to be done in Unity?

Btw, this is a great product!
Thanks in advance!
Po


RE: The easiest way to create complex rope? - josemendez - 10-11-2018

(10-11-2018, 04:01 PM)PlayLikePro Wrote: This is my end goal of simulation Gran sonrisa :
(or please click the attachment to see image)
the strings in the image that holds the apple up is one continuous string that goes through multiple holes on the frame.
I chose to use digital simulation over making physical models because we want to produce a lot of different weaving patterns, say 60 distinct ones.

My question is: how to most efficiently create these web structure?
Since I'm completely new to Unity and more comfortable using Rhino,
s there anyway we can turn curves from rhino into obi-rope?
Or does it have to be done in Unity?

Btw, this is a great product!
Thanks in advance!
Po

Hi there,

Mmmm...if you intend to simulate this using particle-based ropes, you're in for a lot of headaches.

The rope shown in the image seems to be under a lot of tension, lots of self-collisions and collisions against small holes, all of which require extreme precision to be solved. Collisions and self-collisions in Obi are resolved at the particle level, which is great for fast realtime stuff, but fails when there's a lot of collisions and/or the rope tension is high (as gaps might open between particles, and other particles can slip trough).

Is it really necessary to perform a fully realtime dynamic simulation of this? It looks like a static sculpture, without much movement going on. You'd be wasting away CPU cycles/processing power unless there's a fair deal of realtime dynamics involved.

If you're worried about the physical plausibility of the resulting web of interwoven threads, then perform an offline simulation, as you can spare as much simulation time as you need to get the required accuracy. Once it is finished simply import the result (splines, meshes, whatever you choose) into Unity.


RE: The easiest way to create complex rope? - PlayLikePro - 10-11-2018

(10-11-2018, 04:27 PM)josemendez Wrote: Hi there,

Mmmm...if you intend to simulate this using particle-based ropes, you're in for a lot of headaches.

The rope shown in the image seems to be under a lot of tension, lots of self-collisions and collisions against small holes, all of which require extreme precision to be solved. Collisions and self-collisions in Obi are resolved at the particle level, which is great for fast realtime stuff, but fails when there's a lot of collisions and/or the rope tension is high (as gaps might open between particles, and other particles can slip trough).

Is it really necessary to perform a fully realtime dynamic simulation of this? It looks like a static sculpture, without much movement going on. You'd be wasting away CPU cycles/processing power unless there's a fair deal of realtime dynamics involved.

If you're worried about the physical plausibility of the resulting web of interwoven threads, then perform an offline simulation, as you can spare as much simulation time as you need to get the required accuracy. Once it is finished simply import the result (splines, meshes, whatever you choose) into Unity.

Hi josemendez,
Thank you so much for the quick response!  Sonrisa
This image shows how our idea operates:
[attachment=199]
The ropes first go through each holes on the frames, which then separates to create a 3-D structure.
The length of the rope is not fixed because we leave one end still on spool so it can length.
It is a idea of transformation from 2-D pattern to 3-D structure.
The rope's self-collisions are dependent on whether one thread is on top of the other before pulled apart. 


And the apple was a playful thing, not a part of the project.  Lengua
What really matters to us is the unpredictable nature of transformation from 2-D to 3-D.
we aim to study the cause-and-effect relation.

Could you say more about using spline to make Obi Rope?
Which documentation or link should I look at?
I currently only know how to use Obi Rope(fully setup). Confundido

If "one continuous thread simulation" won't work:  Huh
Because the thread is continuous, theoretically it has the same tension distribution along its entire length if disregard frictions. 
Other than simulating it as one thread, could we make each thread connecting two holes an individual thread, but with constant tension? 
I imagine they can automatically lengthen when reach a predefined tension when pulled apart.


Thank you so much again for your response! Tímido
Best regards,
Po


RE: The easiest way to create complex rope? - josemendez - 11-11-2018

(10-11-2018, 05:52 PM)PlayLikePro Wrote: Hi josemendez,
Thank you so much for the quick response!  Sonrisa
This image shows how our idea operates:

The ropes first go through each holes on the frames, which then separates to create a 3-D structure.
The length of the rope is not fixed because we leave one end still on spool so it can length.
It is a idea of transformation from 2-D pattern to 3-D structure.
The rope's self-collisions are dependent on whether one thread is on top of the other before pulled apart. 


And the apple was a playful thing, not a part of the project.  Lengua
What really matters to us is the unpredictable nature of transformation from 2-D to 3-D.
we aim to study the cause-and-effect relation.

Could you say more about using spline to make Obi Rope?
Which documentation or link should I look at?
I currently only know how to use Obi Rope(fully setup). Confundido

If "one continuous thread simulation" won't work:  Huh
Because the thread is continuous, theoretically it has the same tension distribution along its entire length if disregard frictions. 
Other than simulating it as one thread, could we make each thread connecting two holes an individual thread, but with constant tension? 
I imagine they can automatically lengthen when reach a predefined tension when pulled apart.


Thank you so much again for your response! Tímido
Best regards,
Po

Hi,

The problem with your setup is that high-tension ropes and self-collisions do not mix well. Obi uses an iterative position-based solver at its core, and represents ropes as chains of particles joined by constraints. This means that the longer a rope is, and the higher the tension it must endure, the costlier the simulation. If you add accurate self-collisions as a requirement under these circumstances, the cost skyrockets.

It could be said that your project is a worst-case scenario for any traditional realtime physics engine: thin, long rope under high tension with lots of fine self-collisions. My advice would be to ditch traditional iterative solvers (which are the most common in games, and which Obi uses) in favor of other approaches: direct solvers & capsule based collision detection, cable simulators (http://matthias-mueller-fischer.ch/publications/cableJoints.pdf, http://www.physics.umu.se/digitalAssets/45/45089_hybrid.pdf), or a custom approach.

It might even be possible to derive a fully analytical model of your cables, that calculates the final shape as it is only determined by the order in which cables cross each other in their rest state (which ones pass on top of others). This would be the fastest/simplest approach since if does not involve simulation at all.