A openGL(R) abstraction for my projects Allow using a text-only shader (to keep text in simple color, without light).
22.9.22 for configure: added option -Dgles=true to use GL ES 3 e.g. useful on Raspi's (suggestion same use on programs)
- requires genericImg so read&build&install it first.
For Debian you may need the following setup steps (run with sudo or as root):
apt-get install libglm-dev libglu1-mesa-dev
To build use from project dir:
meson setup build -Dprefix=/usr cd build meson compile
for Raspi setup with:
meson setup build -Dprefix=/usr -Dgles=true
For windows (get msys2 https://www.msys2.org/) the files shoud adapt:
pacman -S ${MINGW_PACKAGE_PREFIX}-glm
meson setup build -Dprefix=${MINGW_PREFIX}
cd build
meson compile
The lib requires to be installed before use so (on linux run as root):
meson install
The programs using this lib come with some navigation options:
Without a selection the option work on the whole scene, otherwise for the selected item:
Left click -> select item (only shapes will be selectable (not text)) (some geometries e.g. trees will move dependent entries as well, and some additional infos might be displayed when selected e.g. a process name)
Left double click -> show options like "reset"
Mouse scroll -> change distance
Drag right mouse buttton -> rotate
Drag middle mouse button -> offset