Introduction to Maya - Rendering in Arnold
This course will look at the fundamentals of rendering in Arnold. We'll go through the different light types available, cameras, shaders, Arnold's render settings and finally how to split an image into render passes (AOV's), before we then reassemble it i
# 1 15-06-2003 , 01:29 AM
Dann's Avatar
Registered User
Join Date: Feb 2003
Location: Los Angeles
Posts: 695

Center coordinates

Well I know how to center an object's pivot point, but how do I get it's xyz values to reflect that new center pivot point? Maya says my object's center is still at 0,0,0, when it clearly is not.

Any thoughts?

# 2 15-06-2003 , 02:24 AM
Darkware's Avatar
Subscriber
Join Date: Oct 2002
Location: USA
Posts: 1,172
Take your object and snap it (hold down the x key) to the very center of the grid. Choose Modify>Freeze Transformation and your object will reset to 0,0,0.

# 3 15-06-2003 , 02:31 AM
Dann's Avatar
Registered User
Join Date: Feb 2003
Location: Los Angeles
Posts: 695
OK, but then how do I get it back in place. It has to be exact. Is there a way to get the coordinates of where it is without have to move it and freeze it?

# 4 15-06-2003 , 03:56 AM
Darkware's Avatar
Subscriber
Join Date: Oct 2002
Location: USA
Posts: 1,172
You could make a duplicate, take the original back to the origin, freeze transformations, then take it back and try to line it up with the duplicate as best you can. You can make precise movements if you zoom in really close in the side, front, and top view panels.

# 5 15-06-2003 , 04:02 AM
Dann's Avatar
Registered User
Join Date: Feb 2003
Location: Los Angeles
Posts: 695
yeah, but it's so lame you can't be exact.

# 6 15-06-2003 , 04:30 AM
Darkware's Avatar
Subscriber
Join Date: Oct 2002
Location: USA
Posts: 1,172
ok, ok. It's not as lame as you think. Here is a way to do it.

Make a duplicate of your object. Take the original to the center of the grid, freeze transformations, then move it next to your original. (not directly on top of it, just next to it.) WIth the original object selected, press "insert." The pivot point for the object appears. Hold down the "c" key and snap the pivot point to a vertice. Point snapping can be a little tricky, but you can do this. Just try a few times. It can be done. Once you have the pivot point snapped to a vertices, press insert again. Now since the pivot point is directly on a vertice, you can point snap the object to the same vertice of the duplicate. Delete the duplicate, then center pivot your original.

This DOES WORK. If you can't figure out hwo to do something, I can provide a full explanation with images if need be.

Now you can't say it's lame. user added image


Last edited by Darkware; 15-06-2003 at 04:35 AM.
# 7 15-06-2003 , 05:50 AM
Dann's Avatar
Registered User
Join Date: Feb 2003
Location: Los Angeles
Posts: 695
Yeah, OK. But it is a crazy work around. Let's be honest, when you center the pivot point, the X,Y,Z should read the coordinates of where the center is, not 0,0,0

# 8 15-06-2003 , 09:20 AM
BabyDuck's Avatar
Subscriber
Join Date: Nov 2002
Location: USA
Posts: 1,170
no it is not a crazy workaround. it would be a hell of a mess if everytime you change the position of pivot the xyz coordinates would change. you can enable the handle, and snap the pivot to the handle w/o snapping the pivot to a vertex. point snapping works also for handles - but only if they are visible.

# 9 15-06-2003 , 12:47 PM
mtmckinley's Avatar
The Maya Mountain
Join Date: Aug 2002
Location: Seattle, WA
Posts: 8,245
You've also got the alignment commands under the modify menu.

# 10 15-06-2003 , 01:41 PM
Darkware's Avatar
Subscriber
Join Date: Oct 2002
Location: USA
Posts: 1,172
Center pivot was not made to make the coordinates of your object change, but to make the pivot of your geometry appear at the center of your geometry. Like Babyduck said - it would be crazy if the coordinates were always changing. If you group an object to another object, the child object will lose its world coordinate and will move according to where its parent is. It absolutely has to be this way, otherwise we would have an emense amount of trouble driving that object with expressions and the like because it has to move according to where the parent object is.

The thing to remember is that center pivot has only one use and it does what it's supposed to well. Messing with coordinates requires you to use other tools specifically designed to modify coordinates. Alias|Wavefront purposly made two seperate tools for each so users could have more flexibility.

The routine I explained above is not really "a crazy work around" because it can be done in mere seconds. It's not that difficult to do in my opinion.

and... I'm sorry if I came across as being a little harsh in this post, but you really shouldn't jump to conclusions so quickly. Be patient.

Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads