StyleCity: Large-Scale 3D Urban Scenes Stylization

Yingshu Chen, Huajian Huang, Tuan-Anh Vu, Ka-Chun Shum, Sai-Kit Yeung

StyleCity: Large-Scale 3D Urban Scenes Stylization

Introduction

While 2D neural style transfer is a mature field, lifting those techniques to 3D—especially at the scale of an entire city—presents significant hurdles. Traditional mesh stylization often optimizes explicit high-resolution textures or latent features, which quickly exhausts GPU VRAM when dealing with kilometers of urban geometry. Furthermore, to stylize a city effectively, one must "see" every alleyway and skyscraper face; naive view sampling often leads to blurry textures or "holes" in the stylization. Finally, semantic consistency is crucial; without it, a 3D model might accidentally apply "water" textures to a skyscraper or "sky" colors to the pavement.

Existing methods like ARF or StyleMesh work well for single objects or indoor rooms but fail to produce photo-realistic or consistent results for complex, large-scale outdoor scenes. StyleCity addresses these challenges as the first vision-and-text-driven stylization system designed specifically for large-scale 3D urban environments.

StyleCity transforms input textured meshes into stylized "digital twins" using text or image prompts.

Methodology

StyleCity moves away from explicit texture optimization toward a Neural Texture Field combined with scale-adaptive optimization and semantic-aware losses.

1. Neural Texture Field

Instead of a giant bitmap, StyleCity represents the city's appearance using a multi-resolution hash-grid and a lightweight MLP. This hybrid representation is compact and memory-efficient, allowing the final stylized result to be "baked" into an arbitrary-resolution UV texture map for use in standard rendering engines.

2. Pivot-Based View Planning

To ensure total coverage, the system samples camera positions along the bounding box of the city mesh. These "pivot views" serve as the training data, ensuring the model learns the style from every necessary angle.

Illustration of pivot-based view planning and centroid sampling to ensure complete coverage of the 3D scene.

3. Multi-Scale Progressive Optimization

Stylizing at a single scale often leads to a loss of fine detail. StyleCity implements a "zoom-in" strategy: during training, the field of view (FoV) progressively narrows. This allows the model to first capture global color palettes and then refine high-frequency details like windows and logos.

4. Scale-Adaptive & Semantic-Aware Losses

  • Scale-Adaptive Matching: The system crops the style reference image into multi-scale patches and uses a self-similarity descriptor to match the scale of the style patch to the scale of the current 3D training view.
  • Local Semantics: Using Mask2Former, the system segments both the 3D scene and the style image. A Local Semantics-Aware Style Loss ensures that "building" style is applied to buildings. If a style image lacks a specific class, a Semantic Hierarchical Re-match logic finds the next best match (e.g., using "sky" style for "water").

5. Style-Aligned Sky Synthesis

StyleCity uses a modified diffusion process to generate a 360-degree, style-aligned omnidirectional sky panorama, providing a consistent background for the stylized foreground.

Experimental Results

The researchers evaluated StyleCity on 3D textured models from five major cities (London, Sydney, New York, Hong Kong, and Singapore) collected via the Google 3D Tiles API. They tested 7 distinct styles, ranging from "magic hour" photography to artistic prompts like "Cyberpunk 2077."

Quantitative and Qualitative Performance

StyleCity outperformed baselines like ARF, StyleMesh, and InstructN2N across several metrics:

  • Content Preservation: Achieved an eSSIM of 0.623 (vs. 0.503 for the next best).
  • Style Alignment: Led with a CLIP Score of 0.244.
  • Visual Quality: Visual results show significantly sharper details, such as lit windows and legible logos, compared to the hazy outputs of NeRF-based methods.
  • User Preference: In a user study, StyleCity received a score of 4.58/5.0, significantly higher than the baselines.

Key Insights

  • Efficiency: By optimizing a neural field rather than pixels, StyleCity can stylize gigapixel-scale urban environments on a single consumer GPU (RTX 3090).
  • Scale Sensitivity: Scale-adaptive matching is critical for preventing the "mushy" look common in other 3D stylization attempts.
  • Semantic Robustness: The "Hierarchical Re-match" effectively handles cases where style images lack specific semantic classes found in the city.

Limitations and Future Work

Currently, the framework only stylizes textures and does not perform geometric stylization (e.g., changing building shapes). Training time is approximately 10 hours per city, which is not yet real-time. Additionally, the method depends on the quality of the input mesh's UV mapping. Future work may explore integrating 3D Gaussian Splatting for faster rendering or modifying underlying geometry.

Summary updated

BibTeX
@inproceedings{chen2024stylecity,
  author = {Yingshu Chen and Huajian Huang and Tuan-Anh Vu and Ka-Chun Shum and Sai-Kit Yeung},
  title = {{StyleCity: Large-Scale 3D Urban Scenes Stylization}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-73202-7\_23},
}
Figure