# joomer-ftxui-bsz-browser Terminal User Interface for file browsing using ftxui # Demonstrates - file navigation # Usage ``` joomer-ftxui-bsz-browser [path] [path] - path to start browsing - use arrow keys or mouse to navigate directories - alternatively you can press the numbers on your keyboard to select directories ``` # TODO 1. file browser for .bsz scene files 2. when .bsz is selected, it loads scenes 3. after scene is loaded query scene for default resolution, number of objects, number of cameras 4. Display info box about scene after load 5. Think about tight design for tui layout, intuitive and logical. 6. Show render button, prevent file browsing until render is done 7. display progress bar based on % values from stdout 8. Change render button to say "stop", break render loop if pressed 9. write out png with name of .bsz file ie teapot.bsz -> teapot.png optional a. Add pull down menu for resolution override option, have default, 100x100, 256x256,512x512 b. Add outputname override c. Add pulldown to select camera, only available after scene is queried # Build ``` learndir/ └── FTXUI/ └── joomer-ftxui-bsz-browser/ └── vcpkg/ ``` ## Ubuntu Linux (kasm-ubuntu) ``` mkdir learndir cd learndir git clone https://github.com/ArthurSonzogni/FTXUI cd FTXUI mkdir build cd build cmake .. cmake --build . --config Release cd ../.. git clone https://git.indoodle.com/jason/joomer-ftxui-bsz-browser.git cd joomer-ftxui-bsz-browser make all bin/Linux/release/joomer-ftxui-bsz-browser ``` ## Windows (win10 enterprise) - Download Visual Studio Community Edition 2022 - Run VisualStudioSetup.exe - Workload = [x] Desktop developemnt with C++ - Individial components = [x] Git For Windows Run **x64 Native Tools Command Prompt for VS 2022** ``` mkdir learndir cd learndir git clone https://github.com/ArthurSonzogni/FTXUI mkdir FTXUI\build cd FTXUI\build cmake .. cmake --build . --config Release cd ..\.. git clone https://git.indoodle.com/jason/joomer-ftxui-bsz-browser.git cd joomer-ftxui-bsz-browser msbuild joomer-ftxui-bsz-browser.vcxproj bin\Release\joomer-ftxui-bsz-browser.exe ```