<div dir="ltr">Hi.<div>I'm implementing node picking.</div><div><br></div><div>As I understood, the usual approach is:</div><div>1) go through all nodes and set their node masks to some custom value like 0x1</div><div>2) set pickable/selectable node masks to some custom value like 0x2</div><div>3) set osgUtil::IntersectionVisitor's traversal mask to 0x2</div><div>4) IntersectionVisitor visits only those nodes that have 0x2 mask</div><div><br></div><div>I think the following approach is easier:</div><div>1) set pickable/selectable node masks to some custom value like current_node_mask MINUS 0x2</div><div>2) set IntersectionVisitor's traversal mask to default_node_mask MINUS 0x2</div><div>3) IntersectionVisitor visits only those nodes that have 0x2 mask EXCLUDED</div><div><br></div><div>Am I correct with my assumption? Can OSG do that? Or why doesn't it do that?</div><div>Thanks.</div></div>