Maya+Poly2Volume制作融化效果
2012-07-09 14:18
162 查看
使用Maya的SDF——Poly2Volume和nParticle制作的融化效果。
视频 http://v.youku.com/v_show/id_XNDI1MzcwMTM2.html
主要的粒子表达式:
// runtime if(nParticleShape1.isDyn<0.5){ vector $pos = nParticleShape1.position; int $index[3] = `fluidVoxelInfo -voxel ($pos.x) ($pos.y) ($pos.z) fluid1`; float $density[] = `getFluidAttr -at density -xi $index[0] -yi $index[1] -zi $index[2] fluid1`; if($density[0]>CTRL.threshold){ nParticleShape1.isDyn = 1.; } } if(nParticleShape1.isDyn<0.5){ nParticleShape1.velocity = 0; nParticleShape1.position = nParticleShape1.position0; }
相关文章推荐
- swift:制作一个简单的tableheaderview+_navigationbar渐变效果
- Vegas如何制作相机模糊对焦效果?
- SVG初步了解,制作圆圈进度效果
- 制作滑动条菜单,如何延时处理滑动效果,避免动画卡顿
- Unity3D 制作“神庙逃亡”吃金币后金币飞出屏幕效果
- 详解用CSS3制作圆形滚动进度条动画效果
- CSS制作的垂直导航菜单效果
- web前端小案例-纯css制作水滴效果
- 制作翻转效果动画
- 微信小程序之swiper制作tab切换效果
- Cocos2d-X 雪花效果制作
- 使用js制作一般网站首页图片轮播效果
- C#.NET 使用windowsAPI 制作出窗口淡入淡出特殊效果
- Unity3D-技能CD效果制作
- [原型设计]Axure 8最简单方式制作页面加载进度条百分比效果
- 案例11——用遮障制作聚光灯效果及冷却动画
- Android实现 制作隐藏图片效果 "幻影坦克"
- 见过这样的用CSS3制作的3D立体效果文字吗?
- 用CSS3的box-reflect来制作倒影效果
- ppt文字磨砂玻璃效果制作教程