码迷,mamicode.com
首页 > 其他好文 > 详细

Houdini Study Note (一)

时间:2015-09-04 18:25:25      阅读:211      评论:0      收藏:0      [点我收藏+]

标签:

对应文档为Houdini帮助:Expression cookbook章节

Ripples

To get ripples radiating from a center, base the sine function on the distance of the point to the center of the surface:

Position Y

sin(sqrt(($BBX-0.5)^2+($BBZ-0.5)^2)*1080)

To animate this, add a time-based variable to the expression:

sin(sqrt(($BBX-0.5)^2+($BBZ-0.5)^2)*720+$F*4)

 

Point节点中Position Y : sin(sqrt(($BBX-0.5)^2+($BBZ-0.5)^2)*1080-$F*4)*0.4

技术分享

 

 

Logarithmic Spiral

This creates a logarithmic spiral, reminiscent of nautilus shells.

Position X

cos ($PT * 2) * $PT / 200 - 0.2

Position Y

sin ($PT * 2) * $PT / 200 + 0.2

技术分享

 

 

Houdini Study Note (一)

标签:

原文地址:http://www.cnblogs.com/peng-vfx/p/4782024.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!