Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Shadow or halo effect wanted for single composite node (Read 3652 times)
Rennie
Full Member
***
Offline


I Love MindFusion!

Posts: 108
Location: Copenhagen, Denmark
Joined: Jul 17th, 2012
Shadow or halo effect wanted for single composite node
Jan 20th, 2013 at 5:47pm
Print Post  
I've tried various things but I can't get the shadow effect to work at all. I've even tried downloading the Telephony sample from this thread http://mindfusion.eu/Forum/YaBB.pl?num=1342176733, but it must be for a previous version, as I'm getting 15 compiler errors. Anyway, that is apparently for ShapeNodes, and what I need is for CompositeNode.

What I'd actually like is more of a halo effect, with a colored shadow all around the node, like with the Aero effect. But again, I need it to be for one node only, and it's a composite node.

Hope you have a suggestion, thanks.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Shadow or halo effect wanted for single composite node
Reply #1 - Jan 21st, 2013 at 7:08am
Print Post  
We have implemented support for effects in composite nodes just recently, it will be available in an official release in a couple of weeks:
http://mindfusion.eu/Forum/YaBB.pl?num=1352371257/3#3
  
Back to top
 
IP Logged
 
Rennie
Full Member
***
Offline


I Love MindFusion!

Posts: 108
Location: Copenhagen, Denmark
Joined: Jul 17th, 2012
Re: Shadow or halo effect wanted for single composite node
Reply #2 - Jan 21st, 2013 at 8:29am
Print Post  
OK, sounds good, thanks.
  
Back to top
 
IP Logged
 
Rennie
Full Member
***
Offline


I Love MindFusion!

Posts: 108
Location: Copenhagen, Denmark
Joined: Jul 17th, 2012
Re: Shadow or halo effect wanted for single composite node
Reply #3 - Jan 29th, 2013 at 11:50pm
Print Post  
I've started using the Aero effect to provide a "halo" around my composite node (using 6.0.2 beta) by specifying the shade color as yellow. This is working OK, but I'm wondering if it's possible to make the shading size larger?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Shadow or halo effect wanted for single composite node
Reply #4 - Jan 30th, 2013 at 7:11am
Print Post  
It's not possible at this time, and the shade drawing is also very expensive in processing time so you'll probably not like the performance with larger shades Smiley
  
Back to top
 
IP Logged
 
Rennie
Full Member
***
Offline


I Love MindFusion!

Posts: 108
Location: Copenhagen, Denmark
Joined: Jul 17th, 2012
Re: Shadow or halo effect wanted for single composite node
Reply #5 - Jan 30th, 2013 at 9:50am
Print Post  
Aw, now I'm feeling disappointed.    Cry

How about if I promise that I'll only apply it to one node, and not apply any effects at all to the other nodes?  Roll Eyes
  
Back to top
 
IP Logged
 
Rennie
Full Member
***
Offline


I Love MindFusion!

Posts: 108
Location: Copenhagen, Denmark
Joined: Jul 17th, 2012
Re: Shadow or halo effect wanted for single composite node
Reply #6 - Jan 30th, 2013 at 10:30am
Print Post  
Maybe I shouldn't be using the Aero effect at all. I just want to mark one node with some kind of yellowish frame around it, to show that it is selected in a special way.

Maybe I should have an extra outer shape that is hidden or transparent for all nodes except for the one I want to mark, and use a yellow brush for it for the one node I want to mark. Does that sound like a better way of doing what I want to do?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Shadow or halo effect wanted for single composite node
Reply #7 - Jan 30th, 2013 at 2:21pm
Print Post  
We'll have it in mind for next release Smiley A way to draw the frame around the special node is to change its Pen to a thicker one, possibly using the Pen(Brush) constructor with a translucent gradient brush. There are other methods, such as drawing using the GDI+ API from DrawBackground or DrawForeground event handler.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint