Thread: Controling the pan property of overlayed nodes?
Status: Alpha
Brought to you by:
cwalther
|
From: James C. W. <jfc...@ya...> - 2010-11-01 20:43:10
|
Hi all,
I've noticed that if you overlay a slide node with a background that is not fully transparent, onto a cubic node, you cannot drag-pan the view on areas of the overlay that are even slightly opaque. Is there a way around this?
Thanks,
James CW
|
|
From: Christian W. <cwa...@gm...> - 2010-11-14 16:24:02
|
James C. Wilson wrote: > I've noticed that if you overlay a slide node with a background that > is not fully transparent, onto a cubic node, you cannot drag-pan the > view on areas of the overlay that are even slightly opaque. Is there > a way around this? First of all, apologies for the lack of response. When you posted this question, I seemed to remember that the same thing had already been discussed once on this list before, so I wanted to consult that discussion before responding, but couldn't immediately find it, and eventually I just forgot about it. Sorry. I have found it now, it's at <http://thread.gmane.org/gmane.games.devel.pipmak.user/335> and <http://thread.gmane.org/gmane.games.devel.pipmak.devel/120/focus=123> and actually concerns a slightly different problem. As to your question, are you sure that the overlay already blocks panning where "even slightly opaque"? That must be a bug - it's supposed to do it only where more than half opaque. If that is a problem too, then I'm afraid, no, there is no way around it that I'm aware of. Perhaps that could be tackled together with the problem from that other discussion. Can you describe in a bit more detail what your use case is, to give me some idea of why this would be useful? -Christian |
|
From: James C. W. <jfc...@ya...> - 2010-11-14 23:27:23
|
Thanks for getting back to me:) 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. Thanks, James --- On Sun, 11/14/10, Christian Walther <cwa...@gm...> wrote: From: Christian Walther <cwa...@gm...> Subject: Re: Controling the pan property of overlayed nodes? To: "Content creation for the Pipmak Game Engine" <pip...@li...> Date: Sunday, November 14, 2010, 11:16 AM James C. Wilson wrote: > I've noticed that if you overlay a slide node with a background that > is not fully transparent, onto a cubic node, you cannot drag-pan the > view on areas of the overlay that are even slightly opaque. Is there > a way around this? First of all, apologies for the lack of response. When you posted this question, I seemed to remember that the same thing had already been discussed once on this list before, so I wanted to consult that discussion before responding, but couldn't immediately find it, and eventually I just forgot about it. Sorry. I have found it now, it's at <http://thread.gmane.org/gmane.games.devel.pipmak.user/335> and <http://thread.gmane.org/gmane.games.devel.pipmak.devel/120/focus=123> and actually concerns a slightly different problem. As to your question, are you sure that the overlay already blocks panning where "even slightly opaque"? That must be a bug - it's supposed to do it only where more than half opaque. If that is a problem too, then I'm afraid, no, there is no way around it that I'm aware of. Perhaps that could be tackled together with the problem from that other discussion. Can you describe in a bit more detail what your use case is, to give me some idea of why this would be useful? -Christian ------------------------------------------------------------------------------ Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev _______________________________________________ Pipmak-Users mailing list Pip...@li... news://news.gmane.org/gmane.games.devel.pipmak.user https://lists.sourceforge.net/lists/listinfo/pipmak-users |
|
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 |
|
From: James C. W. <jfc...@ya...> - 2010-11-16 22:15:07
|
>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. That's probably the simplist solution. Could you remind me where the feature request tracker is so I can add it? I also seem to remember being confused by the trackers interface, so if you could please let me know how to add a feature, I would be gratefull:) For now, I'll see if I can paint the smudges and stuff at slightly less then half opactity. And if that's not sufficient, I'll stack nodes like you suggested. Thanks, James --- On Tue, 11/16/10, Christian Walther <cwa...@gm...> wrote: From: Christian Walther <cwa...@gm...> Subject: Re: Controling the pan property of overlayed nodes? To: pip...@li... Date: Tuesday, November 16, 2010, 2:30 PM 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 ------------------------------------------------------------------------------ Beautiful is writing same markup. Internet Explorer 9 supports standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. Spend less time writing and rewriting code and more time creating great experiences on the web. Be a part of the beta today http://p.sf.net/sfu/msIE9-sfdev2dev _______________________________________________ Pipmak-Users mailing list Pip...@li... news://news.gmane.org/gmane.games.devel.pipmak.user https://lists.sourceforge.net/lists/listinfo/pipmak-users |
|
From: Christian W. <cwa...@gm...> - 2010-11-17 11:46:50
|
James C. Wilson wrote: > Could you remind me where the feature request tracker is so I can add > it? I also seem to remember being confused by the trackers interface, > so if you could please let me know how to add a feature, I would be > gratefull:) http://sourceforge.net/tracker/?group_id=112801&atid=663295 or start from http://sourceforge.net/projects/pipmak/ and follow the Tracker links. There's an "Add new" link there. The SourceForge trackers do have a bit of a reputation of being confusing - we could also use Mantis or Trac, but so far the trackers have been used so little that I never bothered considering switching. -Christian |
|
From: James C. W. <jfc...@ya...> - 2010-11-14 23:27:23
|
Thanks for getting back to me:) 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. Thanks, James --- On Sun, 11/14/10, Christian Walther <cwa...@gm...> wrote: From: Christian Walther <cwa...@gm...> Subject: Re: Controling the pan property of overlayed nodes? To: "Content creation for the Pipmak Game Engine" <pip...@li...> Date: Sunday, November 14, 2010, 11:16 AM James C. Wilson wrote: > I've noticed that if you overlay a slide node with a background that > is not fully transparent, onto a cubic node, you cannot drag-pan the > view on areas of the overlay that are even slightly opaque. Is there > a way around this? First of all, apologies for the lack of response. When you posted this question, I seemed to remember that the same thing had already been discussed once on this list before, so I wanted to consult that discussion before responding, but couldn't immediately find it, and eventually I just forgot about it. Sorry. I have found it now, it's at <http://thread.gmane.org/gmane.games.devel.pipmak.user/335> and <http://thread.gmane.org/gmane.games.devel.pipmak.devel/120/focus=123> and actually concerns a slightly different problem. As to your question, are you sure that the overlay already blocks panning where "even slightly opaque"? That must be a bug - it's supposed to do it only where more than half opaque. If that is a problem too, then I'm afraid, no, there is no way around it that I'm aware of. Perhaps that could be tackled together with the problem from that other discussion. Can you describe in a bit more detail what your use case is, to give me some idea of why this would be useful? -Christian ------------------------------------------------------------------------------ Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev _______________________________________________ Pipmak-Users mailing list Pip...@li... news://news.gmane.org/gmane.games.devel.pipmak.user https://lists.sourceforge.net/lists/listinfo/pipmak-users |