Hi!

I created a dataset with osgdem, where the whole earth is covered by textures, 
but height values are only given for one country.

One half of the whole earth was looking very "polygonal", while the other half 
- where the height values are given - was looking round. This happened on level 
1, while level 0 was looking round on both sides. Deeper levels were also 
looking good again.

I found the reason to reside in the method 
DestinationTile::optimizeResolution(), which computed the value 8 for 
numColumns and numRows for tile L1_X0_Y0, while L1_X1_Y0 is generated with 32 x 
32 colums and rows.

The method did not take the angular extends into account for computing the 
numbers of colums and rows.

Please find the attached fix.

--Alex

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




Attachments: 
http://forum.openscenegraph.org//files/destination_909.zip


_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to