Unit a3dge.Heightmap

Uses
Functions and Procedures
Types
Constants
Variables

Description

Defines a heightmap system.

A heightmap object is yet created by the TWorld3D object so you don't need to create it by yourself.

Current version of A3DGE allows to use heightmaps that goes from 0 (zero) to 255.

Heightmap are generated by passing two bitmaps to the THeightmap.SetData method.

Keep an eye on the memory usage because the whole heigthmap will be loaded in memory all the time. Since it supports heights 0 to 255 it uses Byte values. So it's easy to know how many memory it needs. For example, a heightmap of 512x512 will need 512 * 512 / 1024 = 256KiB or 0.25MiB. A heightmap of 1024x1024 will need 1Mib and so one.

Overview

Classes, Interfaces, Objects and Records

Name Description
Class EHeightmapError Exception used by this unit.
Class THeightmap Contains and manages the heightmap.

Generated by PasDoc 0.15.0. Generated on 2025-07-31 11:41:01.