[osg-users] [3rdparty] Use PNG as texture for terrain in osgEarth

Chris Hanson xenon at alphapixel.com
Mon Jan 7 12:25:35 PST 2019


Can you show your exact code and the .earth XML file?

It sounds to me like it failed to open/load the XML file. Is it a file
path/permisssions issue?

On Mon, Jan 7, 2019 at 6:13 PM Rodrigo Dias <rodrigo1406 at gmail.com> wrote:

> Hi,
>
> Following this example (
> http://docs.osgearth.org/en/latest/developer/maps.html#programmatic-map-creation),
> I'm trying to use a PNG instead of a link (like the example uses a TIFF for
> elevation). However, I got the following error:
>
>
> > [osgEarth]* Error in XML document: Error document empty. (row 0, col 0)
> > [osgEarth]* [TMS] Could not find root TileMap element
> >
>
>
> What should I do instead?
>
> Thank you!
>
> Cheers,
> Rodrigo
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=75402#75402
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>


-- 
Chris 'Xenon' Hanson, omo sanza lettere. Xenon at AlphaPixel.com
http://www.alphapixel.com/
Training • Consulting • Contracting
3D • Scene Graphs (Open Scene Graph/OSG) • OpenGL 2 • OpenGL 3 • OpenGL 4 •
GLSL • OpenGL ES 1 • OpenGL ES 2 • OpenCL
Legal/IP • Forensics • Imaging • UAVs • GIS • GPS •
osgEarth • Terrain • Telemetry • Cryptography • LIDAR • Embedded • Mobile •
iPhone/iPad/iOS • Android
@alphapixel <https://twitter.com/alphapixel> facebook.com/alphapixel (775)
623-PIXL [7495]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20190107/9d575dd8/attachment.html>


More information about the osg-users mailing list