Hi Tom,

Thanks for catching that ! You're right that there are no interesctions. But my 
surface is not a NULL and my x, y coordinates are also valid numbers as I check 
with console output statements.

I found the reason for this behavior. I was using a stream of coordinates data 
and these ccordinates are not always over the terrain surface I was using. And 
in those cases that the coordinates were "off" my surface, I just gave a 
default value if 0 to elev and in cases where the coordinates lie over my 
surface, the intersector finds intersections and places the model correctly 
over my terrain surface.

Thanks for the tips...

Regards,

Sanat.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=30216#30216





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

Reply via email to