mirror of
https://github.com/ConsistentlyInconsistentYT/Pixeltovoxelprojector.git
synced 2025-10-12 20:02:06 +00:00
15 lines
380 B
Batchfile
15 lines
380 B
Batchfile
@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
|