查看: 1273|回复: 3
打印 上一主题 下一主题

Plant shader(植物材质)

[复制链接]

3795

主题

2

听众

5万

积分

版主

Rank: 7Rank: 7Rank: 7

纳金币
53202
精华
32

活跃会员 优秀版主 推广达人 突出贡献 荣誉管理 论坛元老

跳转到指定楼层
楼主
发表于 2012-10-29 13:28:52 |只看该作者 |倒序浏览




Based on the Crytek vegetation procedural animation.

基于Crytek植被程序性动画(纳金网提醒:这个下载附件)。





观点:



That's nice. Speedtree has some nice animations too but I think they only work because the vertices have special data which hints how to move.



Is this one a bend along the y axis based on height combined with some high frequency waving based on weights assinged to the leave vertices?







For create animation i use vertex color.

red channel is used for the edge deformation.

green channel for the variation.

blue channel for the per-leaf bending.

I combine three Vertex Color and use it for create animation.



观点二:

That's pretty much the same technique we used for the trees in the moebius house. We don't use a sine wave though, because that makes it too hard to change the wind speed dynamically. (Increased wind speed does not only increase the amplitude, it also increases the wavelength.)



Anuar, how do you export the vertex colors these days? (We are unable to do so with the latest panda X or opencollada export plugins.)



观点三:

IN speedtree they have a low amplitude high frequency constant wave of the wind and then they add random gusts of wind. These are essential high frequency higher amplitude waves wich increase and decrease at random. I think it should be simple to make a function which moves the trees with a fixed wavelength/frequency ratio so the bigger the wind the faster everything moves and then insert a parameter which is either a slowly varying envelope or an operator for extra gusts of wind.



更多3D资讯尽在web3D纳金网http://www.narkii.com/


分享到: QQ好友和群QQ好友和群 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
转播转播0 分享淘帖0 收藏收藏0 支持支持0 反对反对0
回复

使用道具 举报

.    

3797

主题

11

听众

5万

积分

首席设计师

Rank: 8Rank: 8

纳金币
32328
精华
41

活跃会员 优秀版主 荣誉管理 论坛元老

沙发
发表于 2012-11-1 22:27:24 |只看该作者
谢谢楼主的用心分享,顶一个~~!!
回复

使用道具 举报

.    

3797

主题

11

听众

5万

积分

首席设计师

Rank: 8Rank: 8

纳金币
32328
精华
41

活跃会员 优秀版主 荣誉管理 论坛元老

板凳
发表于 2012-11-1 22:27:38 |只看该作者
谢谢楼主的用心分享,顶一个~~!!
回复

使用道具 举报

.    

3797

主题

11

听众

5万

积分

首席设计师

Rank: 8Rank: 8

纳金币
32328
精华
41

活跃会员 优秀版主 荣誉管理 论坛元老

地板
发表于 2012-11-8 21:33:26 |只看该作者
这是一个好帖子,大家快来围观!!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

手机版|纳金网 ( 闽ICP备2021016425号-2/3

GMT+8, 2024-9-20 21:26 , Processed in 0.293413 second(s), 31 queries .

Powered by Discuz!-创意设计 X2.5

© 2008-2019 Narkii Inc.

回顶部