Hi, I have a region of terrain represented with 5 datasets. One dataset for elevation (a geotiff file) and four datasets of satellite imagery (jp2 files). Each satellite imagery covers a different quarter of the region, covering the full region all together (like a quad-tree structure with elevation al level of detail L and imagery at level of detail L+1).
This is all data I have and I want to visualize this data using osgTerrain library. I can't use this data as it is in a osgTerrain::TerrainTile because I must cover the same terrain region in color and elevation layers associated to the TerrainTile. First question: Is that right or am I missing something? If i don't missing something, in order to use osgTerrain::TerrainTile I need to join the four imagery datasets in one dataset or split the elevation dataset in four datasets. I decided to split the elevation data. So, I made four gdal_translate calls to generate the new four elevation datasets, I created four TerrainTile nodes and associated a pair of elevation-imagery datasets for each TerrainTile (as osg::Heighfield's and osg::Image's) and it's working ok. Second question: is there a way of splitting directly the osg::HeightField instead of splitting the geotiff file? Thank you! Cheers, Leandro ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=66846#66846 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

