62 lines
1.4 KiB
Plaintext
62 lines
1.4 KiB
Plaintext
PGV
|
|
|
|
Polynomial Graphical Viewer
|
|
|
|
I am personally planning to use it for simple terrain generation
|
|
as an alternative to noise maps.
|
|
|
|
TECHNICALS
|
|
|
|
The underlying API renderer is BGFX. Source code is in C++.
|
|
Intermediate GUI is ran with the help of dear-imgui and a
|
|
custom port of it to BGFX - which I took from the bigg
|
|
framework (bgfx + imgui + glfw + glm).
|
|
|
|
For the time being, this remains tested only on a modern
|
|
Linux kernel. Patches and pull requests that highten the
|
|
project's value or make it cross-platform are more than
|
|
welcome. For any technical questions regarding the tool's
|
|
source code, please contact me via email.
|
|
|
|
BUILD AND RUN
|
|
|
|
git clone http://git.0xdeadbeer.xyz/0xdeadbeer/pgv
|
|
|
|
cd pgv
|
|
|
|
git submodule update --init --recursive
|
|
|
|
cd thirdparty/bgfx.cmake
|
|
|
|
mkdir build
|
|
|
|
cmake ..
|
|
|
|
make -j16 # adjust this number accordingly
|
|
|
|
# $proj_root is the inside location of your root project - location of the pgv repository
|
|
|
|
ln -s $proj_root/thirdparty/bgfx.cmake/build/cmake/bgfx/shaderc $proj_root/tools/shaderc
|
|
|
|
ln -s $proj_root/thirdparty/bgfx.cmake/build/cmake/bimg/texturec $proj_root/tools/texturec
|
|
|
|
cd $proj_root
|
|
|
|
mkdir build
|
|
|
|
cd build
|
|
|
|
cmake ..
|
|
|
|
make -j16 # adjust this number accordingly
|
|
|
|
./pgv
|
|
|
|
SUBMODULES
|
|
|
|
bgfx.cmake
|
|
glfw.cmake
|
|
imgui.cmake
|
|
assimp.cmake
|
|
glm.cmake
|