纳金网

标题: Plant shader(植物材质) [打印本页]

作者: 驰骋的风    时间: 2012-10-29 13:28
标题: Plant shader(植物材质)




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/



作者: .    时间: 2012-11-1 22:27
谢谢楼主的用心分享,顶一个~~!!
作者: .    时间: 2012-11-1 22:27
谢谢楼主的用心分享,顶一个~~!!
作者: .    时间: 2012-11-8 21:33
这是一个好帖子,大家快来围观!!





欢迎光临 纳金网 (http://rs.narkii.com/club/) Powered by Discuz! X2.5