#!/bin/bash

mkdir ./assets/objects/origami/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/origami/origami_00.py --render-only --log-dir ./assets/objects/origami/dynamic_data/kplanes/origami_00

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

