L3DT documentation
Large 3D terrain generator



Generate the multi-resolution mipmaps for a given map. These mipmaps are smaller, sub-sampled versions used in level-of-detail algorithms such as texture rendering in Sapphire.

Function prototype

bool CExtAPI::map_GenMipmaps2(ZMAP hMap, long ResStep, long MaxLevel, long TileSize);


Name Type Comment
hMap ZMAP A handle to the map variable for which mipmaps shall be generated.
ResStep long The resolution step factor between successive mipmaps. Must be greater than 1.
MaxLevel long The maximum mipmap level to ge generated. Must be equal to or greater than ResStep.
TileSize long The tile size of the mosaics used to store the mipmaps. 512 is default.

Return value

True if the operation succeeded, and false otherwise.


This function replaces map_GenMipmaps, which is now deprecated.

zeolite/functions/map_genmipmaps2.txt · Last modified: 2017/08/31 05:28 (external edit)
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki