载入中。。。 'S bLog
 
载入中。。。
 
载入中。。。
载入中。。。
载入中。。。
载入中。。。
载入中。。。
 
填写您的邮件地址,订阅我们的精彩内容:


 
Particle ALPHA 粒子透明度
[ 2007/6/24 21:15:00 | By: 梦翔儿 ]
 

Particle ALPHA 透明度
----------------

The script in this example is:

default {
    state_entry() {    
        llParticleSystem( [
            PSYS_PART_START_ALPHA, 1.0,    
            PSYS_PART_END_ALPHA, 0.0,
           
            PSYS_PART_START_SCALE,< 3.0, 3.0, 0 >,
            PSYS_SRC_BURST_PART_COUNT,3, 
            PSYS_SRC_BURST_RATE,4.0, 
            PSYS_PART_MAX_AGE,3.9,  
            PSYS_SRC_PATTERN,PSYS_SRC_PATTERN_DROP,
           
            PSYS_PART_FLAGS,PSYS_PART_INTERP_COLOR_MASK
        ] );
    }
}

(Ignore the middle section with COUNT, RATE, AGE and PATTERN until later.)

ALPHA:
        maximum:  1.0 (opaque, the default)
        minimum:   0.0 (fully transparent)

Particles in this example start opaque and fade away.
例子中从不透明到消失。

The option to fade particles, is off by default but enabled when
you enable the ability to change particle color.  (See the previous example).

Particles can only fade away, they can't fade "in", unfortunately.
只能消失,不是出现。(这句好象不太对,如果倒过来呢?等一下试一次)
So keep values for START_ALPHA greater than END_ALPHA.  Maybe someday LL will let particles fade in.
所以,保持值,开始比结束值高,估计ll以后会改进成允许fade in


 

 
 
  • 标签:Particle ALPHA second life alpha 
  • 发表评论:
    载入中。。。

     
     
     

    梦翔儿网站 梦飞翔的地方 http://www.dreamflier.net
    中华人民共和国信息产业部TCP/IP系统 备案序号:辽ICP备09000550号

    Powered by Oblog.