#!/bin/bash

mkdir ./assets/objects/puzzle/dynamic_data/kplanes/traj
PYTHONPATH='../models/K-Planes-BRICS/' python ../models/K-Planes-BRICS/plenoxels/main.py --config-path ../models/K-Planes-BRICS/plenoxels/configs/final/Brics/puzzle/puzzle_00.py --render-only --log-dir ./assets/objects/puzzle/dynamic_data/kplanes/puzzle_00

PYTHONPATH='../models/K-Planes-BRICS/' python ../models/K-Planes-BRICS/plenoxels/main.py --config-path ../models/K-Planes-BRICS/plenoxels/configs/final/Brics/puzzle/puzzle_01.py --render-only --log-dir ./assets/objects/puzzle/dynamic_data/kplanes/puzzle_01

PYTHONPATH='../models/K-Planes-BRICS/' python ../models/K-Planes-BRICS/plenoxels/main.py --config-path ../models/K-Planes-BRICS/plenoxels/configs/final/Brics/puzzle/puzzle_02.py --render-only --log-dir ./assets/objects/puzzle/dynamic_data/kplanes/puzzle_02

PYTHONPATH='../models/K-Planes-BRICS/' python ../models/K-Planes-BRICS/plenoxels/main.py --config-path ../models/K-Planes-BRICS/plenoxels/configs/final/Brics/puzzle/puzzle_03.py --render-only --log-dir ./assets/objects/puzzle/dynamic_data/kplanes/puzzle_03

PYTHONPATH='../models/K-Planes-BRICS/' python ../models/K-Planes-BRICS/plenoxels/main.py --config-path ../models/K-Planes-BRICS/plenoxels/configs/final/Brics/puzzle/puzzle_04.py --render-only --log-dir ./assets/objects/puzzle/dynamic_data/kplanes/puzzle_04

PYTHONPATH='../models/K-Planes-BRICS/' python ../models/K-Planes-BRICS/plenoxels/main.py --config-path ../models/K-Planes-BRICS/plenoxels/configs/final/Brics/puzzle/puzzle_05.py --render-only --log-dir ./assets/objects/puzzle/dynamic_data/kplanes/puzzle_05

PYTHONPATH='../models/K-Planes-BRICS/' python ../models/K-Planes-BRICS/plenoxels/main.py --config-path ../models/K-Planes-BRICS/plenoxels/configs/final/Brics/puzzle/puzzle_06.py --render-only --log-dir ./assets/objects/puzzle/dynamic_data/kplanes/puzzle_06

PYTHONPATH='../models/K-Planes-BRICS/' python ../models/K-Planes-BRICS/plenoxels/main.py --config-path ../models/K-Planes-BRICS/plenoxels/configs/final/Brics/puzzle/puzzle_07.py --render-only --log-dir ./assets/objects/puzzle/dynamic_data/kplanes/puzzle_07

PYTHONPATH='../models/K-Planes-BRICS/' python ../models/K-Planes-BRICS/plenoxels/main.py --config-path ../models/K-Planes-BRICS/plenoxels/configs/final/Brics/puzzle/puzzle_08.py --render-only --log-dir ./assets/objects/puzzle/dynamic_data/kplanes/puzzle_08

PYTHONPATH='../models/K-Planes-BRICS/' python ../models/K-Planes-BRICS/plenoxels/main.py --config-path ../models/K-Planes-BRICS/plenoxels/configs/final/Brics/puzzle/puzzle_09.py --render-only --log-dir ./assets/objects/puzzle/dynamic_data/kplanes/puzzle_09

PYTHONPATH='../models/K-Planes-BRICS/' python ../models/K-Planes-BRICS/plenoxels/main.py --config-path ../models/K-Planes-BRICS/plenoxels/configs/final/Brics/puzzle/puzzle_10.py --render-only --log-dir ./assets/objects/puzzle/dynamic_data/kplanes/puzzle_10

PYTHONPATH='../models/K-Planes-BRICS/' python ../models/K-Planes-BRICS/plenoxels/main.py --config-path ../models/K-Planes-BRICS/plenoxels/configs/final/Brics/puzzle/puzzle_11.py --render-only --log-dir ./assets/objects/puzzle/dynamic_data/kplanes/puzzle_11

PYTHONPATH='../models/K-Planes-BRICS/' python ../models/K-Planes-BRICS/plenoxels/main.py --config-path ../models/K-Planes-BRICS/plenoxels/configs/final/Brics/puzzle/puzzle_12.py --render-only --log-dir ./assets/objects/puzzle/dynamic_data/kplanes/puzzle_12

PYTHONPATH='../models/K-Planes-BRICS/' python ../models/K-Planes-BRICS/plenoxels/main.py --config-path ../models/K-Planes-BRICS/plenoxels/configs/final/Brics/puzzle/puzzle_13.py --render-only --log-dir ./assets/objects/puzzle/dynamic_data/kplanes/puzzle_13

PYTHONPATH='../models/K-Planes-BRICS/' python ../models/K-Planes-BRICS/plenoxels/main.py --config-path ../models/K-Planes-BRICS/plenoxels/configs/final/Brics/puzzle/puzzle_14.py --render-only --log-dir ./assets/objects/puzzle/dynamic_data/kplanes/puzzle_14

