BUMPDATA

typedef struct tagBUMPDATA 
{ 
   L_UINT uStructSize; 
   L_INT nAzimuth; 
   L_UINT uElevation; 
   L_UINT uDepth; 
   L_INT nXOffset; 
   L_INT nYOffset; 
   L_INT nXDst; 
   L_INT nYDst; 
   L_BOOL bTile; 
   L_INT nBright; 
   L_INT nIntensity; 
   L_UINT *pLut; 
} BUMPDATA, *pBUMPDATA; 

The BUMPDATA structure contains information about the bump map parameter.

Members

uStructSize

Size of this structure, in bytes. Use the sizeof operator to calculate this value.

nAzimuth

The Azimuth describes the light source's angular position in the horizontal plane. The valid range is between −360 to 360.

uElevation

The elevation describes the light source's angular position in the vertical plane. The valid range is between 0 to 180.

uDepth

The apparent depth of this three-dimensional effect. Valid values are 0 to 1000, with 500 as normal.

nXOffset

The X coordinate of the origin of the Bump rectangle.

nYOffset

The Y coordinate of the origin of the Bump rectangle.

nXDst

The X coordinate of the origin of the destination rectangle.

nYDst

The Y coordinate of the origin of the destination rectangle.

bTile

Boolean flag that indicates whether to use tiling. Possible values are:

Value Meaning
TRUE Use tiling.
FALSE Do not to use tiling.

nBright

Amount to change the intensity. The intensity ranges from -1000 to 1000. A positive value increases (or lightens) the brightness of the resulting image. A negative value decreases (or darkens) the brightness of the resulting image.

nIntensity

Amount to change the intensity. The intensity ranges from -1000 to 1000. A positive value increases (or lightens) the brightness of the destination image. A negative value decreases (or darkens) the brightness of the destination image.

pLut

Table of 256 integers containing lookup values that re-map bump bitmap data.

Comments

If the bTile member is set to:

Help Version 21.0.2023.2.15
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.