Jump to: Board index » General » Fusion

Parenting / linking

Learn about 3D compositing, animation, broadcast design and VFX workflows.
  • Author
  • Message
Offline

Margus Voll

  • Posts: 1111
  • Joined: Wed Aug 22, 2012 10:31 am
  • Location: Tallinn, Estonia

Parenting / linking

PostSun Feb 07, 2016 9:51 am

Hi.

I wonder how do you parent or link elements to lets say master element or null
that controls the animation?

Say i have image i'm animating and want to "attach" something to it
so the linked / parented element moves along when animating the master?

Went over manual but at first did not find it.

Probably i have wrong naming in my head for that?
Margus Voll, CSI

http://www.iconstudios.eu
margus (at) iconstudios.eu
IG: margusvoll
Offline
User avatar

michael vorberg

  • Posts: 943
  • Joined: Wed Nov 12, 2014 8:47 pm
  • Location: stuttgart, germany

Re: Parenting / linking

PostSun Feb 07, 2016 11:00 am

you can connect every parameter per "simple expression" and then use the "+" to pick the parent parameter

or you use "publish" controls and "connect to" function

both are in the user manual page 438++
Offline

Bob Place

  • Posts: 54
  • Joined: Thu Jan 21, 2016 10:13 pm
  • Location: Atlanta, Ga. USA

Re: Parenting / linking

PostSun Feb 07, 2016 12:10 pm

Margus Voll wrote:Parenting or linking... Went over manual but at first did not find it.


I just went through this last week, and here is how I connected a pEmitter to the wing of a jet fighter:

1. Put the jet (any object really, this is the parent) into a Merge3d.

2. Using expressions, put what ever you want to connect (mesh, object, pEmitter, what ever this is the child) into the exact same location using expressions. Put an "=" in the value box and a expression edit box appears. Use the "+" and drag it to the appropriate value in the "master" The expression will look something like this:

Jetlocation.Transform3DOp.Translate.X
Jetlocation.Transform3DOp.Translate.y
Jetlocation.Transform3DOp.Translate.z

Now both pivot points are the same. But what if you don't want the object at the pivot point? Then we add an offset. For example with the jet example, this puts the pEmitter into the center of the jet. Not where we want it.

So we add an offset to the expression, so for my jet example to put the pEmitter on the wing tip I added the offset to the expressions I just created:

Jetlocation.Transform3DOp.Translate.X + .6
Jetlocation.Transform3DOp.Translate.y - .05
Jetlocation.Transform3DOp.Translate.z

But now the pivot point is not in the right place!!! So use the pivot slider to move it back. To get it in the exact same position, what ever offset you added to the translation expression (Jetlocation.Transform3DOp.Translate.X + .6) You do the opposite in the pivot. So for this example I would change the pivot for the child to -.6 in the X and +.05 in the Y.

Last, link the child's x,y, and z rotation to the parent (again using expressions). Now your child will stick to to parent. No matter how you move or rotate it. I also am using the same procedure to lock a missile to the jet fighter, and the rocket exhaust from the missile.

Let me know if that made sense or not. I will whip up a code example and share it if it didn't.
Bob Place
Offline

Margus Voll

  • Posts: 1111
  • Joined: Wed Aug 22, 2012 10:31 am
  • Location: Tallinn, Estonia

Re: Parenting / linking

PostSun Feb 07, 2016 12:50 pm

Thanks.

Makes sense. Will dig in to the manual. I never figured that was ""how" in the manual.
Probably as i have used to use AE to much.
Margus Voll, CSI

http://www.iconstudios.eu
margus (at) iconstudios.eu
IG: margusvoll
Offline

Fernando Lamanna

  • Posts: 5
  • Joined: Wed Feb 17, 2016 1:52 am
  • Location: Brazil

Re: Parenting / linking

PostWed Feb 17, 2016 2:44 am

Hi,

If you are trying to do a simple 2D hierarchy, like an arm, connect your CHILD element to a Transform tool. Move the pivot to the desired location. Connect this Transform to a Merge tool where a PARENT element is connected as foreground or background. Connect the output of this Merge tool to a transform tool, then move the pivot to desired location of that PARENT. If you consider these 2 elements as CHILD of another PARENT element, then do the same: connect this last Transform tool to a new Merge tool where this new PARENT element is connected as foreground or background. Then connect this new merge to another Transform tool, move the pivot to a desire location, and so on.
You will animate these transform tools.

Image
Offline

Margus Voll

  • Posts: 1111
  • Joined: Wed Aug 22, 2012 10:31 am
  • Location: Tallinn, Estonia

Re: Parenting / linking

PostWed Feb 17, 2016 8:40 pm

Thanks.

This is what i meant.

Parenting in 3D space is similar i assume?
Margus Voll, CSI

http://www.iconstudios.eu
margus (at) iconstudios.eu
IG: margusvoll
Offline

Fernando Lamanna

  • Posts: 5
  • Joined: Wed Feb 17, 2016 1:52 am
  • Location: Brazil

Re: Parenting / linking

PostThu Feb 18, 2016 4:34 pm

Yes, in 3D space, the geometry and the Merge3D have a transform tab already. You can adjust the pivot of the first child in geometry (ImagePlane), but from parent to parent you may adjust in the Merg3D tool.

Image
Offline

Margus Voll

  • Posts: 1111
  • Joined: Wed Aug 22, 2012 10:31 am
  • Location: Tallinn, Estonia

Re: Parenting / linking

PostFri Feb 19, 2016 8:00 am

Thanks.
Margus Voll, CSI

http://www.iconstudios.eu
margus (at) iconstudios.eu
IG: margusvoll
Offline

june yu

  • Posts: 55
  • Joined: Thu Nov 13, 2014 2:25 am

Re: Parenting / linking

PostFri Feb 19, 2016 5:38 pm

kd bend + ct

Image
Last edited by june yu on Thu Mar 10, 2016 4:02 pm, edited 1 time in total.
Chinese Forum : https://www.cgsfusion.com
Optical Flares for DR & Fusion:https://gumroad.com/l/OpticalFlares
Fractal Noise for DR & Fusion: https://gumroad.com/l/FractalNoise
Depth of Field for DR & Fusion: https://gumroad.com/l/CGSDOF
Offline

Mohammad Alkazemi

  • Posts: 23
  • Joined: Sat Aug 01, 2015 5:28 pm

Re: Parenting / linking

PostFri Feb 19, 2016 10:33 pm

june yu wrote:kd bend + ct

Image

Do you mean 3D Bender + Custom Tool?

Could you please elaborate more on this?
Offline
User avatar

michael vorberg

  • Posts: 943
  • Joined: Wed Nov 12, 2014 8:47 pm
  • Location: stuttgart, germany

Re: Parenting / linking

PostSat Feb 20, 2016 8:13 am

Kd stands for the krokodove plugins
Offline
User avatar

David Rutherford

  • Posts: 7
  • Joined: Wed Nov 12, 2014 3:24 am

Re: Parenting / linking

PostFri Mar 11, 2016 2:52 am

both are in the user manual page 438++


The Fusion7_UserManual.pdf that loads up when you press F1 only has 341 pages.
Does anybody know on which page of the pdf the relevant informationfor this information lives?

Thanks
David.

Return to Fusion

Who is online

Users browsing this forum: No registered users and 29 guests