What & How & Why

差别

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

到此差别页面的链接

两侧同时换到之前的修订记录前一修订版
后一修订版
前一修订版
vfx:houdini:concepts:geo:geo_attr [2019/08/11 08:23] – [Sizes / Rotations] codingharevfx:houdini:concepts:geo:geo_attr [2021/11/11 08:07] (当前版本) codinghare
行 2: 行 2:
 Houdini 中的几何属性相关知识点。\\ Houdini 中的几何属性相关知识点。\\
  
-===== =====+----
  
 ====属性不是本地变量==== ====属性不是本地变量====
行 52: 行 52:
 \\ \\
 \\ \\
-我们同时还可以使用 ''Attribute Cast'' 节点对属性进行精度的控制(参考 [[vfx:houdini:sop:attribute:attr_cast|Attribute Cast]])。+我们同时还可以使用 ''Attribute Cast'' 节点对属性进行精度的控制(参考 [[vfx:houdini:sop:node:attribute:attr_cast|Attribute Cast]])。
  
 ====Intrinsic attributes==== ====Intrinsic attributes====
行 72: 行 72:
     * Inspect tool     * Inspect tool
 ==使用 Intrinsic attributes == ==使用 Intrinsic attributes ==
- Tools  ^  Usage  ^  +^Tools  ^  Usage  ^  
-  VEX    |  以 <color #900>intrinsic:xxxx</color> 的形式直接读取,no ''@'',use <color #900>primintrinsic()</color> 、<color #900>detailintrinisc()</color>   | +| VEX    |  以 <color #900>intrinsic:xxxx</color> 的形式直接读取,no ''@'',use <color #900>primintrinsic()</color> 、<color #900>detailintrinisc()</color>   | 
- Python  |  <color #900>hou.Geometry.intrinsicNames()</color>、<color #900>intrinsicValue()</color> 、<color #900>.intrinsicValueDict()</color>                | +|Python  |  <color #900>hou.Geometry.intrinsicNames()</color>、<color #900>intrinsicValue()</color> 、<color #900>.intrinsicValueDict()</color>                | 
- Group    <color #900>@ + intrinsic:xxx + //condition// </color>,E.g.: @intrinsic:indexorder<100         |+|Group    <color #900>@ + intrinsic:xxx + //condition// </color>,E.g.: @intrinsic:indexorder<100         |
 ====不同精度的存储==== ====不同精度的存储====
 存储属性有高精度 / 低精度 两种方式存储。 存储属性有高精度 / 低精度 两种方式存储。
行 101: 行 101:
 |<color #900>width</color>  |float    Open curve width  |   Rendering  |  PTA,调整渲染时曲线的宽度(世界坐标系下)  | |<color #900>width</color>  |float    Open curve width  |   Rendering  |  PTA,调整渲染时曲线的宽度(世界坐标系下)  |
 |<color #900>lod</color>  |float    Level of detail  |  Instanting  |  PRA, DA   | |<color #900>lod</color>  |float    Level of detail  |  Instanting  |  PRA, DA   |
-|<color #900>spritescale</color>  |vector  |  sprint scaling factor  |  sprint image  |  PTA,  Default(1,1,1)  |+|<color #900>spritescale</color>|vector  |  sprint scaling factor  |  sprint image  |  PTA,  Default(1,1,1)  |
 |<color #900>spriterot</color>  |float  |  sprite rotation factor  |  sprint image  |  PTA, Default 0  | |<color #900>spriterot</color>  |float  |  sprite rotation factor  |  sprint image  |  PTA, Default 0  |