Where is the Warp cloth simulation sample?

In this GTC session we see a character and a blue dress:

But I just cannot find this example from anywhere.

With the help of discord user FAQ, I found the other example scenes:

But this cloth simulation is not there. Can I have it please?
I want to study the use of warp with CC characters clothes:

We don’t ship this particular asset with the SDK, it’s quite large and not licensed for public distribution. However it uses the same OgnCloth node that is shipped with the SDK and used in the bunny example. Essentially you would need to replace the bunny mesh with the mesh from the iClone character USD export and wire it up the same way as in the bunny example.

And what about the cloth? Is it possible to add some custom clothing in the node replacing the plane? When I tried to do so it threw me an error saying that it was unable to reshape the clothing.

Hi @glloukopoulos, yes it is totally possible to use custom geometry - if you change the path referenced by the “Read Prim in Bundle”, and “Write Prim Attribute” nodes it should be enough.

You may need to save and reopen the scene - I believe there is an OmniGraph bug where these nodes do not update when the prim path is changed.

@ccrouzet for viz.

Cheers,
Miles

1 Like

Hey @milesmacklin, thanks a lot, I really appreciate the quick reply !
I worked exactly as you suggested and it throws me the same error.

2023-09-22 16:23:02 [Error] [omni.graph.core.plugin] /World/PushGraph/ogn_cloth: Assertion raised in compute - cannot reshape array of size 138844 into shape (3)
2023-09-22 16:23:02 [Error] [omni.graph.core.plugin] File “/home/…/Lib/deps/cff9f2677a39e52fcbf650f9a8bc4b35/extscache/omni.warp-0.8.2/omni/warp/nodes/OgnCloth.py”, line 177, in compute
2023-09-22 16:23:02 [Error] [omni.graph.core.plugin] builder.add_cloth_mesh(pos=(0.0, 0.0, 0.0),
2023-09-22 16:23:02 [Error] [omni.graph.core.plugin] File “/home/…/Lib/deps/cff9f2677a39e52fcbf650f9a8bc4b35/extscache/omni.warp-0.8.2/warp/sim/model.py”, line 2558, in add_cloth_mesh
2023-09-22 16:23:02 [Error] [omni.graph.core.plugin] inds = inds.reshape(-1,3)

Would that mean that there is a problem with my geometry or am I still missing something?

thank you very much !
Georgios

Hi Georgios,

The OG cloth node expects a triangle mesh as input, so it would need to be triangulated first, I expect that is the issue here. The next version of this node will perform the triangulation for you if not already.

Cheers,
Miles

2 Likes

Hi Miles,

Thanks a lot for the reply. I have one more question about the warp clothing simulation. On the demo there is a model performing an animation while simulating the cloth. What kind of animation is this and how could I recreate a scene like that?

thanks a lot,

Georgios

Animation like this would either be Keyframed animation imported into Composer from a DCC, or Keyframed directly in Composer. The other possibility, is that the model itself is dynamically driven by ActionScript