[Sidefx-houdini-list] getting a local space for a transforming object

David Johnson daveinengland at gmail.com
Sat May 8 23:37:55 EDT 2010

We have a SOP that will take the normal of either a point or a primitive and
transform the whole model such that the point or primitive is at the local
origin and the normal is oriented along one of the axis. Just a simple
transform and a rotate VOP. It also puts the rotation into a Detail
attribute for use at the object level. It doesn't do what the paper talks
about (automatically finding what humans would consider "up"), but it's
quite useful for setting up animation controls at the object level. I'll see
if I can upload it on Monday to the forum.


On Thu, May 6, 2010 at 12:03 PM, Andrew D Lyons <tstexture at gmail.com> wrote:

> Do you work in a large pipeline where you occasionally need to remodel an
> animating (transforming - not deforming) cache in some non-transforming
> local space? Imagine if there was a SOP that could put any moving object on
> the origin and align it with some cardinal axis - and which stored the
> original space for later repositioning? It's easy enough to put an object
> on
> the origin - but how do you align it to an axis or get it upright?
> http://www.cs.ubc.ca/nest/imager/tr/2008/upright_orientation/siggraph08_upright_orientation.pdf
> With a SOP based on this paper we could perform all manner of modeling
> operations on a previously moving shapes as they sit on the origin not
> moving, and then afterwards use an extracted centroid with N and up vectors
> with a copy SOP to put the modified model back in it's original animating
> space.
> How handy would that be!?! Any takers for an RFE?
> Cheers
> --
> =======================================
> Andrew D Lyons | Digital Artist | http://www.tstex.com
> =======================================
> _______________________________________________
> Sidefx-houdini-list mailing list
> Sidefx-houdini-list at sidefx.com
> https://lists.sidefx.com:443/mailman/listinfo/sidefx-houdini-list

More information about the Sidefx-houdini-list mailing list