Skip to content

A Gtkmm (4.0 & 3.0) application template for building tools that require an OpenGL context

Notifications You must be signed in to change notification settings

satyajithj/Gtkmm-OpenGL-Template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gtkmm OpenGL Template

This is a Gtkmm (GTK C++ interface) application template which can be used for building tools that require an OpenGL context (2D or 3D).

A few basic elements have been implemented and more will be added when time permits.

Contributions are welcome! ❤️


Preview image


Implemented elements

  • Mouse callbacks: pointer and scroll

  • Keyboard callbacks: key presses

    • (Un) fullscreen: F11
  • Cameras:

    • Orthographic and perspective
    • Zoom in/out (including zoom to pointer focus)
    • Reset position

Current focus

  • Update the Makefile to develop on Linux, MacOS, and Windows
  • Sync the zoom distance for both camera projections
  • Panning controls for the camera

About

A Gtkmm (4.0 & 3.0) application template for building tools that require an OpenGL context

Resources

Stars

Watchers

Forks