# poomer-raylib-bella_onimage c++ prototype GUI interface for [Bella Path Tracer](https://bellarender.com) using raylib/raygui with command line build instructions for MacOS/Win/Linux Alt text Alt text Alt text # Build ``` workdir/ ├── bella_engine_sdk/ ├── raylib/ ├── raygui/ └── poomer-raylib-bella_onimage/ ``` # MacOS ``` cd ~ mkdir workdir cd workdir curl -LO https://github.com/Kitware/CMake/releases/download/v3.31.6/cmake-3.31.6-macos-universal.dmg open cmake-3.31.6-macos-universal.dmg curl -LO https://downloads.bellarender.com/bella_engine_sdk-24.6.0.dmg hdiutil attach bella_engine_sdk-24.6.0.dmg cp -R /Volumes/Bella\ Engine\ SDK\ 24.6.0/bella_engine_sdk . git clone https://github.com/raysan5/raylib.git mkdir -p raylib/build cd raylib/build /Applications/CMake.app/Contents/bin/cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release .. make -j4 cd ../.. git clone https://github.com/raysan5/raygui.git git clone https://git.indoodle.com/oomer/oom.git git clone https://git.indoodle.com/oomer/poomer-raylib-bella_onimage.git cd poomer-raylib-bella_onimage make bin/Darwin/release/poomer-raylib-bella_onimage ``` # Linux ``` sudo apt install -y build-essential curl git cmake sudo apt install -y libx11-dev sudo apt install -y xorg-dev cd ~ mkdir workdir cd workdir curl -LO https://downloads.bellarender.com/bella_engine_sdk-24.6.0.tar.gz tar -xvf bella_engine_sdk-24.6.0.tar.gz git clone https://github.com/raysan5/raylib.git mkdir -p raylib/build cd raylib/build cmake -DBUILD_SHARED_LIBS=ON -DUSE_EXTERNAL_GLFW=OFF .. make -j4 cd ../.. git clone https://github.com/raysan5/raygui.git git clone https://git.indoodle.com/oomer/oom.git git clone https://git.indoodle.com/oomer/poomer-raylib-bella_onimage.git cd poomer-raylib-bella_onimage make bin/Linux/release/poomer-raylib-bella_onimage -h ``` # Windows - Install Visual Studio Community 2022 - Add Desktop development with C++ workload - Launch x64 Native tools Command Prompt for VS2022 ``` cd %USERPROFILE% mkdir workdir cd workdir mkdir bella_engine_sdk cd bella_engine_sdk curl -LO https://downloads.bellarender.com/bella_engine_sdk-24.6.0.zip tar -xf bella_engine_sdk-24.6.0.zip cd .. git clone https://github.com/raysan5/raylib.git cd raylib mkdir build cd build cmake .. msbuild raylib.sln /p:Configuration=Release cd ../.. git clone https://github.com/raysan5/raygui.git git clone https://git.indoodle.com/oomer/oom.git git clone https://git.indoodle.com/oomer/poomer-raylib-bella_onimage.git cd poomer-raylib-bella_onimage msbuild poomer-raylib-bella_onimage.vcxproj /p:Configuration=release /p:Platform=x64 /p:PlatformToolset=v143 x64\release\poomer-raylib-bella_onimage.exe -h ```