1.How setup Raster Z-Factor(vertical exaggeration factor) when Raster Rendering(Drawing),code seg as follows:
Maybe need add setup z-factor code to here:
File:GdalRaster.cpp
Function:bool GdalRaster::ReadBandDataAsGridCore(colour** ImageData, int xOff, int yOff, int width, int height, int xBuff, int yBuff, bool setRGBToGrey)
Code seg:
if( colortype == Hillshade )
{
float yone = 0, ytwo = 0, ythree = 0;
// Exclude the edges
if (i == 0 || j == 0 || i == yBuff - 1 || j == xBuff - 1)
{
// We are at the edge so write doDataValue and move on
yone = tmp;
ytwo = tmp;
ythree = tmp;
}
else
{
2.How setup GridColorScheme when Raster output to Image,code seg as follows:
Maybe need add setup GridColorScheme code to here:
File:Utils.cpp
Function:STDMETHODIMP CUtils::GenerateHillShade(BSTR bstrGridFilename, BSTR bstrShadeFilename,
float z, float scale, float az, float alt, VARIANT_BOOL* retval)