検索 - User list
Full Version: How to use the Align Attribute SOP ?
Root » Houdini Indie and Apprentice » How to use the Align Attribute SOP ?
Soothsayer
How do I align objects with a surface?

I did a very simple example scene:

Points scattered on a torus emit particles to which boxes are copied. I want those boxes to align with the surface of the torus.

I think the attribute reorient SOP does what I want but I can't get it to work. Perhaps it won't because there's no surface anymore after the scatter SOP?
buki
hi!

first: put normals on the torus for example with the facet sop (post compute normals)
second: rotate the cube in X 90 degrees, since the copy aligns the copies to the Z axe
Soothsayer
Thanks Buki! So easy, yet so not-obvious. I don't know why, but I was under the impression there's always normals…

I stuck the particles to the surface with a creep POP. When I animate the surface the cubes align but go all funny at some point. Do you happen to know an easy surface align that works with animated, defomed surfaces as well?
Soothsayer
Oh I figured it out. An attribute transfer POP will automatically transfer and update the source object normals to the particles each frame.
buki
Yes it's strange that after other programs You don't have Uv's/normals on a geometry, but houdini is all about control, so You get used to it
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB