The document presents a 3-D environment modeling and adaptive foreground detection system for multi-camera surveillance. The system constructs a 3-D model of the environment using planar patches approximated from camera views. Videos are integrated and displayed on the 3-D model using texture mapping. A novel method is proposed to detect moving shadows in two phases: an offline training phase determines pixel-wise thresholds, and an online phase updates the thresholds over time to adapt to different scenes. Foreground objects are extracted accurately after removing shadows and displayed using axis-aligned billboarding for 3-D visualization.