Page 1 of 1

blackedout blends on mobile? [solved]

Posted: Sun Jul 07, 2013 6:40 pm
by SteveTX
I am attempting to fade a transparent field of white text. My script fires off messages to the card to incrementally increase the transparency blend from 0 to 100. On desktop/IDE this works fine. On mobile the entire field immediately becomes opaque and black. Are blends not designed to work on mobile? Is there something wrong with this?

Code: Select all

command fadeText theField
   put 2000 into effectTime
   put 20 into effectSteps
   set the blendLevel of field theField to 0
   set the ink of field theField to "blendClear"
   repeat with i = 1 to effectSteps
      put the round of (i * (100 / effectSteps)) into theFade
      send "fadeIt theField, theFade" to this card in ((effectTime/effectSteps) * i) milliseconds
   end repeat
end fadeText

command fadeIt theField theFade
   debugIt (" effect fadeIt acting upon field " & theField & tab & " with blendlevel " & theFade)
   set the blendLevel of field theField to theFade
end fadeIt

Re: blackedout blends on mobile?

Posted: Sun Jul 07, 2013 7:06 pm
by SteveTX
More info. I can nearly duplicate the issue on desktop by setting the compositorType to "software". On desktop the text in the field doesn't show at all, the field is fully opaque black and simply blends away.

Re: blackedout blends on mobile?

Posted: Sun Jul 07, 2013 7:37 pm
by SteveTX
Solved mostly. Selected wrong ink. Should have been blendSrcOver.