Polynomial Graphical Viewer
Go to file
2025-02-06 23:06:15 +01:00
content init: prepare the repository for work 2025-02-06 23:06:15 +01:00
include init: prepare the repository for work 2025-02-06 23:06:15 +01:00
models init: prepare the repository for work 2025-02-06 23:06:15 +01:00
shaders init: prepare the repository for work 2025-02-06 23:06:15 +01:00
src init: prepare the repository for work 2025-02-06 23:06:15 +01:00
thirdparty init: prepare the repository for work 2025-02-06 23:06:15 +01:00
.gitignore init: prepare the repository for work 2025-02-06 23:06:15 +01:00
.gitmodules init: prepare the repository for work 2025-02-06 23:06:15 +01:00
CMakeLists.txt init: prepare the repository for work 2025-02-06 23:06:15 +01:00
README init: prepare the repository for work 2025-02-06 23:06:15 +01:00

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