sxyu / svox2

Plenoxels: Radiance Fields without Neural Networks
BSD 2-Clause "Simplified" License
2.79k stars 359 forks source link

Windows proc_colmap.sh can't find Colmap #27

Closed trufty closed 1 year ago

trufty commented 2 years ago

I noticed on windows that colmap was not being executed when running bash proc_colmap.sh <img_dir> leaving me with a folder of resized images and nothing else. I do have it on my environment path.

Temporarily fixed the issue by adding the absolute path kike <path to colmap folder>/colmap.bat everywhere the colmap command string is being built here: https://github.com/sxyu/svox2/blob/59984d6c4fd3d713353bafdcb011646e64647cc7/opt/scripts/run_colmap.py#L193

But I believe after some research that the correct windows command should be colmap.bat <commands> and not colmap <commands> like in run_colmap.py. So try this first.

Hope it helps someone!

sxyu commented 1 year ago

We do not support Windows officially (have only tried on Linux). Thanks for the tip!