#!/bin/bash

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

