Accelerating time-varying hardware volume rendering using TSP trees and color-based error metrics

David A. Ellsworth, Ling-Jen Chiang, Han-Wei ShenVVS 2000

Introduction

Volume rendering is a vital technique for visualizing 3D scalar fields, such as those found in medical imaging or computational fluid dynamics (CFD). However, as datasets grow in size and complexity—particularly when they include a temporal dimension—the computational and memory requirements become prohibitive. In time-varying datasets, the challenge scales linearly with the number of time steps, often exceeding the capacity of high-speed texture memory on graphics hardware. This paper presents a high-performance rendering algorithm that addresses these bottlenecks by integrating Time-Space Partitioning (TSP) trees with novel color-based error metrics.

The TSP Tree Architecture

The core of the proposed system is the TSP tree, a hierarchical data structure designed to exploit both spatial and temporal coherence. The "skeleton" of the TSP tree is an octree, which handles spatial partitioning of the volume. Each node in this octree contains a binary tree that represents the temporal evolution of that specific spatial subvolume.

The TSP tree structure combines an octree for spatial partitioning with binary trees for temporal partitioning.

By traversing this structure, the renderer can identify regions that are spatially or temporally static. For instance, if a subvolume does not change significantly over several time steps, the binary tree allows the system to reuse the same texture data, drastically reducing the need for redundant data transfers between system memory and the GPU.

Color-Based Error Metrics

Traditional volume rendering optimizations often rely on error metrics based on raw scalar data variance. However, raw data values do not always correlate with visual importance. A region with high scalar variance might be mapped to a single color and opacity via a user-defined transfer function, making it "visually coherent" despite its underlying data complexity.

The authors introduce color-based error metrics that evaluate variance in the final RGBA color space. They propose two versions:

  1. Reference Metric: A highly accurate but computationally intensive metric.
  2. Approximate Metric: A fast alternative that assumes a normal distribution of data values within a subvolume. This approximation allows the system to recalculate error metrics in roughly one second, enabling interactive exploration where users can modify the transfer function and see optimized results in real-time.

Rendering Optimizations and Polygon Templates

To further accelerate rendering, the system employs several hardware-specific optimizations. One significant bottleneck in hardware-accelerated volume rendering is the calculation of "slicing planes"—the polygons used to sample the 3D texture. Calculating these for thousands of small subvolumes is CPU-intensive.

Polygon templates are used to pre-calculate slicing planes for subvolumes, reducing CPU overhead.

The authors utilize polygon templates for standard subvolume sizes. Instead of recalculating geometry, the system simply translates pre-calculated templates to the correct world-space position. Additionally, the system exploits coherence by:

  • Spatial Coherence: Rendering low-variance regions as flat-shaded polygons rather than 3D textures.
  • Temporal Coherence: Reusing texture memory for regions that remain stable across time steps.
  • Texture Caching: Leveraging OpenGL extensions to retain textures in hardware memory, which can reduce rendering times from seconds to milliseconds.

Experimental Results

The algorithm was evaluated using three CFD datasets: a Small Delta Wing, a Large Delta Wing, and an F18 Aircraft model. These datasets are characterized by localized high-detail features (vortices) surrounded by large regions of empty space.

The TSP tree approach, combined with color metrics, achieved a 2x speedup for smaller datasets and up to a 4x speedup for larger ones compared to standard implementations. In the Large Delta Wing test, identifying and skipping transparent "empty space" alone reduced the processed data by 29%. Furthermore, by rendering coherent regions as flat polygons, the system successfully fit a 66MB dataset into 61MB of texture memory, allowing it to reside entirely within the 64MB limit of the SGI InfiniteReality hardware.

Conclusion and Future Work

By shifting the focus from raw data to visual (color) coherence and utilizing the TSP tree's dual-partitioning capabilities, this method enables interactive visualization of massive time-varying datasets. Future research may explore moving these metrics into perceptual color spaces (like CIE Luv*) to better align with human vision and applying similar techniques to software-based ray casting. Despite minor limitations like potential boundary artifacts between subvolumes, the system represents a significant leap in hardware-accelerated volume visualization.

Summary updated

BibTeX
@inproceedings{ellsworth2000accelerating,
  author = {David A. Ellsworth and Ling-Jen Chiang and Han-Wei Shen},
  title = {{Accelerating time-varying hardware volume rendering using TSP trees and color-based error metrics}},
  booktitle = {VVS},
  year = {2000},
  doi = {10.1145/353888.353908},
}
Figure