TouchDesigner常用表达

1.常用python语句表达,已有前辈整理出来,可点击以下链接
https://blog.csdn.net/qq_29859497/article/details/88364973
2.缩写的表达式代表的意义
$TX, $TY, $TZ - The point position

$PT - The point number.

$NPT - The total number of points.

$CEX, $CEY, $CEZ - The centroid of the SOP.

$TX, $TY, $TZ - The point position.

$BBX, $BBY, $BBZ - The relative position of the point with respect to the bounding box. These variables will always be within 0 to 1.

$NX, $NY, $NZ - The normal of the point.

$MAPU, $MAPV, $MAPW - The texture coordinates of the point.

$CR, $CG, $CB - Red, green and blue color of the point.

$CA - The alpha value for the point.

$UPX, $UPY, $UPZ - The values of the up vector attribute for the first source.

$UPX2, $UPY2, $UPZ2 - The values of the up vector attribute for the second source.
Particle Specific Variables

$PSCALE - The multiplier for the scale of the particles.

$AGE - The number of seconds a particle has been alive.

$MASS - The mass of the point.

$DRAG - The drag coefficient for the point.

$LIFE - Percentage of life used for a point/particle.

$DIST - Distance of the point to an intersected surface. This attribute is created by the Ray SOP.

$VX , $VY, $VZ - Velocity of the point.

$ID - The particle ID associated with the point. This variable is only defined if the point is associated with a particle system that has the particle ID attribute enabled.

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值