PDA

View Full Version : nCloth selection of various objects


bontempos
02-01-2008, 01:56 AM
Hi all.

This should be simple, maybe but i didnt get it.
Im building a wall of stones.

Supose the stones a lowpoly spheres.
I create 10, and put then side by side without intersecting.
make a plane for the ground and apply a passive solver to it. (create passive)
for the spheres: get all selected then, create nCloth.

Questions:
-how to include a 11th (or more) sphere to the same nucleus of the other spheres?
-how to select all those spheres and change their weight or other attribute at once without having to select one by one?

Thanks in advance ;)

axiomatic
02-01-2008, 02:12 AM
Select them all, Mesh -> Combine, then turn them into nCloth. One cloth object.

bontempos
02-01-2008, 12:07 PM
This is great:
to select them all and create a single mesh with all the stones.

But ...

I get some strange behaviours increasing the Rigidity. The block behaves as if the stones where connected to each other by an invisible material acting as a single block itself.
Anyways, I`m not usint Rigidity. Instead, im increasing the Bend Resistance so the mesh can act as rigid stones.

ok. this is one thing.

next:
what if I want to ADD more stones to the mesh after I have all the nCloth settings already done. If I combine, the new stones dont get connected with the nCloth =/

Do i have to apply a new nCloth and to all the settings from the scratch?

Thanks again ;)

Duncan
02-01-2008, 04:44 PM
If you want to add new stones or modify existing ones, you would need to display the input mesh and edit that( polycombine, etc.). Then when done you display the output (or simulated) mesh. You can double check the connections in the hypergraph. Your edits should all be inserted upstream of the nCloth node. If you had instead edited the output mesh there would be new nodes inserted between the nCloth node and the output mesh, which is construction history applied after simulation (often useful for things like thickening cloth).

Duncan

bontempos
02-02-2008, 07:34 PM
Thanks.
This is useful. I understood it but couldnt make it work.

This is what i`m doing:

make 2 spheres. Combine them. Clear History. Apply nCloth.
My hypergraph shows:

polySurfaceShape -----> nClothShape1 -----> outputCloth1 ----->initialShading
\__________________________________________/^

I want now to create a new sphere, and combine it to the actual combined mesh of two spheres.
If I create a new sphere, and combine it to the 2 previous spheres, the new sphere wont react to nCloth.
If I select - in Hypergraph - the polySurfaceShape node, and try to combine to the third sphere, I got an error message. The only thing i can do with the polySurfaceShape is apply something like an Smooth modifier. It add nodes coming from left to right in the hypergraph without messing the actual connections.
Still didnt get it how to combine a new stone =/

Thanks again!

bontempos
02-08-2008, 11:23 AM
Hello there!
I couldnt go on in a easier mode. Had to do with separeted elements.
But I'd like to learn about the connections to construct a tough work next time.
If someone can talk about it: I couldnt understand the third topic (about a way to connect, via hypergraph, new objects to applied nCloth meshes. Without re-applying nCloth after combination)

Thanks a lot ;)

CGTalk Moderation
02-08-2008, 11:23 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.