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

view & multiply effect :-(

 [1/7] from: max::quazart::com at: 20-Nov-2001 16:51


fellow rebolers, why is it that everytime I try to use the multiply effect in view it just doesn't work! don't tell me there is a script called effect-lab which proves it works... yes this script proves to me that I COULD eventually MAKE it work... which just seems to rub in the fact that I can't get it work... I've copied the 'supposed effect and it just doesn't work.... can anyone give me any pointers? please tell me what's wrong with: rebol [] myLoadedImage: load %/path/to/image.png f: make face [size: 300x300 offset: 30x30 ] s: make face [ size: 100x100 offset: 100x100 color: red image: anImage edge: make edge [size: 3x3 effect: 'bevel color 128.128.128] effect: [multiply myLoadedImage] ] f/pane: [] append f/pane s view f the sub-pane just gives me a red and black box Thanks in advance for any help! -MAx

 [2/7] from: max:quazart at: 21-Nov-2001 10:39


Hello myself :-) hum... no answers on the view mutliply problem... I guess not a lot of you are doing fancifull view useage.... ah well... was it my tone which might have sounded a tad frustrated? if so, its completely unintentional. :-( really, I'm just disapointed at my inability to handle this simple multiply... just so you understand the context: Being a compositor by trade, I have worked up to discreet inferno in the past (a U.S.$600,000 real-time film compositing software/system) and not being able to multiply an image by another is quite an ego basher ;-) I'm desparately trying to get Multiply to work in the effects block in order to do some compositing for visuals in GLASS. I think I can use multiply to simulate alpha channels in certain circumstances but I need multiply to work correctly before... Thanks :-) -MAx

 [3/7] from: holger:rebol at: 21-Nov-2001 10:46


On Tue, Nov 20, 2001 at 04:51:33PM -0500, Maxim Olivier-Adlhoch wrote:
> > please tell me what's wrong with: > > effect: [multiply myLoadedImage]
Try effect: reduce ['multiply myLoadedImage] -- Holger Kruse [holger--rebol--com]

 [4/7] from: max:quazart at: 21-Nov-2001 14:10


Holger, it works :-) It knew it was going to be simple. Its a question that in rebol, its sometimes xtremely complicated to find that simple thing. There are so many variations possible, that you can miss a few of them. :-) thanks very much.. -Max

 [5/7] from: arolls:idatam:au at: 22-Nov-2001 11:45


I spent quite a few hours trying to simulate alpha channel effect using multiply :) I did not find a way. We could do it if there was some way to add two images using built in effects. But I am not worried now since Holger has implemented alpha channels for the next release. :) Anton.

 [6/7] from: giesse:writeme at: 22-Nov-2001 14:14


Maxim Olivier-Adlhoch wrote:
> no answers on the view mutliply problem... I guess not a lot of you are > doing fancifull view useage.... ah well...
Just two cents: did you try with: effect: REDUCE ['multiply myLoadedImage] (or with COMPOSE etc.). Regards, Gabriele. -- Gabriele Santilli <[giesse--writeme--com]> - Amigan - REBOL programmer Amiga Group Italia sez. L'Aquila -- http://www.amyresource.it/AGI/

 [7/7] from: max:quazart at: 22-Nov-2001 10:34


Hi, Yep, holger replied with the same idea and it works :-) thanks again! -MAx