SAMa: Material-aware 3D Selection and Segmentation

Michael Fischer, Iliyan Georgiev, Thibault Groueix, Vladimir G. Kim, Tobias Ritschel, Valentin Deschaintre

TL;DR

SAMa (Select Any Material) is a new framework for interactive, material-aware selection and segmentation in 3D assets, including NeRFs, 3D Gaussian Splats, and meshes. By fine-tuning a video segmentation model (SAM2) on a custom material dataset and lifting 2D predictions into a 3D similarity point cloud, SAMa enables multiview-consistent selection in seconds without the need for costly per-asset optimization.

What Problem Does This Paper Address?

Decomposing 3D assets into their constituent materials is a fundamental task for digital artists, yet it remains a tedious, manual process. While recent breakthroughs like the Segment Anything Model (SAM) have revolutionized 2D object selection, they fall short in 3D for two main reasons:

  1. Material Blindness: Standard vision models are trained to recognize semantic objects (e.g., "a wheel") rather than specific materials (e.g., "rubber" vs. "chrome").
  2. Multiview Inconsistency: 2D models often produce different masks for the same 3D point when viewed from different angles. Existing solutions to "lift" these 2D signals into 3D usually require "feature distillation"—a slow optimization process that can take anywhere from 20 minutes to 2 hours per asset.

SAMa aims to bridge this gap, providing a tool that is material-aware, multiview-consistent, and fast enough for interactive use.

Figure 1. 3D material selection on three different representations using our SAMa method. Our approach enables several applications; from left to right: color editing on NeRFs, decomposition and editing on Gaussians, automatic material-ID-map creation on meshes.

Methods

The authors' core insight is that video consistency is a powerful proxy for 3D consistency. Renders of a 3D object from a smooth camera path are essentially a video.

1. Fine-tuning for Materials

The researchers adapted SAM2, a state-of-the-art video segmentation model. While SAM2 is great at tracking objects, it tends to select by "parts." To fix this, they fine-tuned the model's memory attention and mask decoder on a custom material-centric video dataset. This teaches the model to focus on texture and reflectance properties rather than semantic function.

2. Optimization-Free 3D Lifting

Instead of training a new neural field for every object, SAMa uses a lightweight geometric approach:

  • Render & Predict: It renders a sparse set of views and uses the fine-tuned SAMa model to generate 2D similarity maps.
  • Unproject: Using depth information, these 2D maps are "back-projected" into 3D space to form a 3D similarity point cloud.
  • Query: For any new viewpoint, the system performs a fast k-Nearest Neighbor (kNN) lookup into this point cloud. A voting scheme (selecting a point if >50% of its neighbors are selected) ensures a clean, noise-free result.

3. The "Frame Duplication" Trick

The authors noticed that the initial clicked frame often had more noise because the model hadn't yet utilized its temporal memory. By simply duplicating the clicked frame in the input sequence, they forced the model to use its memory module, significantly cleaning up the initial selection.

Figure 2. Overview over our method. Starting from a 3D asset and a user click, we sample cameras and create a set of renderings covering the object, which we subsequently process with our similarity network SAMa to compute dense per-pixel similarity values. We then back- project these values to 3D and store them in a point cloud than can be efficiently queried and interpolated for novel views.

Datasets

  • SAMa Video Dataset: A new synthetic dataset of 500 videos (30 frames each) featuring 9,082 Substance 3D objects and nearly 30,000 materials. It includes dense per-pixel annotations and varied camera trajectories (turntable, flyover, etc.).
  • Evaluation Benchmarks: The model was tested on standard NeRF datasets, real-world scenes from MIPNeRF-360, and a dedicated test split of their synthetic dataset.

Key Insights and Ideas

  • Leveraging Video Priors: Using a video model (SAM2) as a foundation provides a "free" consistency prior that static 2D models lack.
  • Efficiency via Point Clouds: By representing similarity in a point cloud rather than a neural field, the authors reduced the "click-to-selection" time from minutes/hours to just ~2 seconds.
  • Material vs. Object: The paper emphasizes a strict material definition: two areas are only the same if they share texture and reflectance, allowing for intra-class distinctions (e.g., distinguishing between two different types of plastic on one object).

Key Results

  • Accuracy: SAMa significantly outperformed baselines. On their synthetic dataset, SAMa achieved a mean Intersection over Union (mIoU) of 0.69, compared to 0.36 for the original SAM2 and 0.47 for the material-specific "Materialistic" baseline.
  • Consistency: SAMa showed remarkably high multiview consistency, even in the presence of severe occlusions and perspective changes.
  • Speed: The system is highly interactive. Building the 3D structure takes about 0.5 seconds, and querying the selection from a new viewpoint takes only 10–20 milliseconds.
  • Applications: The authors demonstrated practical uses like replacing simple diffuse textures from text-to-3D models with high-quality PBR (Physically Based Rendering) materials and editing specific parts of NeRF and 3D Gaussian Splat captures.

Limitations and Future Work

  • Challenging Materials: Selecting transparent or highly reflective materials (like glass or mirrors) remains difficult, as it's ambiguous whether the user wants to select the surface or the background/reflection.
  • Depth Dependency: The accuracy of the 3D selection is tied to the quality of the depth reconstruction. Errors in depth can lead to noise in the similarity point cloud.
  • Fixed Definitions: The current model uses a fixed definition of "material" and cannot yet be toggled to select based on specific parameters like "roughness" or "metallicness" alone.

Summary updated

BibTeX
@inproceedings{fischer2026sama,
  author = {Michael Fischer and Iliyan Georgiev and Thibault Groueix and Vladimir G. Kim and Tobias Ritschel and Valentin Deschaintre},
  title = {{SAMa: Material-aware 3D Selection and Segmentation}},
  booktitle = {3DV},
  year = {2026},
  doi = {10.1109/3dv69130.2026.00172},
}
Figure