Line Of Sight Implementation #2854
-
Screen.Recording.2025-10-24.141515.mp4for the below code the line of sight is working as above, but in that some modifications i have to make, i didn't get the reference for LOS |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Hard to say but I will take a guess. If one or both of your endpoints are on the ground or very close to the ground, small changes in terrain LOD can change the results. You can probably change the line width or stippling using standard OSG state attributes? osg::LineWidth, osg::LineStipple |
Beta Was this translation helpful? Give feedback.
-
|
is there any solution to stop that LOD terrain Changes for Line Width i use below part , if change the width to higher value , it gives the render bin error , and no change in the line width, |
Beta Was this translation helpful? Give feedback.
Hard to say but I will take a guess.
If one or both of your endpoints are on the ground or very close to the ground, small changes in terrain LOD can change the results.
You can probably change the line width or stippling using standard OSG state attributes? osg::LineWidth, osg::LineStipple