Perfect spatial hashing

  • Authors:
  • Sylvain Lefebvre;Hugues Hoppe

  • Affiliations:
  • Microsoft Research;Microsoft Research

  • Venue:
  • ACM SIGGRAPH 2006 Papers
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

We explore using hashing to pack sparse data into a compact table while retaining efficient random access. Specifically, we design a perfect multidimensional hash function -- one that is precomputed on static data to have no hash collisions. Because our hash function makes a single reference to a small offset table, queries always involve exactly two memory accesses and are thus ideally suited for parallel SIMD evaluation on graphics hardware. Whereas prior hashing work strives for pseudorandom mappings, we instead design the hash function to preserve spatial coherence and thereby improve runtime locality of reference. We demonstrate numerous graphics applications including vector images, texture sprites, alpha channel compression, 3D-parameterized textures, 3D painting, simulation, and collision detection.