#!/bin/bash

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

