Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1285907
  • 博文数量: 315
  • 博客积分: 10397
  • 博客等级: 上将
  • 技术积分: 3731
  • 用 户 组: 普通用户
  • 注册时间: 2007-03-07 21:21
文章分类

全部博文(315)

文章存档

2015年(10)

2014年(3)

2013年(2)

2012年(8)

2011年(8)

2010年(29)

2009年(59)

2008年(77)

2007年(119)

分类: 系统运维

2009-07-04 11:38:01

1:聚光灯效果:

 实例:

  • ambientColor - color to apply to all pixels of the image
  • angle - angle at which the spotlight is projected (in degrees)
  • azimuth - angle between the image plane and the spotlight (in degrees)
  • coneAngle - angle of the spotlight's "opening" (in degrees)
  • distance - distance from the spotlight to the center point
  • intensity - intensity of the spotlight
  • position - x, y, z position of the spotlight
  • spotColor - color of the spotlight

源文件:

2:放大镜效果:

 实例:

  • center ([0-2048, 0-2048]) - the center coordinates of the magnified area
  • outerRadius (0-500) - the radius of the magnified part of the image
  • innerRadius (0-500) - the radius of the fully magnified part of the image
  • magnification (1-50) - the amount to magnify the image by (e.g. set to 2 for a 2x magnification)

源文件:

3:缩放模糊效果:

实例:

  • amount (0 - 0.5) - the amount of blur to apply
  • center ([0 - 2048, 0 - 2048]) - the focal point of the blur

源文件:

4:浮雕效果:

实例:

  • amount (0 - 20) - the amount to sharpen the image by
  • radius (0 - 1) - pixel distance to sample from

源文件:

5:水波效果:

实例:

  • amplitude (0-1) - the height of the waves
  • frequency (0-.54) - how close together the waves are.  Higher value = more waves.
  • progress (0-1) - percentage of the wave sequence.  Animate from 0 to 1 to get a smooth wave effect.

源文件:

 

阅读(2283) | 评论(1) | 转发(0) |
给主人留下些什么吧!~~

chinaunix网友2010-03-31 13:49:03

thanks!