3D Parenting

From Derivative
Jump to: navigation, search

Summary[edit]

The Object Component types (Geometry, Camera, Light, Null...) can be placed in a 3D "hierarchy" using the top and bottom connectors of the nodes in a network. The 3D hierarchy affects what you see in the Render TOP and in any of the 3D component type viewers.

Below geo1 and geo2 are both a "child" of null1.

3Dparenting.jpg

When you connect one Component to another via their top and bottom connectors, you create a "parenting" or "hierarchical" relationship. Moving a parent through its Transform page will move its children with it.

Each Component can have only one parent.

Parenting is also done by putting an Object COMP type inside another Object COMP. This is the same as if you had wired them using the top/bottom connectors. If a COMP is wired to another COMP through it's top connector, than that COMP is it's transform parent. If it isn't wired to anything through it's top connector, the the COMP it is located within is it's transform parent.

If, for example, you wanted to include as part of your scene the perspective on the world as seen from a particular Component, you could link the output of a Geometry Component to the input of a Camera Component. Defining a parenting relationship in this way means that any transformations you make to the geometry will include the camera as well.

Matrix Math[edit]

Using the vector on the right convention (column vectors), the transform of a parent is applied to the child's transform like this:

 parentXForm * xform

See also: Geometry COMP, Camera COMP, Light COMP

The component types that are used to render 3D scenes: Geometry Component contain the 3D shapes to render, plus Camera, Light, Ambient Light, Null, Bone, Handle and other component types.

An Operator Family that contains its own Network inside. There are twelve 3D Object Component and eight 2D Panel Component types. See also Network Path.

The 3D data held in SOPs and passed for rendering by the Geometry COMP.

An Operator Family that creates, composites and modifies images, and reads/writes images and movies to/from files and the network. TOPs run on the graphics card's GPU.

An Operator Family that contains its own Network inside. There are twelve 3D Object Component and eight 2D Panel Component types. See also Network Path.