BumpMap Example for C++ 5.0 and later
ILEADRaster* m_pTmpRaster= NULL;
CoCreateInstance(CLSID_LEADRaster, NULL, CLSCTX_ALL, IID_ILEADRaster, (void**)&m_pTmpRaster);
ILEADRasterIO* m_pRasterIO= NULL;
CoCreateInstance(CLSID_LEADRasterIO, NULL, CLSCTX_ALL, IID_ILEADRasterIO, (void**)&m_pRasterIO);
ILEADRasterProcess* m_pRasterProc= NULL;
CoCreateInstance(CLSID_LEADRasterProcess, NULL, CLSCTX_ALL, IID_ILEADRasterProcess, (void**)&m_pRasterProc);
m_pRasterIO->Load (m_pTmpRaster, "c:\1.jpg", 0, 0, 1);
m_pRasterProc->BumpMap (m_LeadRasterView.GetRaster (), m_pTmpRaster, 5,
0,
3,
0,
0,
0,
0,
true,
50,
0);
m_pTmpRaster->Release();
m_pRasterIO->Release();
m_pRasterProc->Release();