Increasing Vertical Scale in osgearth viewer

classic Classic list List threaded Threaded
2 messages Options
Vasimali7 Vasimali7
Reply | Threaded
Open this post in threaded view
|

Increasing Vertical Scale in osgearth viewer

In osgearth viewer when we increasing vertical scale above than 1 to earth, some black screen is coming due to some tiles/triangle are culled.Is there any solution to it yet?? Because it had been previously asked by someone.
http://forum.osgearth.org/Half-of-viewport-turns-black-when-applying-vertical-scale-td7585743.html
gwaldron gwaldron
Reply | Threaded
Open this post in threaded view
|

Re: Increasing Vertical Scale in osgearth viewer

Hi,

This occurs because the vertical scaling is happening in a shader, and it happens after OSG has already computed the near clip plane. So the geometry is getting clipped. There's no fix for this except to manually set the near/far planes in your own code.
Glenn Waldron / Pelican Mapping