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.


Declaration Zeolite.h
Implementation Zeolite.cpp

Function prototype

bool zmap_GenMipMaps(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.



zeolite/functions/zmap_genmipmaps.txt · Last modified: 2017/08/31 07:11 (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