first commit
This commit is contained in:
commit
6150c528ca
84
README.md
Normal file
84
README.md
Normal file
@ -0,0 +1,84 @@
|
||||
# joomer-bella-basic-renderer
|
||||
basic rendering using bella engine sdk
|
||||
|
||||
<img src="resources/poomer-bella-basic-renderer.png">
|
||||
|
||||
# Demonstrates
|
||||
- basic rendering
|
||||
- bella events to monitor render process
|
||||
|
||||
# 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
|
||||
```
|
||||
|
||||
[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
|
||||
|
||||
# Build
|
||||
```
|
||||
learndir/
|
||||
└── joomer-bella-basic-renderer/
|
||||
└── 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
|
||||
make all -j4
|
||||
bin/Linux/release/joomer-bella-basic-renderer -r
|
||||
file ./joomer-bella-basic-renderer.png
|
||||
```
|
||||
|
||||
## 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