Why Line Floats with GPU clamping-technique under model style in osgEarth

classic Classic list List threaded Threaded
1 message Options
LokeshViz LokeshViz
Reply | Threaded
Open this post in threaded view
|

Why Line Floats with GPU clamping-technique under model style in osgEarth

Hello,

I am working with shape(lines) files in my application built on top of osgEarth. Whenever I enable:-

<styles>
       <style type="text/css">
           default {
                        ..........

                        altitude-clamping:   terrain;
                        altitude-technique:  gpu;
                     
                        ...........
        }
<styles>

I observe a well terrain aligned shape file lines, but the problem is that they float when I rotate or navigate through the scene.

You can watch this lines floating issue here :-
 
https://www.youtube.com/watch?v=LQ6WhDbe0og&feature=youtu.be

My Question:-

Am I just missing some additional style parameter or this is a known osgEarth bug?

Here is the complete .earth file : shape_file.earth.