Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

Face Transparency?

 [1/6] from: amicom::sonic::net at: 18-Nov-2002 8:51


I recently tried to run a script written for View 1.2.1 in View 1.2.5, but the face transparency no longer works. It used to be that one would only have to set image: none and color: none plus an effect to make a gel transparency effect. Has anyone figured out how to make the transparency work in the beta? A search of eScribe provided no answers. Thanks, Bohdan "Bo" Lechnowsky Lechnowsky Technical Consulting

 [2/6] from: chris:ross-gill at: 18-Nov-2002 11:54


Hi Bo,
> I recently tried to run a script written for View 1.2.1 in View 1.2.5, but > the face transparency no longer works. It used to be that one would only > have to set image: none and color: none plus an effect to make a gel > transparency effect.
You may need to include 'merge in the effect block. - Chris

 [3/6] from: cyphre:seznam:cz at: 18-Nov-2002 17:56


Hi Bo, try to add at the begginning of effect block 'merge for example: make face! [ image: color: none effect: [merge blur ...] ] regards, Cyphre

 [4/6] from: rotenca:telvia:it at: 18-Nov-2002 18:10


Holger words: "Previously the effect pipeline had an undocumented side effect, that if the face was transparent and did not have an image, the effects would not apply to the face, but rather to the background behind the face. This would allow you to create faces that act as filters. Because of the implied transparency caused by alpha channels, this side effect no longer exists, i.e. an effect always applies to the image itself, never to the background. You can still create faces that act as filters, but you need to tell the system about that. The effect keyword for that is "merge". It can appear anywhere in an effect block, but will most commonly appear at the beginning. What "merge" does is merge the image currently in the pipeline with the background behind the face, using alpha-based compositing. The result is then used as the current pipeline image. If there is no current image then just the background itself is used. For instance, if you previously used [colorize 255.0.0] to colorize the background behind a face red you now have to use [merge colorize 255.0.0]." --- Ciao Romano

 [5/6] from: amicom:sonic at: 18-Nov-2002 10:57


Thanks Chris and Cyphre! That did the trick. I vaguely remember reading something about merge a while back, but it totally slipped my mind! -Bo At 11:54 AM 11/18/02 -0500, you wrote:

 [6/6] from: anton:lexicon at: 19-Nov-2002 16:43


Make sure merge is first in the effect block. I made some beta versions of rebol crash if merge was not in first position. Anton.