What & How & Why

差别

这里会显示出您选择的修订版和当前版本之间的差别。

到此差别页面的链接

两侧同时换到之前的修订记录前一修订版
后一修订版
前一修订版
vfx:houdini:concepts:basics:working_with_objects [2019/04/11 13:03] codingharevfx:houdini:concepts:basics:working_with_objects [2021/11/11 08:08] (当前版本) codinghare
行 1: 行 1:
 ======Working with objects====== ======Working with objects======
 **<color #7092be>Objects 处于 Houdini 中最顶级,使用世界坐标系。</color>** **<color #7092be>Objects 处于 Houdini 中最顶级,使用世界坐标系。</color>**
-===== =====+---- 
 +\\ 
 +一些常识: 
 +  * Objects 的变换会影响其内部所有 surface 元素的变换。 
 +  * Surface 中的变换更加精确,但速度也更慢。
 ====Parenting==== ====Parenting====
-//Parenting// 指将 child object 的变换信息与 parent object “关联” 起来,也就是 child 的变换信息是相对的。+  * //Parenting// 指将 child object 的变换信息与 parent object “关联” 起来,换句话说,child **继承了** parent 的变换信息。 
 +  * 除了变换信息之外,某些信息也会被继承,比如 motion blur 等渲染的属性。 
 +  * 一个 child 只能有一个 parent,但可以混合(blend)的 parent 进行继承。 
 +===Parenting 的两个重要选项=== 
 +<WRAP center round tip 100%> 
 +Geometry 节点中的很多操作都有先后顺序的。比如在 Parenting 之前要先使用  Keep position when parenting 保存位置。 
 +</WRAP> 
 + 
 +  * **Keep position when parenting**:这个选项可以在 parenting 的时候保存 child 当前的位置,要在连接前使用。 
 +  * **Child compensation**:这个选项可以让 child 不受 parent 变换的影响。需要在 parent 里面先点上再对 parent 进行变换 
 ====Pre-Transform==== ====Pre-Transform====
 //Pre-Transform// 用于存储 child 在 local space 中的变换,包括位置、缩放、旋转的信息。在 Houdini 中,一个 Object 会包含两个变换信息(world space / local space)来描述自己在指定空间中的变换。如果牵涉到 Parenting,Houdini 会利用 //Pre-Transform// 对 local / object space 中的变换信息进行读写,方便在不同情境下使用。 //Pre-Transform// 用于存储 child 在 local space 中的变换,包括位置、缩放、旋转的信息。在 Houdini 中,一个 Object 会包含两个变换信息(world space / local space)来描述自己在指定空间中的变换。如果牵涉到 Parenting,Houdini 会利用 //Pre-Transform// 对 local / object space 中的变换信息进行读写,方便在不同情境下使用。