James Kirk
kappy
About Me
Connect
LOCATION
Not Specified
WEBSITE
Houdini Skills
Availability
Not Specified
Recent Forum Posts
Transform sop: possibility to use pointcolor as 'mask'? Nov. 4, 2016, 2:46 p.m.
If you just wanted a blendshape-style mix based on color, you could paint your weights, perform the transform to put the entire mesh into the fully-transformed target position, and then wire this into a Wrangle with the un-transformed mesh plugged into the second input. The Wrangle's VEX code would just be this:
If you wanted to have blended rotations, you would have to do things slightly differently, perhaps by specifying a rotation, converting to a quaternion, interpolating using the slerp() function, and then rotating the point by the resulting quaternion. Depending on your overall goal, that might be overkill, though.
-James
v@P = lerp( point(@OpInput2,"P",i@ptnum), v@P, v@Cd.r );
If you wanted to have blended rotations, you would have to do things slightly differently, perhaps by specifying a rotation, converting to a quaternion, interpolating using the slerp() function, and then rotating the point by the resulting quaternion. Depending on your overall goal, that might be overkill, though.
-James
Generateing a RIB with deforming/geometry motion blur. Aug. 27, 2010, 2:10 p.m.
Did you make sure your Geo Time Samples on your ROP are set to 2 and “Allow Motion Blur” is checked on? If you're using a RenderMan Archive ROP, I believe you have to add those params manually.
-James
-James
HOUDINI_OTLSCAN_PATH refresh Oct. 22, 2009, 1:54 p.m.
Thanks, Graham! I was trying to avoid doing something like this, but it seems it can't be helped, and upon reflection, it's really not that bad. It's just mimicking, in Python, what Houdini does at startup. Thank you for the code; I'll give it a go.