grau

grau

About Me

Connect

LOCATION
Not Specified
ウェブサイト

Houdini Engine

Availability

Not Specified

Recent Forum Posts

rotating/scaling packed geometry via vex/vops 2013年11月19日6:04

Ah, I see. Everything works now, thank you very much.

rotating/scaling packed geometry via vex/vops 2013年11月17日17:12

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.

Cookie SOP Polyline - Box 2013年10月23日10:19

Thanks, nice workaround.