Archived post by flight404

Here is Rich Lord’s awesome Vex/Vop math hip. Great for learning the ins and outs of orientation, quaternions, dihedral, etc: http://richardlord.tumblr.com/post/159277887181/ive-started-collecting-a-bunch-of-tricks-i-use-a

probalby grab it from there instead since I mightve made modifications by mistake

Archived post by mestela

ugh, my brain is mush tonight… whats the node to convert groups back to attributes, like a connectivity sop?

i’ve selected polys, given them random colours, partition to make them groups, now i want the groups back to attribs

hmm, or vex this and define my own attribs via hsv…

yeah that worked, woo

well goddamn, someone mentioned this at work today, just tried it

“`setprimintrinsic(0,’pointinstancetransform’,@primnum,1);“`

do that on packed prims, orient will now rotate them automatically, no bollocks of having to manually update intrinsic transforms

Archived post by TOADSTORM

Hey all, after seeing lots and lots of similar questions on a few Houdini discords about how to vary copies in the Copy SOP, I wrote a terribly long explanation of how to manipulate orientation and instancing using template attributes, matrices, for-each loops, compile blocks, and some other tricks with packed disk primitives, with a .hip file at the end. Might help some newer or intermediate users. Post is here: www.toadstorm.com/blog/?p=493

Archived post by Lcrs

@Lorne I guess you saw matt/matte/dave’s one above but I dug out the hermite animation interpolator I did… it uses v from the points instead of the two extra timeshifts and because it has explicit tangents you can scale them with the damp parm to make it less curvy. if you use central difference in a trail to calc v and damp=1 it’s actually identical to the catmull-rom one… or you can use foward/backward difference to have it over/undershoot on the corners. cubic splines folks!

Attachments in this post:
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/catmull_rom_hermite_interp.hipnc
http://fx-td.com/houdiniandchill/wp-content/uploads/discord/catmull_rom_hermite_interp_screenshot.png