mk2 onion

onmk2

About Me

Connect

LOCATION
Not Specified
ウェブサイト

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Edit editable node inside HDA from outside the HDA? 2020年12月4日14:24

I'm also searching how to do that.
I'm not sure but Node tab > Editable Nodes might work.
https://www.sidefx.com/forum/topic/53135/#post-238837 [www.sidefx.com]

Procedural implementation of EditSop's "Align Handle: Component" ? 2020年1月16日20:41

I found that I can use Edit Sop > Transform parameter > Local Frame > Component.

https://www.sidefx.com/docs/houdini/nodes/sop/edit.html#parameters [www.sidefx.com]

Procedural implementation of EditSop's "Align Handle: Component" ? 2019年6月2日20:34

I made a mistake in calc matrix, it must be not @P*AI, but AI*@P.

but the problem remains. How Houdini decide handle direction of EditSop?
please see scale_tangent_and_normal.hipnc.

vector T = prim(0, "Tangent",   pointprims(0, @ptnum)[0]);
vector N = prim(0, "N",         pointprims(0, @ptnum)[0]);
vector B = prim(0, "BiTangent", pointprims(0, @ptnum)[0]);

vector R0 = set(T[0], N[0], B[0]);
vector R1 = set(T[1], N[1], B[1]);
vector R2 = set(T[2], N[2], B[2]);

matrix3 A =  set(R0, R1, R2);
matrix3 AI = invert(A);


// scale shape in the coordinate system whose basis is Tangent, Normal, BiTangent
v@Pdash = AI * @P;
@Pdash[0] = @Pdash[0] * ch("./parmx");
@Pdash[1] = @Pdash[1] * ch("./parmy");
@Pdash[2] = @Pdash[2] * ch("./parmz");


// find result in the coordinate system whose basis is X:{1,0,0} Y:{0,1,0} Z:{0,0,1}
@P = A * @Pdash;