osgearth icon indicating copy to clipboard operation
osgearth copied to clipboard

Graticule does not work in 2D

Open jepessen opened this issue 4 years ago • 3 comments

Graticule at the moment works only in geocentric mode, not in projected mode. I'm seeing that it's a TODO in the documentation of osgEarth::Util::Graticule class, but I'd like to know if anyone is working on it, or what I can do in order to implement this feature, because we need it. What's the reason for which is working only in geocentric mode?

jepessen avatar Feb 04 '20 09:02 jepessen

No one's working on it afaik. Feel free to dive in and give it a whirl!

gwaldron avatar Feb 04 '20 11:02 gwaldron

I'm trying. I've forked the project. It builds by using Visual Studio and vcpkg, but when I start, for example, osgearth_tocd.exe I obtain the following error:

The procedure entry point ?White@color@osgEarth@@2U12@A could not be located in the dynamic library build/path/osgdb_osgearth_engine_rexd.dll

I've checked a bit, and it seems that the symbol is defined in osgearth\src\osgEarth\Color, and osgEarthd.dll is in the same working folder, so I don't know why I'm obtaining this error.

Any suggestion?

jepessen avatar Feb 05 '20 11:02 jepessen

This sort of thing is almost certainly a bad build or an old DLL in your path.

gwaldron avatar Feb 06 '20 03:02 gwaldron