Re: [osg-users] [forum] Problem when nesting osgFX::Outline effects

2012-10-30 Thread celandre dzimiwine
Hi,

Thanks for your reply. I have two use cases:

1) In my application, I am using outline fx to render red outlines around 
selected objects. I am also using outline fx to render dark edges around some 
basic geometries (like CAD application, SolidWorks) for a better look. For 
example:
   -  Sphere = outline
   - Cylinder = outline + 2 circles (bottom and top).
   - Capsule = outline + 2 circles (bottom and top).

2) 

In the same application, I am also using outline fx when I mouse hover a node. 
The problem occurs when one of the hovered node's ancestors or descendants is 
also outlined (selected or in Edges Rendered mode).

Could you, please, explain me your idea a bit further, Maybe you could use 
nodemasks to ensure the child is not drawn with the FX when the parent is 
active?? 



Thank you!

Regards,
celandre

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=50696#50696





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] [forum] Problem when nesting osgFX::Outline effects

2012-10-19 Thread celandre dzimiwine
Hi,

I am trying to add an osgFX::Outline effect (as grand child) to another 
osgFx::Outline effect to have an outlined node of which child is also outlined. 
But I am getting a weird result: The child is displayed in fill mode and line 
mode (wireframe over fill mode rendering). I kinda understand what the problem 
is but I don't have a solution to that. Do you know if there is any solution to 
this bug?

Thank you!

Cheers,
celandre

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=50615#50615





___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org