The Adjustment of Texture Mapping based on Image-Entropy

Xiqing Zhao, Wenying Zhang, Peng Sun, Lijun WangProceedings of the 2nd International Conference On Systems Engineering and Modeling 2013

Abstract

Rendering massive terrain datasets in real-time requires sophisticated texture management to maintain high performance and visual fidelity. This paper presents a novel approach to texture mapping that utilizes a QuadTree index structure combined with macro-block matching and image entropy. By introducing a double-buffering cache system and leveraging two-dimensional image entropy to reflect spatial color distribution, the proposed method significantly reduces data refresh frequency and eliminates visual artifacts like terrain "cracks." Experimental results demonstrate that this approach enhances both the authenticity and real-time rendering efficiency of large-scale terrain models.

Introduction

The primary challenge in large-scale terrain rendering is the sheer volume of texture data. High-resolution textures often exceed available RAM, necessitating constant data swapping between the hard disk and memory as a user navigates the virtual environment. Traditional methods frequently suffer from two major drawbacks: performance degradation due to high-frequency data updates and visual "cracks" or seams that appear at the boundaries of different levels of detail (LOD).

Visual artifacts like "cracks" (circled in orange) often appear at transitions between different texture resolutions in traditional rendering methods.

Methodology

The authors propose an integrated system to optimize texture mapping through three key innovations:

1. Macro-Block Matching

Inspired by video compression techniques, the terrain is partitioned into blocks. The system employs motion vectors and differential coding to predict subsequent block requirements based on the user's movement. This predictive loading minimizes the volume of new data transmitted to the decoder, thereby conserving bandwidth.

2. Hierarchical QuadTree and Double Buffering

Textures are organized into a multi-resolution pyramid and indexed via a QuadTree structure. To ensure smooth navigation, a double-buffer cache system is implemented:

  • First Cushion: A larger cache storing data beyond the immediate view.
  • Second Cushion: A smaller cache precisely aligned with the current window size. This hierarchy allows minor viewpoint adjustments to be processed entirely within the cache, bypassing slow disk access.

3. 2D Image Entropy

To address visual fidelity, the paper introduces two-dimensional image entropy. Unlike standard entropy, which only considers color distribution, 2D entropy incorporates spatial features by accounting for a pixel's neighbors. This information is used to intelligently blend texture layers, effectively smoothing transitions and eliminating the "cracks" typical of LOD transitions.

Experimental Results

The method was evaluated using a 1202 x 802 terrain mesh with a 10,000 x 6,667 texture map. The performance was compared against the industry-standard Clipmap method.

Memory Efficiency

The proposed double-buffering strategy proved highly efficient. While the traditional Clipmap method required 36.5 MB of storage space, the new method utilized only 12.5 MB—a reduction of approximately 65%.

Comparison of total space requirements between the traditional Clipmap method and the proposed double-cushion approach.

Rendering Performance

The system maintained a smooth user experience with an average frame rate of 46 FPS. Latency measurements showed that memory-only updates took 28ms, while full data exchanges with the hard disk were completed in approximately 40ms.

Conclusion

By combining predictive macro-block matching with spatial information theory via 2D entropy, this research offers a robust solution for real-time terrain rendering. The method not only reduces memory overhead by over 60% compared to standard techniques but also improves visual quality by eliminating rendering artifacts, paving the way for more immersive and efficient virtual environments.

Summary updated

BibTeX
@inproceedings{zhao2013adjustment,
  author = {Xiqing Zhao and Wenying Zhang and Peng Sun and Lijun Wang},
  title = {{The Adjustment of Texture Mapping based on Image-Entropy}},
  booktitle = {Proceedings of the 2nd International Conference On Systems Engineering and Modeling},
  year = {2013},
  doi = {10.2991/icsem.2013.105},
}
Figure