Re: Controling the pan property of overlayed nodes?
Status: Alpha
Brought to you by:
cwalther
|
From: Christian W. <cwa...@gm...> - 2010-11-16 19:30:37
|
James C. Wilson wrote: > I'm trying to make a binocular overlay, much like the telescope in the > pipmak demo, only the lenses are made to look smudged and cracked-that's > what's causing the problem. > There are other possible uses-a simple flashlight, for example. OK, I see. I think this could be handled by adding a "click-through" property to nodes that would allow you to make the background completely transparent to the mouse - you could still make some areas react to the mouse by covering them with a hotspot. Or perhaps, more generally, a threshold above which alpha value the background should become opaque to the mouse - setting that to 1.0 (currently hardcoded at 0.5) would achieve the same thing. How far above half opaque do you need to go? It occurs to me that, as a workaround, you could approximate the effect by stacking several almost-half-opaque overlays. -Christian |