PYTHONPATH='../models/K-Planes-BRICS/' python ../models/K-Planes-BRICS/plenoxels/main.py --config-path ../models/K-Planes-BRICS/plenoxels/configs/final/Brics/puzzle/puzzle_15.py --render-only --log-dir ./assets/objects/puzzle/dynamic_data/kplanes/puzzle_15

PYTHONPATH='../models/K-Planes-BRICS/' python ../models/K-Planes-BRICS/plenoxels/main.py --config-path ../models/K-Planes-BRICS/plenoxels/configs/final/Brics/puzzle/puzzle_16.py --render-only --log-dir ./assets/objects/puzzle/dynamic_data/kplanes/puzzle_16

PYTHONPATH='../models/K-Planes-BRICS/' python ../models/K-Planes-BRICS/plenoxels/main.py --config-path ../models/K-Planes-BRICS/plenoxels/configs/final/Brics/puzzle/puzzle_17.py --render-only --log-dir ./assets/objects/puzzle/dynamic_data/kplanes/puzzle_17

PYTHONPATH='../models/K-Planes-BRICS/' python ../models/K-Planes-BRICS/plenoxels/main.py --config-path ../models/K-Planes-BRICS/plenoxels/configs/final/Brics/puzzle/puzzle_18.py --render-only --log-dir ./assets/objects/puzzle/dynamic_data/kplanes/puzzle_18

PYTHONPATH='../models/K-Planes-BRICS/' python ../models/K-Planes-BRICS/plenoxels/main.py --config-path ../models/K-Planes-BRICS/plenoxels/configs/final/Brics/puzzle/puzzle_19.py --render-only --log-dir ./assets/objects/puzzle/dynamic_data/kplanes/puzzle_19

PYTHONPATH='../models/K-Planes-BRICS/' python ../models/K-Planes-BRICS/plenoxels/main.py --config-path ../models/K-Planes-BRICS/plenoxels/configs/final/Brics/puzzle/puzzle_20.py --render-only --log-dir ./assets/objects/puzzle/dynamic_data/kplanes/puzzle_20

PYTHONPATH='../models/K-Planes-BRICS/' python ../models/K-Planes-BRICS/plenoxels/main.py --config-path ../models/K-Planes-BRICS/plenoxels/configs/final/Brics/puzzle/puzzle_21.py --render-only --log-dir ./assets/objects/puzzle/dynamic_data/kplanes/puzzle_21

PYTHONPATH='../models/K-Planes-BRICS/' python ../models/K-Planes-BRICS/plenoxels/main.py --config-path ../models/K-Planes-BRICS/plenoxels/configs/final/Brics/puzzle/puzzle_22.py --render-only --log-dir ./assets/objects/puzzle/dynamic_data/kplanes/puzzle_22

PYTHONPATH='../models/K-Planes-BRICS/' python ../models/K-Planes-BRICS/plenoxels/main.py --config-path ../models/K-Planes-BRICS/plenoxels/configs/final/Brics/puzzle/puzzle_23.py --render-only --log-dir ./assets/objects/puzzle/dynamic_data/kplanes/puzzle_23

PYTHONPATH='../models/K-Planes-BRICS/' python ../models/K-Planes-BRICS/plenoxels/main.py --config-path ../models/K-Planes-BRICS/plenoxels/configs/final/Brics/puzzle/puzzle_24.py --render-only --log-dir ./assets/objects/puzzle/dynamic_data/kplanes/puzzle_24

PYTHONPATH='../models/K-Planes-BRICS/' python ../models/K-Planes-BRICS/plenoxels/main.py --config-path ../models/K-Planes-BRICS/plenoxels/configs/final/Brics/puzzle/puzzle_25.py --render-only --log-dir ./assets/objects/puzzle/dynamic_data/kplanes/puzzle_25

PYTHONPATH='../models/K-Planes-BRICS/' python ../models/K-Planes-BRICS/plenoxels/main.py --config-path ../models/K-Planes-BRICS/plenoxels/configs/final/Brics/puzzle/puzzle_26.py --render-only --log-dir ./assets/objects/puzzle/dynamic_data/kplanes/puzzle_26

PYTHONPATH='../models/K-Planes-BRICS/' python ../models/K-Planes-BRICS/plenoxels/main.py --config-path ../models/K-Planes-BRICS/plenoxels/configs/final/Brics/puzzle/puzzle_27.py --render-only --log-dir ./assets/objects/puzzle/dynamic_data/kplanes/puzzle_27

PYTHONPATH='../models/K-Planes-BRICS/' python ../models/K-Planes-BRICS/plenoxels/main.py --config-path ../models/K-Planes-BRICS/plenoxels/configs/final/Brics/puzzle/puzzle_28.py --render-only --log-dir ./assets/objects/puzzle/dynamic_data/kplanes/puzzle_28

PYTHONPATH='../models/K-Planes-BRICS/' python ../models/K-Planes-BRICS/plenoxels/main.py --config-path ../models/K-Planes-BRICS/plenoxels/configs/final/Brics/puzzle/puzzle_29.py --render-only --log-dir ./assets/objects/puzzle/dynamic_data/kplanes/puzzle_29

ffmpeg -y -framerate 30 -i ./assets/objects/puzzle/dynamic_data/kplanes/traj/%05d.png -c:v libx264 -b:v 20M -pix_fmt yuv420p ./assets/objects/puzzle/dynamic_data/kplanes/traj.mp4

