projected earth

classic Classic list List threaded Threaded
9 messages Options
Johnson prem Johnson prem
Reply | Threaded
Open this post in threaded view
|

projected earth

Hi

I would like to use projected map for displaying satellite images(tif) just like
commercially available or opensource 2D image displaying software/utilities.
Some testing also done with osgearth. It's fine to me. But want to know is there any difference
in terms of quality? I know well that osgearth is meant for high performance 3D visualization and I have been using as well. But kindly clarify me to use it for 2D applications.

Thanks
Johnson prem Johnson prem
Reply | Threaded
Open this post in threaded view
|

Re: projected earth

Is texture compression enabled by default for rendering imagelayer?
How to disable it?
gwaldron gwaldron
Reply | Threaded
Open this post in threaded view
|

Re: projected earth

Texture compression is off by default.
Glenn Waldron / Pelican Mapping
gwaldron gwaldron
Reply | Threaded
Open this post in threaded view
|

Re: projected earth

In reply to this post by Johnson prem
You can use osgEarth for 2D projected maps. There are several examples in the tests folder or the repository, including "openstreetmap_flat.earth".
Glenn Waldron / Pelican Mapping
Johnson prem Johnson prem
Reply | Threaded
Open this post in threaded view
|

Re: projected earth

On the projected map, I display only a small scene and tried to disable the visibility of background map.
Though, I get white background layer. SetNodeMask(0) to mapnode disables completely including my scene. How to disable the visibility of background(base layer)?
Johnson prem Johnson prem
Reply | Threaded
Open this post in threaded view
|

Re: projected earth

This post was updated on .
I built osgearth-2.10.1 on osg-3.4.2 and included GLCORE while building to support GL3.
At the end of build, with osgearth_version --caps, it shows "core profile = off".
On running earth file, the command prompt shows
"Non-GL3 compatibility version...".
I am not sure why GL3 was not included.???
And, my rendering has slowed as well. Had GL3 absence effect on performance?

gwaldron gwaldron
Reply | Threaded
Open this post in threaded view
|

Re: projected earth

You should really use OSG 3.6.3+ if you want GLCORE support.

Here are some instructions on building it properly:
https://gist.github.com/gwaldron/a56b0e77e7fa8587b698717d21f9366d
Glenn Waldron / Pelican Mapping
Johnson prem Johnson prem
Reply | Threaded
Open this post in threaded view
|

Re: projected earth

Thanks gwaldron.

Another observation is that while zooming in osgearth I get smoothed display.
I would like to have pixel wise discrimination in the way other display utilities doing
(depicted in the attachment). How can it be done?

gwaldron gwaldron
Reply | Threaded
Open this post in threaded view
|

Re: projected earth

You can change the image layer magnification filtering to nearest-neighbor like so:

<mag_filter>NEAREST</mag_filter>

Hope this helps.
Glenn Waldron / Pelican Mapping