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

Rodrigo Dias rodrigo1406 at gmail.com
Tue Jan 8 04:16:21 PST 2019


> If you feed the TIFF LWZ coder the same 4-bit data as the PNG is made form, I would think it would code about as efficiently, even if the data is stored in an 8-bit representation.


I used QGIS to convert from PNG to TIFF. The image only has 16 colors, so maybe it's QGIS fault. Later I may try to convert it to a smaller bit depth to save space (considering I want to use one map for each country in the world, that'll make some difference). But that's not a priority now.


> What is the bit depth of the TIFF?


8 bits as well.


> Have you told osgEarth how to scale the elevation from the TIFF file into real world units?


It seems that's exactly what I need, but I don't know how to do it.

Thank you!

Cheers,
Rodrigo

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=75427#75427







More information about the osg-users mailing list