first README
This commit is contained in:
parent
ac4854a850
commit
6c3e30421b
81
README.md
81
README.md
@ -1,84 +1,47 @@
|
||||
# joomer-bella-basic-renderer
|
||||
basic rendering using bella engine sdk
|
||||
# joomer-ftxui-file-browser
|
||||
Terminal User Interface for file browsing using ftxui
|
||||
|
||||
<img src="resources/poomer-bella-basic-renderer.png">
|
||||
<img src="resources/joomer-bella-basic-renderer.png">
|
||||
|
||||
# Demonstrates
|
||||
- basic rendering
|
||||
- bella events to monitor render process
|
||||
-
|
||||
- supports arrow keys or mouse navigation
|
||||
- jump in and out of directories,
|
||||
- select a file and print it's size
|
||||
|
||||
# Usage
|
||||
|
||||
```
|
||||
# Compile the program (one long line)
|
||||
cl /std:c++14 /DNDEBUG /Ibella_engine_sdk\src /EHsc joomer-bella-basic-renderer.cpp ^
|
||||
/link /LIBPATH:bella_engine_sdk\lib bella_engine_sdk.lib /OUT:joomer-bella-basic-renderer.exe
|
||||
|
||||
# Set up library path and run
|
||||
joomer-bella-basic-renderer.exe
|
||||
# Compile the program
|
||||
make all
|
||||
```
|
||||
|
||||
[todo]
|
||||
- fix typos in README.md
|
||||
- add Makefile for linux/mac
|
||||
- switch from main to DL_main
|
||||
add arg for number of sphere, randomly transform sphere in XY axes, different color, different roughness, random scale
|
||||
- create windows version
|
||||
- add numbers to select
|
||||
- display file size
|
||||
|
||||
# Build
|
||||
```
|
||||
learndir/
|
||||
└── joomer-bella-basic-renderer/
|
||||
└── FTXUI/
|
||||
└── joomer-ftxui-file-browser/
|
||||
└── build_engine_sdk/
|
||||
```
|
||||
|
||||
## MacOS (kasm-monterey)
|
||||
- [ ] Install Xcode
|
||||
```
|
||||
mkdir learndir
|
||||
cd learndir
|
||||
curl -LO https://downloads.bellarender.com/bella_engine_sdk-25.3.0-macos.zip
|
||||
unzip bella_engine_sdk-25.3.0-macos.zip
|
||||
git clone https://git.indoodle.com/jason/joomer-bella-basic-renderer.git
|
||||
cd joomer-bella-basic-renderer
|
||||
make all -j4
|
||||
bin/Darwin/release/poomer-bella-sine -r
|
||||
open ./joomer-bella-basic-renderer.png
|
||||
```
|
||||
|
||||
## Ubuntu Linux (kasm-ubuntu)
|
||||
```
|
||||
sudo apt install -y build-essential curl
|
||||
mkdir learndir
|
||||
cd learndir
|
||||
curl -LO https://downloads.bellarender.com/bella_engine_sdk-25.3.0-linux.tar.gz
|
||||
tar -xvf bella_engine_sdk-25.3.0-linux.tar.gz
|
||||
git clone https://git.indoodle.com/jason/joomer-bella-basic-renderer.git
|
||||
cd joomer-bella-basic-renderer
|
||||
git clone https://github.com/ArthurSonzogni/FTXUI
|
||||
mkdir build
|
||||
cd build
|
||||
cmake --build . --config Release
|
||||
cd ..
|
||||
git clone https://git.indoodle.com/jason/joomer-ftxui-file-browser.git
|
||||
cd joomer-ftxui-file-browser.git
|
||||
make all -j4
|
||||
bin/Linux/release/joomer-bella-basic-renderer -r
|
||||
file ./joomer-bella-basic-renderer.png
|
||||
bin/Linux/release/joomer-ftxui-file-browser
|
||||
```
|
||||
|
||||
## Windows (win10)
|
||||
- [optioanl] Install https://git-scm.com
|
||||
|
||||
- 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**
|
||||
```
|
||||
cd %USERPROFILE%
|
||||
mkdir learndir
|
||||
cd learndir
|
||||
curl -LO https://downloads.bellarender.com/bella_engine_sdk-25.3.0-win32.zip
|
||||
tar -xf bella_engine_sdk-25.3.0-win32.zip
|
||||
git clone https://git.indoodle.com/jason/joomer-bella-basic-renderer.git
|
||||
cd joomer-bella-basic-renderer
|
||||
set PATH=%PATH%;bella_engine_sdk\lib
|
||||
msbuild joomer-bella-basic-renderer.vcxproj /p:Configuration=Debug /p:Platform=x64
|
||||
joomer-bella-basic-renderer.exe
|
||||
start mspaint joomer-bella-basic-renderer.png
|
||||
```
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user