建模程序 多个定时程序
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.
 
 

45 lines
4.2 KiB

1.02
set psid=10
set pid=4996
set bin="C:\Program Files\Capturing Reality\RealityCapture\RealityCapture.exe"
d: && cd apps
python downfromoss.py %pid%
python downxmps.py %pid%
%bin% -addFolder "d:\%pid%\photo1" -align -addFolder "d:\%pid%\photo2" -align -align -setReconstructionRegion "D:\apps\config10\%psid%.rcbox" -mvs -modelSelectMaximalConnectedComponent -renameModel %pid% -modelInvertSelection -modelRemoveSelectedTriangles -clean -simplify 1000000 -smooth -calculateTexture -exportModel %pid% d:\%pid%\output\%pid%.obj D:\apps\config10\ModelExportParams102.xml
python upload.py %pid%
===============================================================================================================================================================
1.2
set pid=4996
set bin="C:\Program Files\Capturing Reality\RealityCapture\RealityCapture.exe"
d: && cd apps
python downfromoss.py %pid%
python downxmps.py %pid%
%bin% -disableOnlineCommunication -setInstanceName %pid% -addFolder "D:\%pid%\photo1" -selectAllImages -enableTexturingAndColoring false -set "sfmMaxFeaturesPerMpx=20000" -set "sfmMaxFeaturesPerImage=200000" -set "sfmImagesOverlap=High" -align -addFolder "D:\%pid%\photo2" -align -align
%bin% -delegateTo %pid% -selectLargestModelComponent -invertTrianglesSelection -removeSelectedTriangles -simplify -smooth -cleanModel -calculateTexture
python rc_export.py %pid%
%bin% -delegateTo %pid% -align -align -align -align
step 1:====================================================================================================================================================
%bin% -disableOnlineCommunication -setInstanceName %pid% -setProjectCoordinateSystem Local:1 -setOutputCoordinateSystem epsg:4326 -set "sfmEnableCameraPrior=False" -addFolder "D:\%pid%\photo1" -detectMarkers "D:\apps\config\detectMarkers.config.xml" -defineDistance 36h11:001 36h11:002 1 -defineDistance 36h11:002 36h11:004 1 -defineDistance 36h11:004 36h11:003 1 -defineDistance 36h11:003 36h11:001 1 -align -align -update -exportXMP "D:\apps\config\exportXMP.config.xml" -selectAllImages -enableTexturingAndColoring false
copy "D:\%pid%\photo1\*_1.xmp" "D:\%pid%\photo2\*_8.xmp"
set photo1 to disable texture
adjust photos: enhance, remove noise
%bin% -disableOnlineCommunication -delegateTo %pid% -addFolder "D:\%pid%\photo2" -align -align -setReconstructionRegionOnCPs 36h11:001 36h11:002 36h11:003 2.1 -moveReconstructionRegion 0 0 -2.1 -rotateReconstructionRegion 180 0 180 -setGroundPlaneFromReconstructionRegion -scaleReconstructionRegion 1.8 1.6 2.1 absolute center -moveReconstructionRegion 0 0 0.0025 -selectAllImages -exportXMP "D:\apps\config\exportXMP.config.xml" -exportReconstructionRegion d:\%pid%\%pid%.rcbox -save d:\%pid%\%pid%.rcproj
-exportControlPointsMeasurements d:\%pid%\%pid%.controlPoints.csv D:\\make2\\config\\exportControlPoints.config.xml
step 2:=====================================================================================================================================================
1.2
%bin% -disableOnlineCommunication -setInstanceName %pid% -addFolder "D:\%pid%\photo1" -addFolder "D:\%pid%\photo2" -importControlPointsMeasurements d:\%pid%\%pid%.controlPoints.csv -defineDistance 36h11:001 36h11:002 1 -defineDistance 36h11:002 36h11:004 1 -defineDistance 36h11:004 36h11:003 1 -defineDistance 36h11:003 36h11:001 1 -align -align -update -setReconstructionRegion d:\%pid%\%pid%.rcbox -calculateNormalModel -selectLargestModelComponent -invertTrianglesSelection -removeSelectedTriangles -simplify 1000000 -smooth -cleanModel -calculateTexture
step 2:======================================================================================================================================================
1.02
%bin% -disableOnlineCommunication -addFolder "D:\%pid%\photo1" -addFolder "D:\%pid%\photo2" -importControlPointsMeasurements d:\%pid%\%pid%.controlPoints.csv -defineDistance 36h11:001 36h11:002 1 -defineDistance 36h11:002 36h11:004 1 -defineDistance 36h11:004 36h11:003 1 -defineDistance 36h11:003 36h11:001 1 -align -align -update -setReconstructionRegion d:\%pid%\%pid%.rcbox -calculateNormalModel -selectLargestModelComponent -invertTrianglesSelection -removeSelectedTriangles -simplify 1000000 -smooth -cleanModel -calculateTexture