ebonixs
Aug. 16, 2008 10:36:19
This is my first time using Houdini 9.5 and I have one question… I've imported an image made in 3DS Max into Houdini for the purpose of rigging and testing it in GG's Torque Game Engine. After importing him, the model seems to be “out of the center of his world.” How to I align him to the center of his world if possible. Attached is a jpeg image displaying the issue. Thanks!
photex
Aug. 16, 2008 11:14:18
Append a transform sop to the file sop and you can either manually position him, or you can use a local variable such as $ZMAX, $ZMIN to automatically position him.
Let me know if you need a more detailed explanation.
ebonixs
Aug. 16, 2008 11:56:14
If it is not a problem, please break it down. The only 3D app that I've been working on is Milkshape 3D. I understand some things about transforming objects (through tutorials) but i feel that the mid set or the way I'm thinking is not what you're thinking. Sorry…
anon_user_35262626
Aug. 16, 2008 12:44:04
press “insert” to go to the pivet mode, then move the pivet…
return to normal mode (insert again)… and zero X Y Z… than it should be centered…
ebonixs
Aug. 16, 2008 12:51:49
Yo! That's wassup! Nuff Said!!!! Back to work!
Allegro
Aug. 16, 2008 17:12:01
Try sticking down a transform node after his geometry
Enter the following expressions into the three translate parameters
-centroid(opinput(“.”, 0), D_X)
-$YMIN
-centroid(opinput(“.”, 0), D_Z)
This should center your character on the X and Z axis, and place him so that the bottom of his geometry is level with 0 on the y axis.
photex
Aug. 16, 2008 17:22:47
What Allegro said.
I've never used the centroid expression before. Quite a nice trick!
frogspasm_deux
Aug. 16, 2008 20:58:36
If I hadn't used the transform sop yet, and only other 3d app I'd ever used was Milkshape, Allegro's suggestion would confuse the crap out of me

Go check out all the intro to Houdini 9.5 videos over at 3DBuzz to get a little more familiarized with things. They helped me a lot.
Allegro
Aug. 17, 2008 00:21:23
What frogspasm_deux said