Hi all, I will time to explain my problem clearly this time :)
I use osg::View::computeIntersections to get the picked node. When a node is picket, i apply a shader effect. The select effect is done by a class SelectEffect wich inherate of osgFX::Effect. To apply the select effect i insert a SelectEffect between the picked node and its parent. Then to remove the effect, i delete the SelectEffect and restor initial parent. The problem is when i call osg::View::computeIntersections, it do not intersect nodes with an select effect applied. If i display the intersected drawable list returned by computeIntersections, before and after have applied the select effect on the node containing the picked drawable, the drawable simply disapear from list. Is there any link between shaders and osg::View::computeIntersections ? I cant get it from source code. Thanks for your attention, Regards, Harold
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

