Skip to main content

npm basic commands


  1.  Start with your own set of images, make sure they are not blurry. Choose approximately 30 - 150 images.
  2. put your images in C:\Users\student\python\instant-ngp\data\nerf\YOUR_PROJECT_FOLDER\images
  3. open anaconda shell
  4.  activate the instant-ngp environment
    conda activate instant-ngp
  5. navigate with cd to your project folder
    cd python/instant-ngp/data/nerf/YOUR_PROJECT_FOLDER
  6. execute the "colmap2nerf.py" script from your project folder
    python "C:\Users\student\python\instant-ngp\scripts\colmap2nerf.py" --colmap_matcher exhaustive --run_colmap --aabb_scale 16
  7. wait until the matching has finished - a few more files in your project folder have been created:

  8. 📁colmap_sparse
    📁colmap_text
    📁images
    📄base.msgpack
    📄base_cam.json
    📄colmap.db
    📄transforms.json

 

 

 

 

rendering

python scripts/render.py --scene data/nerf/sj --n_seconds 5 --fps 60 --render_name test --width 1920 --height 1080Lorem ipsum dolor sit amet.

(run from developer command prompt)

.\build\testbed --scene data\nerf\kalmar