Skip to main content

Posts

Showing posts with the label cloth

New paper sim

More paper stuff! Updated it, now using a SOP solver to modify the velocity. The last one was a field force which wasn't great. Also this one projects the velocity vector onto the surface rather than just applying an opposing force like I was doing before. The velocity ends up perpendicular to the normal, with this: cross( nV, cross( nV, nN ) ). That is mixed with the original velocity to get more or less of the effect ... In the linked .hip file there is a VIS_PROJECTION null that you can view to see what I mean... Houdini - New cloth paper thingy! from Sam Hancock on Vimeo . You can get the hip file from here (H11)

More old cloth wind resistance stuff.

Haven't posted in a long time, easing back into it with something I was playing with about a year ago ... it uses the same wind resistance stuff that I was using earlier. Going to update it in the next few days with a much better way of doing it with a SOP solver! Houdini - Cloth paper thingy from Sam Hancock on Vimeo . Each piece of cloth is simmed individually, a wedge ROP is used to write out a geo sequence for each piece and they are brought back in using a file SOP and a copy SOP. The pieces don't collide .. but it doesn't matter so much with these .....

Cloth self shadowing

This is why Houdini is awesome, one node ignored and changed the bias on the ray SOP, and self shadowing just works :D It probably needs a wind location specified so I can timeshift the occluding objects depending on the distance from the wind 'emitter'. meh. hipnc is here

Cloth wind shadowing

More cloth! Got some wind shadowing working using the same technique as the wind resistance thing, just with a ray SOP to block the wind. Currently the wind gets blocked by any other objects in the dopnet. Might add self shadowing next! This is with wind resistance from earlier, just adds some damping. hipnc is here.

Cloth and wind resistance

Normally a cloth like this: would just fall and retain this exact shape... I put together a little force using the field force DOP and a little sopnet to get a basic simulation of wind resistance as it falls. The force is applied along the normal, opposing the velocity. It is also scaled by velocity. Here is an example: Blue is the point normal, green is the velocity and red is the force to be applied. This is far from correct but it works alright in practice. This cloth is 2m x 1m and low density (less than a kg total I think) hipnc file is here!