建模程序 多个定时程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

43 lines
1.4 KiB

:: This script was created by Capturing Reality ©
:: Switch off console output.
@echo off
call SetVariables.bat
:: A path to the image folder.
set ImagesGeometry=%RootFolder%\Set2-a\.geometry
:: Variable storing path to images for texturing model.
set ImagesTexture=%RootFolder%\Set2-a\.texture.TextureLayer
:: A path to the metadata folder.
set Metadata=%RootFolder%\Metadata
:: Variable storing a name of file with parameters for automatic markers detection in RC.
set DetectMarkersParams=%Metadata%\DetectMarkersParams.xml
:: Variable storing a name of the file with coordinates of detected targets in a local system.
set GCPCoordinates=%Metadata%\GCPsDetectedMarkers.txt
:: Variable storing a name of the file with parameters for GCP import.
set ImportGCPParams=%Metadata%\GCPImportParams.xml
:: Variable storing a name of the file with parameters for XMP export.
set XMPExportParams=%Metadata%\XMPExportParams.xml
%RealityCaptureExe% -newScene ^
-clearCache ^
-addFolder "%ImagesGeometry%" ^
-addFolder "%ImagesTexture%" ^
-detectMarkers "%DetectMarkersParams%" ^
-importGroundControlPoints "%GCPCoordinates%" "%ImportGCPParams%" ^
-set "sfmImagesOverlap=Low" ^
-align ^
-exportXMP "%XMPExportParams%" ^
-save %RootFolder%\Set2-a\Project_set2-a_calibration.rcproj ^
-quit
:: Copies XMP files to Metadata folder.
move /Y %ImagesGeometry%\*.xmp %Metadata%\xmp\