CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

bumpmap.h File Reference

More...

#include "cstypes.h"

Go to the source code of this file.

Compounds

class  csBumpMap
 A class representing a bumpmap. More...


Bumpmap formats

The different hardware and software renderers may require the bumpmap to be in a different format.

They should all be convertible from the height-map data.

#define CS_BUMPFMT_HEIGHT_8   0x01
 The height of each bump is stored in 8 bits. 255 = high, 0 = low. More...

#define CS_BUMPFMT_SLOPE_44   0x02
 (For software renderer) The slope in x and y are stored in the first 4 and last 4 bits of each byte. More...


Detailed Description

Definition in file bumpmap.h.


Define Documentation

#define CS_BUMPFMT_HEIGHT_8   0x01
 

The height of each bump is stored in 8 bits. 255 = high, 0 = low.

Definition at line 35 of file bumpmap.h.

#define CS_BUMPFMT_SLOPE_44   0x02
 

(For software renderer) The slope in x and y are stored in the first 4 and last 4 bits of each byte.

Definition at line 40 of file bumpmap.h.


Generated for Crystal Space by doxygen 1.2.14