I just began studying cloth and find out that 2 samples from Help work incorrectly.
1) $HFS/houdini/help/examples/nodes/dop/clothsolver/ClothSpringsBalls.otl
houdini freezes on the first frame , loading the CPU for 100% and writes in the StatusBar: "integrating cloth over time interval "
2) $HFS/houdini/help/examples/nodes/dop/clothsolver/PinnedClothWind.otl
the cloth is behaving so as there is no links between it's points (see attached image)
houdini 9.5.210 , vista x64
CLOTH problems in examples
15944 22 5- aliax
- Member
- 58 posts
- Joined:
- Offline
- JColdrick
- Member
- 4140 posts
- Joined: July 2005
- Offline
Yeah, I've been having troubles too - if you build this from scratch with new nodes(there's been changes lately to cloth), it behaves the same. I've found wind to be very unpredictable lately in DOPs. I thought ‘well, let’s try a fan' - it works better but you need to pull the force *way* down from the default, it starts out fine and stays that way, but for some reason it starts getting slower and slower to compute as it carries along(just rippling in the fan force). That seems wrong too.
SUSE 10.2, H9.5.211 64 bit
Cheers,
J.C.
SUSE 10.2, H9.5.211 64 bit
Cheers,
J.C.
John Coldrick
- AdamJ
- Member
- 268 posts
- Joined: July 2005
- Offline
- michiel
- Staff
- 429 posts
- Joined: June 2007
- Offline
- michiel
- Staff
- 429 posts
- Joined: June 2007
- Offline
On closer inspection, I found a bug in the one of the cloth assets. This bug resulted in the cloth getting an incorrect mass (too small). This is fixed in tomorrow's build of Houdini 9.5. The examples that are mentioned above will work in this build. This also explains why you would have had trouble getting the spring constraints to work.
Michiel
Michiel
- varomix
- Member
- 460 posts
- Joined: July 2005
- Offline
I just wanna share this because, as discussed before cloth is “not That ready” in houdini, sure you can do simple grids stuff but when it comes to real production stuff like a tshirt things get ugly.
http://www.blender.org/features-gallery/feature-videos/?video=realtime_cloth [blender.org]
I'll like to do some stuff like this in houdini, that's awesome and I'm gonna stress test Blender as soon as I got some time, as I said, with a real project.
just to end I love houdini
http://www.blender.org/features-gallery/feature-videos/?video=realtime_cloth [blender.org]
I'll like to do some stuff like this in houdini, that's awesome and I'm gonna stress test Blender as soon as I got some time, as I said, with a real project.
just to end I love houdini
varomix - Founder | Educator @ Mix Training
Technical Artist @ Meta Reality Labs
Technical Artist @ Meta Reality Labs
- davedjohnson
- Member
- 221 posts
- Joined: July 2005
- Offline
I've had problems with the cloth too.
When I run the attached sim on any of my linux boxes, the constraints all turn red and don't hold.
I've tried this in many different builds, including 9.5.212 and it still doesn't work.
Interestingly, it works just fine on my Mac. Unfortunately, my Mac is not on our production network, where I need to run all my real sims that have the same problems as this file.
Dave
When I run the attached sim on any of my linux boxes, the constraints all turn red and don't hold.
I've tried this in many different builds, including 9.5.212 and it still doesn't work.
Interestingly, it works just fine on my Mac. Unfortunately, my Mac is not on our production network, where I need to run all my real sims that have the same problems as this file.
Dave
- michiel
- Staff
- 429 posts
- Joined: June 2007
- Offline
Thank you for the files Dave.
This is a known issue. So far I've managed to reproduce this problem only for a 32-bit linux build that is installed on a 64-bit machine.
All other configurations work fine for me.
So if you happened to be using a 32-bit version of Houdini on a 64-bit machine, then you may want to try installing a 64-bit linux version of Houdini 9.5.
If this doesn't help you, I have a workaround: in the examples you posted, you don't really need a stitch constraint. You can just use a pin constraint on your point group. I verified that this workaround works on the machine that reproduces your problem.
Michiel
This is a known issue. So far I've managed to reproduce this problem only for a 32-bit linux build that is installed on a 64-bit machine.
All other configurations work fine for me.
So if you happened to be using a 32-bit version of Houdini on a 64-bit machine, then you may want to try installing a 64-bit linux version of Houdini 9.5.
If this doesn't help you, I have a workaround: in the examples you posted, you don't really need a stitch constraint. You can just use a pin constraint on your point group. I verified that this workaround works on the machine that reproduces your problem.
Michiel
- davedjohnson
- Member
- 221 posts
- Joined: July 2005
- Offline
- michiel
- Staff
- 429 posts
- Joined: June 2007
- Offline
- Simon
- Member
- 2199 posts
- Joined: July 2005
- Online
- mrCatfish
- Member
- 731 posts
- Joined: Dec. 2006
- Offline
varomixI've not had much luck with cloth either… seems to blow up for no reason quite often, (and yes, especially with wind).
http://www.blender.org/features-gallery/feature-videos/?video=realtime_cloth [blender.org]
Blender is very impressive. And it's open source…. maybe SESI could borrow the code, (and improve it of course)!
Sean
Sean Lewkiw
CG Supervisor
Machine FX - Cinesite MTL
CG Supervisor
Machine FX - Cinesite MTL
- cb
- Staff
- 635 posts
- Joined: July 2005
- Offline
- michiel
- Staff
- 429 posts
- Joined: June 2007
- Offline
Hi Sean,
A bug that was causing bad results with wind was fixed last week
(builds 212 and after). This was the same bug that caused the two examples to break.
If you install the latest build of 9.5, then you should find that the cloth behaves as it should in the presence of wind forces.
One tip: If you use really large wind forces, you may set a higher “stretch stiffness” value under Cloth/Material to prevent the cloth from stretching too much in the wind.
Please let me know if this works for you.
Michiel
A bug that was causing bad results with wind was fixed last week
(builds 212 and after). This was the same bug that caused the two examples to break.
If you install the latest build of 9.5, then you should find that the cloth behaves as it should in the presence of wind forces.
One tip: If you use really large wind forces, you may set a higher “stretch stiffness” value under Cloth/Material to prevent the cloth from stretching too much in the wind.
Please let me know if this works for you.
Michiel
- varomix
- Member
- 460 posts
- Joined: July 2005
- Offline
hi
As Michiel said, cloth had MAYOR fixes in the recent builds, he said that had to be fixed for 9.5 and yes they did, I can now interact with cloth live in the viewport as solid and “realtime” as the video I posted on Blender.
The nice nice thing here is this, we made a point, cloth needed some fixes, and SESI hears you, takes notes, and improves the product, just as you guys said, this means only one thing. SESI ROCKS and houdini is your SONG.
I wanna say thank you, once again to everybody at SESI.
keep it ROCKING!!!
As Michiel said, cloth had MAYOR fixes in the recent builds, he said that had to be fixed for 9.5 and yes they did, I can now interact with cloth live in the viewport as solid and “realtime” as the video I posted on Blender.
The nice nice thing here is this, we made a point, cloth needed some fixes, and SESI hears you, takes notes, and improves the product, just as you guys said, this means only one thing. SESI ROCKS and houdini is your SONG.
I wanna say thank you, once again to everybody at SESI.
keep it ROCKING!!!
varomix - Founder | Educator @ Mix Training
Technical Artist @ Meta Reality Labs
Technical Artist @ Meta Reality Labs
- JColdrick
- Member
- 4140 posts
- Joined: July 2005
- Offline
Finally got a chance to upgrade to 9.5.219 and look at cloth again, much better. Cloth behaves with more stability and predictability for the basic stuff, at least.
I'm finding when rebuilding a brand new version of the original example that aliax posted that I need to punch the wind to very high numbers, however, to get something akin to a pinned cloth being ‘filled out’ by the wind. In the 80000 range for the scaling factor, which seems high to me, especially since the noise amplitude just needs to be 1 to be noticable. Is it possible there's a scaling issue with the wind? Actually, I just tested with the fan, which in the older ‘broken’ version got a nice head of steam up at much lower values, behaves the same. I'm assuming this is because cloth is defaulting to much denser, but do those values seem reasonable?
Also, with the same example, near those corner pins it seems to have individual points that drag behind the others occasionally, creating a crimp.
Cheers,
J.C.
I'm finding when rebuilding a brand new version of the original example that aliax posted that I need to punch the wind to very high numbers, however, to get something akin to a pinned cloth being ‘filled out’ by the wind. In the 80000 range for the scaling factor, which seems high to me, especially since the noise amplitude just needs to be 1 to be noticable. Is it possible there's a scaling issue with the wind? Actually, I just tested with the fan, which in the older ‘broken’ version got a nice head of steam up at much lower values, behaves the same. I'm assuming this is because cloth is defaulting to much denser, but do those values seem reasonable?
Also, with the same example, near those corner pins it seems to have individual points that drag behind the others occasionally, creating a crimp.
Cheers,
J.C.
John Coldrick
- michiel
- Staff
- 429 posts
- Joined: June 2007
- Offline
Hi,
Whether those values are reasonable really depends on the size of your cloth. By default, the cloth mass is computed using a density. This means, the bigger you make your cloth the heavier it will become and the more wind force you will need to apply to it to get the same effect.
If you don't like this automatic mass calculation, then you can specify a cloth mass directly (disable the “Compute Mass” parameter on the cloth object).
About the points near the pins:
You should verify that the cloth thickness is significantly smaller than the lengths of the cloth edges. You may also want to experiment with higher “bend stiffness” values.
Michiel
Whether those values are reasonable really depends on the size of your cloth. By default, the cloth mass is computed using a density. This means, the bigger you make your cloth the heavier it will become and the more wind force you will need to apply to it to get the same effect.
If you don't like this automatic mass calculation, then you can specify a cloth mass directly (disable the “Compute Mass” parameter on the cloth object).
About the points near the pins:
You should verify that the cloth thickness is significantly smaller than the lengths of the cloth edges. You may also want to experiment with higher “bend stiffness” values.
Michiel
- JColdrick
- Member
- 4140 posts
- Joined: July 2005
- Offline
- digitallysane
- Member
- 1192 posts
- Joined: July 2005
- Offline
Strange stuff happens in the 64bit linux build of 220 (apprentice).
I try the same very basic test on XP 32 SP2 and ubuntu 7.10 64-bit (with 64-bit Houdini): a polygon sphere as a Static RBD object and a grid above it as Cloth.
On XP32 the simulation runs well. On Ubuntu 64, if I open the file saved from XP then during the sim I get a huge memory leak and a crash. If I build the sim from scratch, few frames after the two objects collide, the cloth just dissapears.
Dragos
I try the same very basic test on XP 32 SP2 and ubuntu 7.10 64-bit (with 64-bit Houdini): a polygon sphere as a Static RBD object and a grid above it as Cloth.
On XP32 the simulation runs well. On Ubuntu 64, if I open the file saved from XP then during the sim I get a huge memory leak and a crash. If I build the sim from scratch, few frames after the two objects collide, the cloth just dissapears.
Dragos
- michiel
- Staff
- 429 posts
- Joined: June 2007
- Offline
-
- Quick Links