HI All
 
I posting this for one of my folks who's is having some erratic results
when using a long vertical line segment and the standard
osgUtil::LineSegmentIntersector
 
Basically when he sets a line segment up with  end X,Y, 1000000 and
start X,Y, -1000000 , occasionally we fail to get a hit even though we
are in the middle of the terrain skin, although moving the X,Y several
meters in any direction and we get a hit.
 
If we reduce the Z of the line segment to 500k and -500k this happens
less errant fails, 
 
if we reduce the Z's to 1k, -1k then we never get a fail, 
 
further when we are failing with the intersections if the camera is
further away from the intersection the less fails we get, the more we
move closer to  the intersection point the more fails we get.
 
Our Near and Far clip are fixed, 1 to 10-20k , the terrain skin is
stanard OSG geometry, nothing fancy, some lods, but the level and which
lod is showing does not seem to be the issue
 
I'm at at a loss to why this may be happening, we are not doing anything
out the oridnary in this case that I can think that would cause this
erratic behaviour ,
 
 any one seen anything like this  before ? 
 
 
thanks
 
 

Gordon
Product Manager 3d
__________________________________________________________
Gordon Tomlinson
Email  : gtomlinson @ overwatch.textron.com
__________________________________________________________
(C): (+1) 571-265-2612
(W): (+1) 703-437-7651

"Self defence is not a function of learning tricks 
but is a function of how quickly and intensely one 
can arouse one's instinct for survival" 
- Master Tambo Tetsura

 
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to