xiac20/SimRecon: SimReady Scene Reconstruction from Real Videos
xiac20/SimRecon: SimReady Scene Reconstruction from Real Videos
Turning unstructured video footage into structured, simulation-ready 3D scenes remains one of the persistent bottlenecks in computer vision and robotics pipelines. Researchers and engineers working on embodied AI, autonomous systems, or virtual environment generation often face a frustrating gap: you can capture video easily, but extracting compositional 3D assets with correct spatial relationships and physical plausibility requires fragmented tools and significant manual effort. xiac20/SimRecon addresses this directly with a unified "Perception-Generation-Simulation" pipeline designed for compositional scene reconstruction from cluttered real-world video input.
What is xiac20/SimRecon?
xiac20/SimRecon is an open-source Python↗ Bright Coding Blog framework for compositional 3D scene reconstruction, developed by researchers at Tsinghua University and Galbot. The project was accepted as a CVPR 2026 Highlight paper, indicating strong peer recognition in the computer vision community. As of the latest commit on April 14, 2026, the repository has accumulated 131 stars and 7 forks on GitHub.
The tool's core innovation lies in its object-centric scene representation and specialized bridging modules that connect three traditionally separate stages: perception (understanding what's in the scene), generation (creating 3D assets), and simulation (placing assets in physically plausible configurations). Unlike monolithic reconstruction systems that output static meshes, SimRecon preserves compositional structure—individual objects, their attributes, and their spatial relationships—making the output suitable for downstream simulation environments.
The repository is actively maintained, with significant releases throughout early 2026. Notably, the authors open-sourced their complete codebase by March 18, 2026, including the Scene Graph Synthesizer (SGS) module. They deliberately left specific implementations of 3D asset generation models and physical simulators open for user customization, acknowledging the rapidly evolving ecosystem of tools in this space.
Key Features
Perception-Generation-Simulation Pipeline
SimRecon implements an end-to-end pipeline with explicit bridging between stages. The perception stage handles instance-level segmentation and 3D Gaussian Splatting reconstruction. The generation stage produces 3D assets from optimized viewpoints. The simulation stage constructs scene graphs with physically plausible object placement. This modular design allows users to swap components as the field advances.
Active Viewpoint Optimization (AVO)
The AVO module solves a practical problem: given a reconstructed object, which viewpoint best supports high-quality 3D asset generation? Rather than using heuristic view selection, AVO optimizes camera parameters to maximize reconstruction quality for individual objects. Users can adjust rotation and translation learning rates, depth constraint coefficients, and optimization iterations (up to 5000 rounds) to handle challenging cases.
Scene Graph Synthesizer (SGS)
SGS operates at the instance level (not just semantic categories) to infer object relationships and attributes. It leverages Vision-Language Models (VLMs) to validate instance labels and determine spatial relationships between objects. The output is a structured scene graph that captures not just geometry but functional and relational information.
Flexible Asset Generation Integration
Rather than hardcoding a specific image-to-3D model, SimRecon supports multiple backends. The authors used Rodin in their pipeline, but explicitly recommend open-source alternatives like SAM3D and TRELLIS. This future-proofs the tool against rapid progress in generative 3D modeling.
Physical Plausibility via Layered Simulation
The final placement follows a layer-by-layer physical simulation activation procedure, ensuring that reconstructed scenes don't just look correct but behave correctly under physics. This is critical for robotics applications where sim-to-real transfer depends on accurate physical properties.
Use Cases
Robotics Simulation Environments
Robotics researchers can record video of real environments and automatically generate simulation-ready scenes. The compositional output allows selective modification—replace one object, keep the rest—without reprocessing entire scenes. The physical plausibility ensures reliable sim-to-real transfer for manipulation and navigation tasks.
AR/VR Content Creation
Developers building augmented or virtual reality experiences can rapidly digitize real spaces with structured, editable assets. The instance-level separation means individual objects can be manipulated, replaced, or animated independently in game engines or WebXR applications.
Embodied AI Training Data Generation
Training embodied agents requires diverse, physically accurate environments. SimRecon enables scalable generation of such environments from simple video capture, with explicit scene graphs that support complex task specifications involving object relationships.
Digital Twin Prototyping
For industrial or architectural applications, SimRecon provides a path from site survey video to interactive digital twins. The modular pipeline allows integration with domain-specific simulators and asset libraries.
Research Baseline and Extension
With fully open-sourced modules including SGS, researchers can build directly on SimRecon's architecture. The explicit bridging modules provide clear intervention points for studying perception-generation-simulation integration.
Installation & Setup
SimRecon requires Python 3.9 and CUDA-capable hardware. The setup involves several dependencies including PyTorch with CUDA 11.8, RAPIDS libraries, and specialized segmentation tools.
Clone the repository:
git clone https://github.com/xiac20/SimRecon.git
cd SimRecon
Create and activate conda environment:
conda create -n simrecon python=3.9 -y
conda activate simrecon
Install PyTorch with CUDA 11.8:
pip install torch==2.1.0+cu118 torchvision==0.16.0+cu118 torchaudio==2.1.0+cu118 --extra-index-url https://download.pytorch.org/whl/cu118
Install RAPIDS libraries for GPU-accelerated data processing:
pip install --extra-index-url=https://pypi.nvidia.com "cudf-cu11==24.2.*" "cuml-cu11==24.2.*"
Install remaining Python dependencies:
pip install -r requirements.txt
Install CropFormer for instance-level segmentation:
cd semantic_modules/CropFormer
cd mask2former/modeling/pixel_decoder/ops
sh make.sh # Compile custom CUDA operations
cd ../../../../
git clone git@github.com:facebookresearch/detectron2.git
cd detectron2
pip install -e .
pip install git+https://github.com/cocodataset/panopticapi.git
pip install git+https://github.com/mcordts/cityscapesScripts.git
cd ..
pip install -r requirements.txt
pip install -U openmim
mim install mmcv
pip install transformers
mkdir ckpts
Download pretrained weights:
Manually download the CropFormer checkpoint into semantic_modules/CropFormer/ckpts.
The setup is involved due to multiple compiled components and external model downloads. Users should expect to troubleshoot CUDA version compatibility and Git authentication for private repositories.
Real Code Examples
Data Preprocessing Pipeline
Before running SimRecon's core modules, you must prepare your video input through sparse reconstruction, segmentation, and 2D Gaussian Splatting:
# Step 1: Obtain sparse reconstruction via COLMAP or HLOC
# (Follow external documentation; HLOC recommended for challenging scenes)
# Step 2: Run instance-level segmentation
cd semantic_modules/CropFormer
bash run_segmentation.sh "$DATA_DIR"
cd ../..
# Step 3: Train 2D Gaussian Splatting representation
python train_2dgs.py -s data/scene0000_00 -m output/scene0000_00
Place the trained point_cloud.ply into your data directory. The expected structure:
data
└── scene0000_00
├── point_cloud.ply # Trained 2DGS output
├── images/ # Source frames (0.jpg, ...)
├── sam/mask/ # Instance masks (0.png, ...)
└── sparse/0/ # COLMAP/HLOC reconstruction
└── cameras.bin
Semantic Segmentation and AVO Optimization
Generate 3D semantic segmentation, then optimize viewpoints for asset generation:
# Generate semantic/instance segmentation from 2DGS
python train_semantic.py -s data/scene0000_00 \
-m train_semanticgs \
--use_seg_feature --iterations 2500 \
--load_filter_segmap --consider_negative_labels
The --consider_negative_labels flag suppresses floater artifacts during background segmentation. Note that DBScan filtering may appear to hang—this is normal when background points fragment into multiple regions. The generated labels are provisional and refined by VLM in SGS.
# Optimize viewpoints per object with AVO
python optimize_by_avo.py --source_path data/scene0000_00 \
--label_dir output/data/scene0000_00/train_semanticgs/point_cloud/iteration_2500 \
--max_iterations 100
Use --instance_id to target specific objects; omit to process all detected instances. Inspect intermediate point clouds at output/data/scene0000_00/train_semanticgs/point_cloud/iteration_2500/label_pointclouds before optimization.
Scene Graph Inference
After generating assets and sampling coverage-maximizing views with VGGT:
# Sample symbolic views with maximum voxel coverage
python coverage_sampling.py --scene_path data/scene0000_00 --num_frames 20 --copy_images
# Project instances to sampled frames
python project_instances_to_frames.py \
--source_path data/scene0000_00 \
--label_dir output/data/scene0000_00/train_semanticgs/point_cloud/iteration_2500 \
--sampled_images_dir data/scene0000_00/sampled_images
# Infer and merge scene graphs
python infer_scene_graph.py \
--instance_project_dir output/data/scene0000_00/train_semanticgs/point_cloud/iteration_2500/instance_project \
--output_dir output/data/scene0000_00/train_semanticgs/point_cloud/iteration_2500/scene_graphs
python merge_scene_graphs.py \
--scene_graphs_dir output/data/scene0000_00/train_semanticgs/point_cloud/iteration_2500/scene_graphs
Adjust min_visible_pixels and min_num_points in project_instances_to_frames.py to control instance filtering thresholds.
Advanced Usage & Best Practices
Handling AVO failures: When 2DGS produces artifact-heavy point clouds, AVO optimization may drift. The authors suggest investigating recent works on Gaussian Splatting artifact reduction rather than tuning AVO hyperparameters indefinitely. Adjust rotation/translation learning rates and depth constraint coefficients for edge cases.
Asset generation flexibility: The pipeline intentionally decouples from specific image-to-3D models. While Rodin was used in the paper, evaluate SAM3D or TRELLIS based on your license requirements, quality needs, and inference cost constraints. The optimized AVO viewpoints are model-agnostic inputs.
Physical placement refinement: For precise object orientation, the authors recommend FoundationPose to align generated 3D assets with their best-view renderings. Compute bounding boxes from instance 3DGS for center position and scale estimates. The final simulator placement requires manual parameter input following the paper's layer-by-layer activation procedure.
Performance considerations: The DBScan filtering stage in semantic training can be time-consuming for scenes with extensive background geometry. Plan preprocessing pipelines accordingly, and consider HLOC over COLMAP for scenes with poor image quality or severe occlusion.
Comparison with Alternatives
| Feature | xiac20/SimRecon | InstaScene | Traditional Photogrammetry |
|---|---|---|---|
| Output structure | Compositional scene graphs | Instance-aware scenes | Static mesh or point cloud |
| Physical plausibility | Explicit simulation layer | Limited | None inherent |
| Asset generation | Pluggable (Rodin/SAM3D/TRELLIS) | Integrated | Manual post-processing |
| Viewpoint optimization | AVO module for per-object best views | Fixed/heuristic | N/A (capture-dependent) |
| Code availability | Fully open-sourced (as of March 2026) | Partial | N/A (tools vary) |
| Primary use case | Simulation-ready scenes | Scene understanding | Documentation, visualization |
SimRecon's explicit focus on simulation-ready output with physical plausibility distinguishes it from reconstruction tools optimized purely for visual fidelity. The trade-off is increased pipeline complexity and dependency on multiple external models. For projects requiring only static mesh output, traditional photogrammetry may suffice with less setup overhead.
FAQ
What hardware is required? CUDA-capable GPU with sufficient VRAM for 2D Gaussian Splatting training and CropFormer inference. The README specifies CUDA 11.8.
Is there a license? The README displays an MIT badge, though the repository stats list "License: Not specified." Verify the actual LICENSE file before production use.
Can I use my own image-to-3D model? Yes. The authors explicitly designed the pipeline to accommodate diverse choices in 3D asset generation and physical simulators.
Why does semantic training hang at DBScan Filter Stage?
Background Gaussian points may divide into multiple regions. This is expected behavior; use --consider_negative_labels to reduce floaters.
How accurate are the generated instance labels? Provisional only. Final labels are determined by the VLM in the SGS module.
What if AVO produces poor viewpoints? Adjust learning rates, depth constraints, or increase iterations to 5000. For fundamental point cloud artifacts, address 2DGS quality first.
Is there pretrained data available? Yes, the authors provide preprocessed datasets for quick evaluation.
Conclusion
xiac20/SimRecon offers a research-grade, fully open-sourced solution for a genuinely hard problem: converting unstructured real-world video into structured, simulation-ready 3D scenes with correct object composition and physical plausibility. The CVPR 2026 Highlight recognition and active maintenance through early 2026 signal credible ongoing development.
This tool best serves researchers and engineers in robotics, embodied AI, and AR/VR who need compositional scene output rather than static meshes. The setup complexity is substantial—you'll need CUDA expertise, patience with multi-step preprocessing, and willingness to integrate external models for asset generation. For those requirements, SimRecon provides a principled, extensible architecture that should age well as underlying perception and generation models improve.
Ready to reconstruct your first SimReady scene? Explore the full codebase, documentation, and latest updates at https://github.com/xiac20/SimRecon. For related approaches in neural scene representation, see our coverage of [INTERNAL_LINK: 3D Gaussian Splatting tools].
Explore on the BrightCoding network
Hand-picked resources from our other sites.
Sathvik-Rao/ClipCascade: Cross-Platform Clipboard Sync for Developers
ClipCascade is an open-source, cross-platform clipboard synchronization tool with end-to-end encryption, supporting Windows, macOS, Linux, and Android via serve...
agiresearch/A-mem: Dynamic Memory System for LLM Agents
agiresearch/A-mem is an open-source agentic memory system for LLM agents using Zettelkasten principles and ChromaDB. Features dynamic organization, automatic me...
apocas/restai: Deploy AI Projects as REST APIs with Full UI
apocas/restai is an open-source AIaaS platform that packages RAG, agents, multimodal inference, and visual workflows behind REST APIs with built-in analytics, t...
Continuez votre lecture
docTR: The Revolutionary OCR Library Every Developer Needs
fastdup: The Essential Tool for Cleaning Image Datasets
DeepFace: The Revolutionary Python Face Recognition Toolkit
Stop Coding Alone: OPC-Skills Gives Your AI Agent Superpowers
Commentaires 0
Aucun commentaire pour l'instant. Soyez le premier à réagir !