Skip to content

A OpenGL© abstraction for my projects

License

GPL-3.0, GPL-3.0 licenses found

Licenses found

GPL-3.0
LICENSE
GPL-3.0
COPYING
Notifications You must be signed in to change notification settings

github-pfeifer-syscon-de/genericGlm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

genericGlm

A OpenGL abstraction for my projects Allow using a text-only shader (to keep text in simple color, without light).

22.9.22 for configure: added --with-gles using GL ES 3 e.g. useful on Raspi's (requires same use on programs)

Requires genericImg so build&install it first.

To build use any (lin)ux:

autoreconf -fis
./configure ...
make

For Raspi e.g.:

  ./configure --prefix=/usr --with-gles

For windows (get msys2 https://www.msys2.org/) the files shoud adapt use e.g.
(use "msys2 mingw64" window/shell see tooltip)

  ./configure --prefix=/mingw64

For Debian you may need the following steps (prefix # execute with sudo/root prefix > as user):

# apt install git build-essential automake libtool
# apt install libgtkmm-3.0-dev libglm-dev libglu1-mesa-dev
> git clone https://github.com/github-pfeifer-syscon-de/genericGlm
> cd genericGlm
> autoreconf -fis
> configure --prefix=/usr
> make
# cd .../genericGlm
# make install

The configure step is where needed dependencies will popup (so check "checking for ..." and see if the answer is "yes").

If you run into trouble with the used c++20 change configure.ac AX_CXX_COMPILE_STDCXX([20]... to ...[17]...

Navigation

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

About

A OpenGL© abstraction for my projects

Topics

Resources

License

GPL-3.0, GPL-3.0 licenses found

Licenses found

GPL-3.0
LICENSE
GPL-3.0
COPYING

Stars

Watchers

Forks

Languages