Jump to content

imported geometry pivot


Recommended Posts

Hello

I imported a geo into Houdini from Maya.
I want to rotate it around its pivot, but the transform node doesn't respect the imported geo's pivot.It sets it to the origin.
is there any thing I can do so Houdini uses the original imported pivot for transformation?

thank you

Link to comment
Share on other sites

What format are you exporting?

Because that depends a bit on how you could do it.

 

But you could also just position the object in maya so the pivot sits at the origin.

Or if the desired pivot you want to have is the object center you can press "Move Centroid to origin" on the xform sop in Houdini.

Link to comment
Share on other sites

thank you Adrian!

the thing is I need Its pivot exactly where It is in Maya, so I can rotate it around.

the pictures shows what it looks like in Houdini.

(obj and FBX in houdini)

maya.thumb.JPG.e1ae4e2a9e98ea418d70f8252bc0d17d.JPG5d31ed0e81707_houdiniObj.thumb.JPG.7d81367fd2ecf39a451b524c109791dc.JPG5d31ed1479b34_houdinifbx.thumb.JPG.655158d03c5c9f41757f2ba0fee3d801.JPG

 

 

Edited by mirHadi
Link to comment
Share on other sites

just blast the lower polygon and put transform node under it with expressions sepu mentioned.

or you can blast that polygon put null at the end with name OUT_whatever(just to keep it organized)

and then on transform node that is just under your geo put expression in pivot position

centroid("../OUT_whatever", D_X)

centroid("../OUT_whatever", D_Y) 

centroid("../OUT_whatever", D_Z)

for XYZ accordingly

 

All done in geo level

Link to comment
Share on other sites

thank you

but, It is not what I want.

I don't want to move the pivot to centroids of the entire object or any primitives. I need the exact pivot position of the object shown in the picture.

maya.thumb.JPG.d4d140f0e26b9a24d8fd4737f6cd13be.JPG

Edited by mirHadi
Link to comment
Share on other sites

Hi
I'm not sure about you problem as FBX import usually give the correct pivot.
I try it (from an older version of maya), and I get the correct pivot.
See the attached file. The pivot of pCube1 is on the top left corner.

Normally you should see at the bottom of the geometry transform tab, the pivot offset parameters.
These settings are not normally usually visible, they are added when importing FBX. But you can access it or add them from "Edit parameter interface".
I also added a box, where I added the rotate offset (but in the transform tab to make it more visible), and move the pivot to the left side.

If you want to use these "not centered" pivots at the sop level you have to use several transform node to recreate the transformation sequence.

hope this helps

Box pivot.zip

Box pivot.JPG

Edited by flcc
  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...