Hi all,

after recently updating OSG from svn, we're experiencing a proble with
intersectAction (possibly) at windows:

we have a custom node which holds its own geometry. We've created our own
intersect method.. We run over all triangles performing the above:

...
... access the intersecting line from intersect action
...

... access the quad i and its vertices....
...

if( ia->getLine().intersect( p1, p2, p3, t, &norm ) ||

ia->getLine().intersect( p2, p3, p4, t, &norm ) )

{

ia->setHit( t, ia->getActNode(), i, norm, -1 );

}

...


where p1, p2, p3, p4 are vertices of a quad made of two triangles (p1,p2,p3
and p2, p3 ,p4).


-1 is passed at line index, since we're not interested in line picking....


But when trying to pick, only the right part of the geometry is picked, but
picking at the left side has no effect.. If we rotate the object, the exact
opposite occurs..


The strange thing is that the problem does not occurs under linux...


any clue?


Thanks...


Pablo
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to