about
another fruit of the code cleaning fall 2015
SimpleCloth
VVVV node set for a moduluar cloth simulation system
quickly hacked together for the visuals acompaning the node15 symposium, frankfurt
by no means physically correct!
v 1.0:
- CreateCloth: init cloth plane
- GlobalForce: cloth properties, world force
- Attractor: spherical distortion
- LocalForce: force per vertex
- Pin: pin vertex to current position
- SetPosition: try set vertex position
- SetTarget: vertex target
- Evaluate: evaluate system
- Split: output all vertices
- Sample: get position on cloth plane
- AsTexture: output data as texture
nicely versioned herehttps://github.com/woeishi/VVVV.SimpleCloth
this contribution is CPU-based. if you need high performance cloth better check out
this one. it can probably do the same things.
i just didn't have the time to get it running in time, therefore this set...
+1 woei, important matter!
Great
Hi woei,
thanks for contribution! very nice!
Is there a way to archive that deformed grid persists its changes?
Like with "normal" mesh to write changed position values in Buffer (Spreads) and over FrameDelay build new mesh.
I don't get how I can insert new position values somewhere before Attractor (Cloth). We have Split but no Joint (Cloth) to modify VertexBuffer.
Thanks, Dimi