Found 5 posts.
Search results Show results as topic list.
Technical Discussion » rotating/scaling packed geometry via vex/vops
-
- grau
- 5 posts
- Offline
Technical Discussion » rotating/scaling packed geometry via vex/vops
-
- grau
- 5 posts
- Offline
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.
Houdini Lounge » Cookie SOP Polyline - Box
-
- grau
- 5 posts
- Offline
Houdini Lounge » Cookie SOP Polyline - Box
-
- grau
- 5 posts
- Offline
Hi
I want to remove the parts of some polylines that are enclosed inside a box. But the cookie SOP apparently only works with faces.
The polylines don't get divided, instead they disappear once their center is inside the box.
Is this the expected behavior? And is there a workaround?
Thank You
I want to remove the parts of some polylines that are enclosed inside a box. But the cookie SOP apparently only works with faces.
The polylines don't get divided, instead they disappear once their center is inside the box.
Is this the expected behavior? And is there a workaround?
Thank You
Technical Discussion » Problem with pipeIn Export Flag
-
- grau
- 5 posts
- Offline
Hi,
I'm trying to send some data from one instance of Houdini to another using pipeOut and pipeIn CHOPs.
The connection works fine unless I try to enable the pipeIn's export Flag.
Enabling it after a connection is established works, but if it is already set the connection fails.
Is this the expected behavior or a bug?
Can the export flag be set via scripting? I would prefer to build a simple front-end for the finished tool.
thank you
I'm trying to send some data from one instance of Houdini to another using pipeOut and pipeIn CHOPs.
The connection works fine unless I try to enable the pipeIn's export Flag.
Enabling it after a connection is established works, but if it is already set the connection fails.
Is this the expected behavior or a bug?
Can the export flag be set via scripting? I would prefer to build a simple front-end for the finished tool.
thank you
-
- Quick Links