Deformer Demo

PHOTO EMBED

Tue Jul 02 2024 00:40:54 GMT+0000 (Coordinated Universal Time)

Saved by @nouhad #mel

global proc deformerDemo()
{
	string $cyl[] = `polyCylinder -r 1 -h 100 -sx 20 -sy 50 -sz 1 -ax 0 1 0 -rcp 0 -cuv 3 -ch 1`;
	string $bend[] = `nonLinear -type bend`;
	// Result: bend1 bend1Handle
	expression -s ($bend[0]+".curvature = sin(time*4)*180;")  -o $bend[0] -ae 1 -uc all ;



}
content_copyCOPY