refined wording
This commit is contained in:
parent
cb774b40f3
commit
4998670986
84
README.md
84
README.md
@ -2,29 +2,56 @@
|
|||||||
Cross platform console based bella render server/client
|
Cross platform console based bella render server/client
|
||||||
|
|
||||||
A command line bella renderer with encrypted networking with an interactive
|
A command line bella renderer with encrypted networking with an interactive
|
||||||
TUI ( text user interface )for uploading .bsz scenes, starting
|
TUI ( text user interface )for uploading .bsz scenes, starting renders, downloading images. Additional commands allow viewing progress, stopping renders, etc
|
||||||
render, downloading images. Additional commands allow viewing progress, stopping renders, etc
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
The same executable can be started in either client or server mode
|
|
||||||
|
|
||||||
Client
|
command: help, send, get, stat, render, stop
|
||||||
```
|
|
||||||
bellatui
|
|
||||||
|
|
||||||
========= Bella Engine SDK (version: 24.6.0.0, build date: 1734912267) =========
|
# Precompile Binaries
|
||||||
bellazmq connecting to server...
|
|
||||||
connection successful
|
[Windows](https://a4g4.c14.e2-1.dev/bellatui/bellatui-win.zip)
|
||||||
|
|
||||||
|
[MacOS](https://a4g4.c14.e2-1.dev/bellatui/bellatui-mac.zip)
|
||||||
```
|
```
|
||||||
|
You need to know how Apple Gatekeeper because non-notarized executables are blocked by default.
|
||||||
|
```
|
||||||
|
|
||||||
|
[Ubuntu Linux](https://a4g4.c14.e2-1.dev/bellatui/bellatui-linux.tar.gz)
|
||||||
|
```
|
||||||
|
apt install -y libsodium-dev
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
### Client
|
||||||
|
```
|
||||||
|
bellatui --serverAddress:discord.beantip.ca
|
||||||
|
|
||||||
|
bellatui connecting to discord.beantip.ca ...
|
||||||
|
Connection to discord.beantip.ca successful
|
||||||
|
send orange-juice.bsz
|
||||||
|
Sending:orange-juice.bsz
|
||||||
|
Server Readiness: RDY
|
||||||
|
sending
|
||||||
|
.........................................................................
|
||||||
|
render
|
||||||
|
Server response: render started...type stat to get progress
|
||||||
|
stat
|
||||||
|
Server response: Saturn | Elapsed: 6s | Bench: 1704
|
||||||
|
stat
|
||||||
|
Server response: Saturn | Elapsed: 41s | Progress: 22.65%
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
Server
|
Server
|
||||||
```
|
```
|
||||||
bellatui -s
|
bellatui --server
|
||||||
========= Bella Engine SDK (version: 24.6.0.0, build date: 1734912267) =========
|
BellaTUI server started ...
|
||||||
Entered: Public Key Serving Mode
|
Awaiting new client ...
|
||||||
|
expect
|
||||||
Client connected
|
Client connected
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Build
|
## Build
|
||||||
|
|
||||||
##MacOS
|
##MacOS
|
||||||
@ -96,7 +123,17 @@ git clone https://github.com/zeromq/libzmq
|
|||||||
cd libzmq
|
cd libzmq
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
|
|
||||||
|
This one
|
||||||
cmake .. -DENABLE_CURVE=ON -DWITH_LIBSODIUM=/usr/include/sodium
|
cmake .. -DENABLE_CURVE=ON -DWITH_LIBSODIUM=/usr/include/sodium
|
||||||
|
|
||||||
|
|
||||||
|
cmake .. -DENABLE_DRAFTS=OFF -DWITH_TLS=OFF -DENABLE_CURVE=ON -DWITH_LIBSODIUM=/usr/include/sodium
|
||||||
|
|
||||||
|
cmake .. -DENABLE_DRAFTS=OFF -DWITH_TLS=OFF -DENABLE_CURVE=ON -DWITH_LIBSODIUM=/usr/include/sodium -DSODIUM_INCLUDE_DIRS=/usr/include -DSODIUM_LIBRARIES=/usr/lib/x86_64-linux-gnu/libsodium.a
|
||||||
|
|
||||||
|
cmake .. -DENABLE_DRAFTS=OFF -DWITH_TLS=OFF -DENABLE_CURVE=ON -DWITH_LIBSODIUM=../../libsodium/src/libsodium/include/sodium -DSODIUM_INCLUDE_DIRS=../../libsodium/src/libsodium/include -DSODIUM_LIBRARIES=../../libsodium/src/libsodium/.libs/libsodium.a
|
||||||
|
|
||||||
make -j4
|
make -j4
|
||||||
make install
|
make install
|
||||||
```
|
```
|
||||||
@ -121,18 +158,29 @@ make
|
|||||||
|
|
||||||
# Windows
|
# Windows
|
||||||
https://aka.ms/vs/17/release/vs_BuildTools.exe
|
https://aka.ms/vs/17/release/vs_BuildTools.exe
|
||||||
[] Desktop development wiht C++
|
|
||||||
|
|
||||||
|
[ ] Desktop development wiht C++
|
||||||
|
|
||||||
|
Get bella_engine_sdk
|
||||||
|
|
||||||
|
#### x64 Developer console
|
||||||
|
```
|
||||||
git clone https://github.com/microsoft/vcpkg.git
|
git clone https://github.com/microsoft/vcpkg.git
|
||||||
cd vcpkg
|
cd vcpkg
|
||||||
vcpkg install boost:x64-windows boost:x86-windows zeromq[sodium]:x64-windows zeromq[sodium]:x86-windows
|
vcpkg install zeromq[sodium]:x64-windows
|
||||||
|
|
||||||
x64 Developer console
|
|
||||||
```
|
|
||||||
git clone https://github.com/oomer/bellatui.git
|
git clone https://github.com/oomer/bellatui.git
|
||||||
|
|
||||||
msbuild bellatui.vcxproj /p:Configuration=release /p:Platform=x64 /p:PlatformToolset=v143
|
msbuild bellatui.vcxproj /p:Configuration=release /p:Platform=x64 /p:PlatformToolset=v143
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Build directories be relative
|
||||||
|
```
|
||||||
|
--folder
|
||||||
|
--bella_engine_sdk
|
||||||
|
--bellatui
|
||||||
|
```
|
||||||
|
|
||||||
# MacOS
|
# MacOS
|
||||||
|
|
||||||
Use this when homebrew commands are needed
|
Use this when homebrew commands are needed
|
||||||
@ -191,8 +239,6 @@ make
|
|||||||
g++ -std=c++11 server.cpp -o server -I../libzmq/include -I../cppzmq -L../libzmq/build/lib -lzmq -Wl,-rpath,.
|
g++ -std=c++11 server.cpp -o server -I../libzmq/include -I../cppzmq -L../libzmq/build/lib -lzmq -Wl,-rpath,.
|
||||||
g++ -std=c++11 server.cpp -o server -I../libzmq/include -I../cppzmq -L../libzmq/build/lib -lzmq -Wl,-rpath,.
|
g++ -std=c++11 server.cpp -o server -I../libzmq/include -I../cppzmq -L../libzmq/build/lib -lzmq -Wl,-rpath,.
|
||||||
|
|
||||||
# Windows
|
|
||||||
```
|
|
||||||
cl /std:c++17 client.cpp -Fe:client.exe -Ic:\Users\cupcake\github\vcpkg\installed\x64-windows\include\ /link c:\Users\cupcake\github\vcpkg\installed\x64-windows\lib\libzmq-mt-4_3_5.lib
|
cl /std:c++17 client.cpp -Fe:client.exe -Ic:\Users\cupcake\github\vcpkg\installed\x64-windows\include\ /link c:\Users\cupcake\github\vcpkg\installed\x64-windows\lib\libzmq-mt-4_3_5.lib
|
||||||
|
|
||||||
cl /std:c++17 server.cpp -Fe:server.exe -Ic:\Users\cupcake\github\vcpkg\installed\x64-windows\include\ /link c:\Users\cupcake\github\vcpkg\installed\x64-windows\lib\libzmq-mt-4_3_5.lib
|
cl /std:c++17 server.cpp -Fe:server.exe -Ic:\Users\cupcake\github\vcpkg\installed\x64-windows\include\ /link c:\Users\cupcake\github\vcpkg\installed\x64-windows\lib\libzmq-mt-4_3_5.lib
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user