Re: object center orientation
Press Center in the top right, translate/rotate/scale as desired, then press Object again? Or did I miss something? On Mon, Sep 10, 2012 at 1:08 PM, Eric Lampi ericla...@gmail.com wrote: I'm not sure how to accomplish this, I am drawing a blank at the moment... A modeler build a globe and cut up the continents into little pieces, the orientation needs to point toward the center of the globe so they can animate out on a local y axis. Is there any way to globally make the center axis to point towards a null or to global 0 without moving the individual objects? The geo is properly oriented, but the center points are all at the same default rotation. Eric -- Freelance 3D and VFX animator
Re: object center orientation
It's a globe, and all the rotations of these pieces are pointing towards global 0 x,y,z, the y axis needs to point outward in relation to the center, much like the normal of all of the polys on a sphere. There are 1000 pieces, so I'm looking for a repeatable function I can loop through at least. On Mon, Sep 10, 2012 at 1:55 PM, Alan Fregtman alan.fregt...@gmail.comwrote: Press Center in the top right, translate/rotate/scale as desired, then press Object again? Or did I miss something? On Mon, Sep 10, 2012 at 1:08 PM, Eric Lampi ericla...@gmail.com wrote: I'm not sure how to accomplish this, I am drawing a blank at the moment... A modeler build a globe and cut up the continents into little pieces, the orientation needs to point toward the center of the globe so they can animate out on a local y axis. Is there any way to globally make the center axis to point towards a null or to global 0 without moving the individual objects? The geo is properly oriented, but the center points are all at the same default rotation. Eric -- Freelance 3D and VFX animator -- Freelance 3D and VFX animator
RE: object center orientation
You could try with spacer nulls for each geo - snap to their current POS - then direction constrain them to a null in the center of the globe - parent each geo to it's respective null and freeze transforms - you could do this once and use a quick hacky script to iterate through the remaining ones if they are named with a number. Once frozen xforms you could unparent if you need to. S. _ Sandy Sutherland Technical Supervisor sandy.sutherl...@triggerfish.co.za _ From: softimage-boun...@listproc.autodesk.com [softimage-boun...@listproc.autodesk.com] on behalf of Eric Lampi [ericla...@gmail.com] Sent: 10 September 2012 19:08 To: softimage@listproc.autodesk.com Subject: object center orientation I'm not sure how to accomplish this, I am drawing a blank at the moment... A modeler build a globe and cut up the continents into little pieces, the orientation needs to point toward the center of the globe so they can animate out on a local y axis. Is there any way to globally make the center axis to point towards a null or to global 0 without moving the individual objects? The geo is properly oriented, but the center points are all at the same default rotation. Eric -- Freelance 3D and VFX animator
Re: object center orientation
OK cool, thanks for the tip. I just wanted to make sure I wasn't missing a command or operator that might get me there. I need some practice scripting anyway, so I'll try to do something using an OM instead. Eric On Mon, Sep 10, 2012 at 1:45 PM, Sandy Sutherland sandy.sutherl...@triggerfish.co.za wrote: You could try with spacer nulls for each geo - snap to their current POS - then direction constrain them to a null in the center of the globe - parent each geo to it's respective null and freeze transforms - you could do this once and use a quick hacky script to iterate through the remaining ones if they are named with a number. Once frozen xforms you could unparent if you need to. S. _ Sandy Sutherland Technical Supervisor sandy.sutherl...@triggerfish.co.za _ -- *From:* softimage-boun...@listproc.autodesk.com [ softimage-boun...@listproc.autodesk.com] on behalf of Eric Lampi [ ericla...@gmail.com] *Sent:* 10 September 2012 19:08 *To:* softimage@listproc.autodesk.com *Subject:* object center orientation I'm not sure how to accomplish this, I am drawing a blank at the moment... A modeler build a globe and cut up the continents into little pieces, the orientation needs to point toward the center of the globe so they can animate out on a local y axis. Is there any way to globally make the center axis to point towards a null or to global 0 without moving the individual objects? The geo is properly oriented, but the center points are all at the same default rotation. Eric -- Freelance 3D and VFX animator -- Freelance 3D and VFX animator
RE: object center orientation
Just tried to find a quick solution myself , surprised there isn't an simpler solution. Scott Lange From: softimage-boun...@listproc.autodesk.com [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Eric Lampi Sent: Monday, September 10, 2012 2:19 PM To: softimage@listproc.autodesk.com Subject: Re: object center orientation OK cool, thanks for the tip. I just wanted to make sure I wasn't missing a command or operator that might get me there. I need some practice scripting anyway, so I'll try to do something using an OM instead. Eric On Mon, Sep 10, 2012 at 1:45 PM, Sandy Sutherland sandy.sutherl...@triggerfish.co.za wrote: You could try with spacer nulls for each geo - snap to their current POS - then direction constrain them to a null in the center of the globe - parent each geo to it's respective null and freeze transforms - you could do this once and use a quick hacky script to iterate through the remaining ones if they are named with a number. Once frozen xforms you could unparent if you need to. S. _ Sandy Sutherland Technical Supervisor sandy.sutherl...@triggerfish.co.za _ _ From: softimage-boun...@listproc.autodesk.com [softimage-boun...@listproc.autodesk.com] on behalf of Eric Lampi [ericla...@gmail.com] Sent: 10 September 2012 19:08 To: softimage@listproc.autodesk.com Subject: object center orientation I'm not sure how to accomplish this, I am drawing a blank at the moment... A modeler build a globe and cut up the continents into little pieces, the orientation needs to point toward the center of the globe so they can animate out on a local y axis. Is there any way to globally make the center axis to point towards a null or to global 0 without moving the individual objects? The geo is properly oriented, but the center points are all at the same default rotation. Eric -- Freelance 3D and VFX animator -- Freelance 3D and VFX animator
Re: object center orientation
Actually, there *is* a simpler solution. :-) 1. Create a single, target null at origin. 2. Select all the meshes. 3. Envelope to the target null (this locks all the vertices in place). 4. Direction constrain to the target null. 5. Set up vector to scene y. 6. Freeze the meshes. Done. On Mon, Sep 10, 2012 at 1:23 PM, Scott Lange sc...@turbulenceffects.comwrote: Just tried to find a quick solution myself , surprised there isn't an simpler solution. ** ** *Scott Lange* ** ** ** ** ** ** ** ** *From:* softimage-boun...@listproc.autodesk.com [mailto: softimage-boun...@listproc.autodesk.com] *On Behalf Of *Eric Lampi *Sent:* Monday, September 10, 2012 2:19 PM *To:* softimage@listproc.autodesk.com *Subject:* Re: object center orientation ** ** OK cool, thanks for the tip. I just wanted to make sure I wasn't missing a command or operator that might get me there. I need some practice scripting anyway, so I'll try to do something using an OM instead. Eric On Mon, Sep 10, 2012 at 1:45 PM, Sandy Sutherland sandy.sutherl...@triggerfish.co.za wrote: You could try with spacer nulls for each geo - snap to their current POS - then direction constrain them to a null in the center of the globe - parent each geo to it's respective null and freeze transforms - you could do this once and use a quick hacky script to iterate through the remaining ones if they are named with a number. Once frozen xforms you could unparent if you need to. S. ** ** _ Sandy Sutherland Technical Supervisor sandy.sutherl...@triggerfish.co.za _ -- *From:* softimage-boun...@listproc.autodesk.com [ softimage-boun...@listproc.autodesk.com] on behalf of Eric Lampi [ ericla...@gmail.com] *Sent:* 10 September 2012 19:08 *To:* softimage@listproc.autodesk.com *Subject:* object center orientation I'm not sure how to accomplish this, I am drawing a blank at the moment... A modeler build a globe and cut up the continents into little pieces, the orientation needs to point toward the center of the globe so they can animate out on a local y axis. Is there any way to globally make the center axis to point towards a null or to global 0 without moving the individual objects? The geo is properly oriented, but the center points are all at the same default rotation. Eric -- Freelance 3D and VFX animator -- Freelance 3D and VFX animator
Re: object center orientation
Apologies to Eric, because once again you can skip having to learn scripting. I should have just left things alone. On Mon, Sep 10, 2012 at 1:40 PM, Bradley Gabe witha...@gmail.com wrote: Actually, there *is* a simpler solution. :-) 1. Create a single, target null at origin. 2. Select all the meshes. 3. Envelope to the target null (this locks all the vertices in place). 4. Direction constrain to the target null. 5. Set up vector to scene y. 6. Freeze the meshes. Done. On Mon, Sep 10, 2012 at 1:23 PM, Scott Lange sc...@turbulenceffects.comwrote: Just tried to find a quick solution myself , surprised there isn't an simpler solution. ** ** *Scott Lange* ** ** ** ** ** ** ** ** *From:* softimage-boun...@listproc.autodesk.com [mailto: softimage-boun...@listproc.autodesk.com] *On Behalf Of *Eric Lampi *Sent:* Monday, September 10, 2012 2:19 PM *To:* softimage@listproc.autodesk.com *Subject:* Re: object center orientation ** ** OK cool, thanks for the tip. I just wanted to make sure I wasn't missing a command or operator that might get me there. I need some practice scripting anyway, so I'll try to do something using an OM instead. Eric On Mon, Sep 10, 2012 at 1:45 PM, Sandy Sutherland sandy.sutherl...@triggerfish.co.za wrote: You could try with spacer nulls for each geo - snap to their current POS - then direction constrain them to a null in the center of the globe - parent each geo to it's respective null and freeze transforms - you could do this once and use a quick hacky script to iterate through the remaining ones if they are named with a number. Once frozen xforms you could unparent if you need to. S. ** ** _ Sandy Sutherland Technical Supervisor sandy.sutherl...@triggerfish.co.za _ -- *From:* softimage-boun...@listproc.autodesk.com [ softimage-boun...@listproc.autodesk.com] on behalf of Eric Lampi [ ericla...@gmail.com] *Sent:* 10 September 2012 19:08 *To:* softimage@listproc.autodesk.com *Subject:* object center orientation I'm not sure how to accomplish this, I am drawing a blank at the moment... A modeler build a globe and cut up the continents into little pieces, the orientation needs to point toward the center of the globe so they can animate out on a local y axis. Is there any way to globally make the center axis to point towards a null or to global 0 without moving the individual objects? The geo is properly oriented, but the center points are all at the same default rotation. Eric -- Freelance 3D and VFX animator -- Freelance 3D and VFX animator
Re: object center orientation
Check out the big brain on Brad...http://www.youtube.com/watch?v=Hrm-rPSCIBw On Mon, Sep 10, 2012 at 2:40 PM, Bradley Gabe witha...@gmail.com wrote: Actually, there *is* a simpler solution. :-) 1. Create a single, target null at origin. 2. Select all the meshes. 3. Envelope to the target null (this locks all the vertices in place). 4. Direction constrain to the target null. 5. Set up vector to scene y. 6. Freeze the meshes. Done. On Mon, Sep 10, 2012 at 1:23 PM, Scott Lange sc...@turbulenceffects.comwrote: Just tried to find a quick solution myself , surprised there isn't an simpler solution. ** ** *Scott Lange* ** ** ** ** ** ** ** ** *From:* softimage-boun...@listproc.autodesk.com [mailto: softimage-boun...@listproc.autodesk.com] *On Behalf Of *Eric Lampi *Sent:* Monday, September 10, 2012 2:19 PM *To:* softimage@listproc.autodesk.com *Subject:* Re: object center orientation ** ** OK cool, thanks for the tip. I just wanted to make sure I wasn't missing a command or operator that might get me there. I need some practice scripting anyway, so I'll try to do something using an OM instead. Eric On Mon, Sep 10, 2012 at 1:45 PM, Sandy Sutherland sandy.sutherl...@triggerfish.co.za wrote: You could try with spacer nulls for each geo - snap to their current POS - then direction constrain them to a null in the center of the globe - parent each geo to it's respective null and freeze transforms - you could do this once and use a quick hacky script to iterate through the remaining ones if they are named with a number. Once frozen xforms you could unparent if you need to. S. ** ** _ Sandy Sutherland Technical Supervisor sandy.sutherl...@triggerfish.co.za _ -- *From:* softimage-boun...@listproc.autodesk.com [ softimage-boun...@listproc.autodesk.com] on behalf of Eric Lampi [ ericla...@gmail.com] *Sent:* 10 September 2012 19:08 *To:* softimage@listproc.autodesk.com *Subject:* object center orientation I'm not sure how to accomplish this, I am drawing a blank at the moment... A modeler build a globe and cut up the continents into little pieces, the orientation needs to point toward the center of the globe so they can animate out on a local y axis. Is there any way to globally make the center axis to point towards a null or to global 0 without moving the individual objects? The geo is properly oriented, but the center points are all at the same default rotation. Eric -- Freelance 3D and VFX animator -- Freelance 3D and VFX animator -- Freelance 3D and VFX animator
Re: object center orientation
Nah, it's actually something I am working on, baby steps. This was just the CG Gods giving me a nudge. On Mon, Sep 10, 2012 at 2:41 PM, Bradley Gabe witha...@gmail.com wrote: Apologies to Eric, because once again you can skip having to learn scripting. I should have just left things alone. On Mon, Sep 10, 2012 at 1:40 PM, Bradley Gabe witha...@gmail.com wrote: Actually, there *is* a simpler solution. :-) 1. Create a single, target null at origin. 2. Select all the meshes. 3. Envelope to the target null (this locks all the vertices in place). 4. Direction constrain to the target null. 5. Set up vector to scene y. 6. Freeze the meshes. Done. On Mon, Sep 10, 2012 at 1:23 PM, Scott Lange sc...@turbulenceffects.comwrote: Just tried to find a quick solution myself , surprised there isn't an simpler solution. ** ** *Scott Lange* ** ** ** ** ** ** ** ** *From:* softimage-boun...@listproc.autodesk.com [mailto: softimage-boun...@listproc.autodesk.com] *On Behalf Of *Eric Lampi *Sent:* Monday, September 10, 2012 2:19 PM *To:* softimage@listproc.autodesk.com *Subject:* Re: object center orientation ** ** OK cool, thanks for the tip. I just wanted to make sure I wasn't missing a command or operator that might get me there. I need some practice scripting anyway, so I'll try to do something using an OM instead. Eric On Mon, Sep 10, 2012 at 1:45 PM, Sandy Sutherland sandy.sutherl...@triggerfish.co.za wrote: You could try with spacer nulls for each geo - snap to their current POS - then direction constrain them to a null in the center of the globe - parent each geo to it's respective null and freeze transforms - you could do this once and use a quick hacky script to iterate through the remaining ones if they are named with a number. Once frozen xforms you could unparent if you need to. S. ** ** _ Sandy Sutherland Technical Supervisor sandy.sutherl...@triggerfish.co.za _ -- *From:* softimage-boun...@listproc.autodesk.com [ softimage-boun...@listproc.autodesk.com] on behalf of Eric Lampi [ ericla...@gmail.com] *Sent:* 10 September 2012 19:08 *To:* softimage@listproc.autodesk.com *Subject:* object center orientation I'm not sure how to accomplish this, I am drawing a blank at the moment... A modeler build a globe and cut up the continents into little pieces, the orientation needs to point toward the center of the globe so they can animate out on a local y axis. Is there any way to globally make the center axis to point towards a null or to global 0 without moving the individual objects? The geo is properly oriented, but the center points are all at the same default rotation. Eric -- Freelance 3D and VFX animator -- Freelance 3D and VFX animator -- Freelance 3D and VFX animator
Re: object center orientation
There are over 1685 objects with no null parent, they already had a center at vertices. I was just making sure there wasn't an operation available before I ventured into scripting something, thanks anyway. On Mon, Sep 10, 2012 at 2:25 PM, Matt Lind ml...@carbinestudios.com wrote: What? ICE doesn’t solve this out of the box? ** ** Try this: ** ** 1) Select all globe pieces. 2) MCP Transform Move Centers to Vertices 3) Create a null at the center of the globe. 4) Set select filter to “Center”. 5) Apply direction constraint to each globe piece picking null at center of globe as the target. Choose desired axis, then remove constraint. 5) Make globe pieces child of this null. ** ** Animate the null to rotate the globe pieces. ** ** ** ** Matt ** ** ** ** ** ** ** ** ** ** ** ** *From:* softimage-boun...@listproc.autodesk.com [mailto: softimage-boun...@listproc.autodesk.com] *On Behalf Of *Eric Lampi *Sent:* Monday, September 10, 2012 11:06 AM *To:* softimage@listproc.autodesk.com *Subject:* Re: object center orientation ** ** It's a globe, and all the rotations of these pieces are pointing towards global 0 x,y,z, the y axis needs to point outward in relation to the center, much like the normal of all of the polys on a sphere. There are 1000 pieces, so I'm looking for a repeatable function I can loop through at least. On Mon, Sep 10, 2012 at 1:55 PM, Alan Fregtman alan.fregt...@gmail.com wrote: Press Center in the top right, translate/rotate/scale as desired, then press Object again? Or did I miss something? On Mon, Sep 10, 2012 at 1:08 PM, Eric Lampi ericla...@gmail.com wrote:** ** I'm not sure how to accomplish this, I am drawing a blank at the moment... A modeler build a globe and cut up the continents into little pieces, the orientation needs to point toward the center of the globe so they can animate out on a local y axis. Is there any way to globally make the center axis to point towards a null or to global 0 without moving the individual objects? The geo is properly oriented, but the center points are all at the same default rotation. Eric -- Freelance 3D and VFX animator ** ** -- Freelance 3D and VFX animator -- Freelance 3D and VFX animator
RE: object center orientation
I don't see any reason why you need to script this. You can do what you need in a couple of clicks in a multi-selection regardless of size. Matt From: softimage-boun...@listproc.autodesk.com [mailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Eric Lampi Sent: Monday, September 10, 2012 11:56 AM To: softimage@listproc.autodesk.com Subject: Re: object center orientation There are over 1685 objects with no null parent, they already had a center at vertices. I was just making sure there wasn't an operation available before I ventured into scripting something, thanks anyway. On Mon, Sep 10, 2012 at 2:25 PM, Matt Lind ml...@carbinestudios.commailto:ml...@carbinestudios.com wrote: What? ICE doesn't solve this out of the box? Try this: 1) Select all globe pieces. 2) MCP Transform Move Centers to Vertices 3) Create a null at the center of the globe. 4) Set select filter to Center. 5) Apply direction constraint to each globe piece picking null at center of globe as the target. Choose desired axis, then remove constraint. 5) Make globe pieces child of this null. Animate the null to rotate the globe pieces. Matt From: softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.com [mailto:softimage-boun...@listproc.autodesk.commailto:softimage-boun...@listproc.autodesk.com] On Behalf Of Eric Lampi Sent: Monday, September 10, 2012 11:06 AM To: softimage@listproc.autodesk.commailto:softimage@listproc.autodesk.com Subject: Re: object center orientation It's a globe, and all the rotations of these pieces are pointing towards global 0 x,y,z, the y axis needs to point outward in relation to the center, much like the normal of all of the polys on a sphere. There are 1000 pieces, so I'm looking for a repeatable function I can loop through at least. On Mon, Sep 10, 2012 at 1:55 PM, Alan Fregtman alan.fregt...@gmail.commailto:alan.fregt...@gmail.com wrote: Press Center in the top right, translate/rotate/scale as desired, then press Object again? Or did I miss something? On Mon, Sep 10, 2012 at 1:08 PM, Eric Lampi ericla...@gmail.commailto:ericla...@gmail.com wrote: I'm not sure how to accomplish this, I am drawing a blank at the moment... A modeler build a globe and cut up the continents into little pieces, the orientation needs to point toward the center of the globe so they can animate out on a local y axis. Is there any way to globally make the center axis to point towards a null or to global 0 without moving the individual objects? The geo is properly oriented, but the center points are all at the same default rotation. Eric -- Freelance 3D and VFX animator -- Freelance 3D and VFX animator -- Freelance 3D and VFX animator
Re: object center orientation
so if I understand you want to have each geo's y-axis point at the origin without effecting the geometry. You could throw an envelope on all the obects, apply a direction constraint to a null at the origin then freeze the envelope. On Mon, Sep 10, 2012 at 3:03 PM, Matt Lind ml...@carbinestudios.com wrote: I don’t see any reason why you need to script this. You can do what you need in a couple of clicks in a multi-selection regardless of size. ** ** ** ** ** ** Matt ** ** ** ** ** ** ** ** *From:* softimage-boun...@listproc.autodesk.com [mailto: softimage-boun...@listproc.autodesk.com] *On Behalf Of *Eric Lampi *Sent:* Monday, September 10, 2012 11:56 AM *To:* softimage@listproc.autodesk.com *Subject:* Re: object center orientation ** ** There are over 1685 objects with no null parent, they already had a center at vertices. I was just making sure there wasn't an operation available before I ventured into scripting something, thanks anyway. On Mon, Sep 10, 2012 at 2:25 PM, Matt Lind ml...@carbinestudios.com wrote: What? ICE doesn’t solve this out of the box? Try this: 1) Select all globe pieces. 2) MCP Transform Move Centers to Vertices 3) Create a null at the center of the globe. 4) Set select filter to “Center”. 5) Apply direction constraint to each globe piece picking null at center of globe as the target. Choose desired axis, then remove constraint. 5) Make globe pieces child of this null. Animate the null to rotate the globe pieces. Matt *From:* softimage-boun...@listproc.autodesk.com [mailto: softimage-boun...@listproc.autodesk.com] *On Behalf Of *Eric Lampi *Sent:* Monday, September 10, 2012 11:06 AM *To:* softimage@listproc.autodesk.com *Subject:* Re: object center orientation It's a globe, and all the rotations of these pieces are pointing towards global 0 x,y,z, the y axis needs to point outward in relation to the center, much like the normal of all of the polys on a sphere. There are 1000 pieces, so I'm looking for a repeatable function I can loop through at least. On Mon, Sep 10, 2012 at 1:55 PM, Alan Fregtman alan.fregt...@gmail.com wrote: Press Center in the top right, translate/rotate/scale as desired, then press Object again? Or did I miss something? On Mon, Sep 10, 2012 at 1:08 PM, Eric Lampi ericla...@gmail.com wrote:** ** I'm not sure how to accomplish this, I am drawing a blank at the moment... A modeler build a globe and cut up the continents into little pieces, the orientation needs to point toward the center of the globe so they can animate out on a local y axis. Is there any way to globally make the center axis to point towards a null or to global 0 without moving the individual objects? The geo is properly oriented, but the center points are all at the same default rotation. Eric -- Freelance 3D and VFX animator -- Freelance 3D and VFX animator -- Freelance 3D and VFX animator