grau
grau
About Me
Connect
LOCATION
Not Specified
WEBSITE
Houdini Skills
Availability
Not Specified
Recent Forum Posts
rotating/scaling packed geometry via vex/vops Nov. 19, 2013, 6:04 a.m.
Ah, I see. Everything works now, thank you very much.
rotating/scaling packed geometry via vex/vops Nov. 17, 2013, 5:12 p.m.
Hi,
I'm trying to find a way to transform packed geometry. The instances seem to store their transformation matrices in the intrinsic primitive attribute called “packedfulltransform”.
So far I've been unable to change them with vex or vops. The following code compiles without error, but it doesn't do anything. What am I missing?
matrix value = { {1, 2.2, 0.7, 0.5}, {0.1, 5.2, 3.2, 1.2}, {0.8, 0.9, 0.1, 0.3}, {0.7, 0.6, 0.1, 0.2}};
setattrib(geoself(), “prim”, “path”, 0, 0, “test”, “set”); //only this line does something
setattrib(geoself(), “primintrinsic”, “packedprimitivename”, 0, 0, “test2”, “set”);
setattrib(geoself(), “primintrinsic”, “packedfulltransform”, 0, 0, value, “set”);
setattrib(geoself(), “primintrinsic”, “packedlocaltransform”, 0, 0, value, “set”);
setprimintrinsic(geoself(), “packedfulltransform”, 0, value, “set”);
Thanks in advance.
I'm trying to find a way to transform packed geometry. The instances seem to store their transformation matrices in the intrinsic primitive attribute called “packedfulltransform”.
So far I've been unable to change them with vex or vops. The following code compiles without error, but it doesn't do anything. What am I missing?
matrix value = { {1, 2.2, 0.7, 0.5}, {0.1, 5.2, 3.2, 1.2}, {0.8, 0.9, 0.1, 0.3}, {0.7, 0.6, 0.1, 0.2}};
setattrib(geoself(), “prim”, “path”, 0, 0, “test”, “set”); //only this line does something
setattrib(geoself(), “primintrinsic”, “packedprimitivename”, 0, 0, “test2”, “set”);
setattrib(geoself(), “primintrinsic”, “packedfulltransform”, 0, 0, value, “set”);
setattrib(geoself(), “primintrinsic”, “packedlocaltransform”, 0, 0, value, “set”);
setprimintrinsic(geoself(), “packedfulltransform”, 0, value, “set”);
Thanks in advance.
Cookie SOP Polyline - Box Oct. 23, 2013, 10:19 a.m.
Thanks, nice workaround.