Hello Stephane,

Stephane Routelous wrote:
> Hi,
> 
> I implemented a selection mecanism based on OSG::IntersectAction where I 
> change the material switch choice of a node if this node is hit.
> The problem is that I have problem selecting small objects, the bigger 
> objects on the back of the small ones seems to have a "higher" selection 
> priority.

hm, this is a bit strange, because AFAIK the IntersectAction does not do 
anything like this.

> Is there a way to define is bigger invisible "picking box" around my small 
> objects to be able to select them easier ? 

You could increase the size of the bounding volume and then make it 
static to prevent it from changing in case the scene graph below it changes.

        Hope it helps,
                Carsten

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to