|
https://www.sidefx.com/forum/topic/68151/
- vector t = chv("t");
- vector r = chv("r");
- vector s = chv("s")*chf("scale");
- string geo = geounwrap(0, "uv");
- int island = prim(0, "island", @primnum);
- vector center = getbbox_center(geo, "@island=" + itoa(island) );
- matrix xform = maketransform(0, 0, t, r, s, center);
- v@uv *= xform;
复制代码
|
|