Hi Alex,

Looking at the rest of HeightField code in Destination.cpp I now
believe to do the division properly we need a central function in
Destination that we can pass the extents and get back the number of
rows and columns required.  This can then be used in the
optimizeResolution() method and in the various places where a
HeightField is created as a fallback for when no terrain data is
provided as a source.  Such an approach would ensure continuity
between datasets where some areas have terrain sources, and others
where there is none, through to datasets which have no terrain sources
whatsoever.

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

Reply via email to