Create examplebuildvoxelgridfrommotion.bat

This commit is contained in:
Yeboii1237 2025-04-01 05:38:15 +13:00 committed by GitHub
commit f006e9aca0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,15 @@
@echo off
rem Build with g++
g++ -std=c++17 -O2 ray_voxel.cpp -o ray_voxel
if %ERRORLEVEL% NEQ 0 (
echo [Error] Compilation failed
pause
exit /b %ERRORLEVEL%
)
echo [Info] Compilation succeeded.
rem Now run the compiled program:
rem Usage: ray_voxel <metadata.json> <image_folder> <output_voxel_bin>
ray_voxel motionimages/metadata.json motionimages voxel_grid.bin