Overview
The 3D Reconstruction Pipeline enables high-quality reconstruction of consistent 3D scenes from WorldStereo-generated videos. By leveraging the multi-view consistency and precise camera control, WorldStereo produces videos that can be reliably reconstructed into detailed 3D models.Reconstruction Pipeline
reconstruct_scene()
Reconstruct a 3D scene from generated video.Path to the input video file generated by WorldStereo.
Camera trajectory used during video generation. Required for accurate 3D reconstruction.
Path where reconstruction outputs will be saved.
Reconstruction method:
neural: Neural implicit reconstruction (high quality)mvs: Multi-view stereo (fast)hybrid: Hybrid approach combining both methods
Reconstruction resolution. Higher values produce more detailed geometry but require more memory.
Enable depth estimation refinement using the spatial-stereo memory.
Initial point cloud density:
low, medium, or high.Reconstructed 3D scene object containing geometry, textures, and metadata.
ReconstructedScene
Represents a reconstructed 3D scene.Reconstructed 3D mesh with vertices, faces, and normals.
Dense point cloud representation of the scene.
Texture maps for the reconstructed geometry:
albedo: Base color texturenormal: Normal maproughness: Surface roughness map
Camera poses and intrinsics used during reconstruction.
Reconstruction metadata including quality metrics and parameters.
Output Formats
Mesh Export
Export reconstructed mesh in various formats.Reconstructed scene to export.
Output file path.
Export format:
obj: Wavefront OBJ (widely compatible)ply: PLY format (preserves vertex colors)gltf: glTF 2.0 (for web and real-time applications)fbx: FBX format (for game engines and 3D software)usd: Universal Scene Description
Include texture maps in the export.
Texture map resolution in pixels.
Point Cloud Export
Export point cloud representation.Reconstructed scene containing point cloud.
Output file path.
Export format:
ply, pcd, xyz, or las.Include RGB colors for each point.
Include surface normals for each point.
Usage Examples
Basic Reconstruction
Export to Multiple Formats
Advanced Reconstruction Options
Reconstruction Quality Metrics
Scene Quality Assessment
Access reconstruction quality metrics.Percentage of the scene successfully reconstructed (0-1).
Geometric consistency score across views (0-1).
Texture sharpness and detail preservation score (0-1).
Consistency of appearance across different camera views (0-1).
Post-Processing
Mesh Refinement
Refine reconstructed mesh geometry.Input mesh to refine.
Remove outlier vertices and faces.
Smooth surface normals for better lighting.
Fill small holes in the mesh.
Simplify mesh to target percentage of original vertices (0-1).
Texture Optimization
Optimize and enhance texture maps.Scene with textures to optimize.
Apply super-resolution to texture maps.
Blend texture seams for seamless appearance.
Enhance fine details in textures.
Example: Post-Processing Pipeline
Integration with Geometric Memory
WorldStereo’s reconstruction pipeline leverages the global geometric memory and spatial-stereo memory modules used during video generation:
- Global geometric memory provides coarse structural priors through incrementally updated point clouds
- Spatial-stereo memory captures 3D correspondences for fine-grained detail preservation
Reconstruction from Panoramic Input
Reconstruct scenes from panoramic image inputs.Performance Considerations
Memory usage: High-resolution reconstructions require significant GPU memory. Use
resolution=256 or resolution=512 for standard GPUs.Reconstruction time: Neural reconstruction methods take longer but produce higher quality results. Use method="mvs" for faster reconstruction.Video length: Longer videos with more camera views generally produce more complete reconstructions but require more processing time.Camera trajectory: Dense camera trajectories with overlapping views improve reconstruction quality.Best Practices
- Use consistent camera trajectories: Maintain smooth camera motion and adequate overlap between views
- Generate high-quality videos: Higher resolution video input produces better reconstruction quality
- Leverage geometric memory: WorldStereo’s geometric memory modules improve reconstruction consistency
- Post-process results: Apply mesh refinement and texture optimization for production-ready assets
- Validate metrics: Check quality metrics to assess reconstruction completeness
Related
- Camera Control Interface - Define precise camera trajectories
- 3D Reconstruction Guide - Step-by-step reconstruction workflow
- Global Geometric Memory - Understanding geometric memory integration
- Spatial-Stereo Memory - Fine-grained detail preservation