Skip to content

Create USD Exporter#2009

Open
servantftransperfect wants to merge 1 commit intodevelopfrom
dev/UsdExporter
Open

Create USD Exporter#2009
servantftransperfect wants to merge 1 commit intodevelopfrom
dev/UsdExporter

Conversation

@servantftransperfect
Copy link
Contributor

@servantftransperfect servantftransperfect commented Oct 15, 2025

  • Renamed exising ExportUSD to ExportMeshUSD
  • Added a new node similar to ExportAlembic but exporting to OpenUSD ExportUSD
  • Create a class USDExporter which does the communication with USD api to create USD file.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces a new OpenUSD camera exporter path for SfM scenes, while preserving the previous mesh-to-USD functionality under a renamed exportMeshUSD tool. It also wires the new exporter into both CMake and Meshroom nodes.

Changes:

  • Repurposes aliceVision_exportUSD to export animated cameras from SfMData via a new sfmDataIO::UsdExporter.
  • Adds aliceVision_exportMeshUSD as the renamed mesh/textures USD exporter (former exportUSD behavior).
  • Updates build configuration and Meshroom node definitions to expose both exporters.

Reviewed changes

Copilot reviewed 8 out of 9 changed files in this pull request and generated 11 comments.

Show a summary per file
File Description
src/software/export/main_exportUSD.cpp New CLI flow exporting cameras from SfMData to USD via UsdExporter.
src/software/export/main_exportMeshUSD.cpp New (renamed) mesh/textures USD exporter CLI implementation.
src/software/export/CMakeLists.txt Adds aliceVision_exportMeshUSD and redefines aliceVision_exportUSD.
src/aliceVision/sfmDataIO/UsdExporter.hpp Declares the new USD exporter API.
src/aliceVision/sfmDataIO/UsdExporter.cpp Implements USD stage/camera/time-sampled transform export.
src/aliceVision/sfmDataIO/CMakeLists.txt Registers/links UsdExporter when USD is available.
meshroom/aliceVision/ExportUSD.py Updates the Meshroom node to match new exportUSD camera-export behavior.
meshroom/aliceVision/ExportMeshUSD.py Adds a Meshroom node for the renamed mesh exporter.
.gitignore Formatting-only adjustment.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants