Page 1 of 1

how to start with 0 alpha?

Posted: Tue Nov 25, 2008 12:16 pm
by chris1234
Hey, i want an object to start with 0 alpha and then graduately increase the alpha. starting with 1 alpha and fade to 0 works but I cant get the other way around to work


this is a script i copy pasted from another post and applied alpha t it

Code: Select all

startshape AB

rule AB
{
AA {alpha 0}
}

rule AA
{
CIRCLE{}
AA{x .8 s .9 alpha +0.05}
} 
this doesn't work

Posted: Tue Nov 25, 2008 12:26 pm
by Traven
hello chris,

this is the right code

Code: Select all

startshape AB

rule AB
{
AA {alpha -1}
}

rule AA
{
CIRCLE{}
AA{x .8 s .9 alpha +0.05}
} 
You have to decrease alpha to 0 for the fisrt shape, a base shape has an alpha of 1.

Posted: Tue Nov 25, 2008 3:09 pm
by chris1234
thanx traven!