erleben / OpenTissue

OpenTissue is a collection of generic algorithms and data structures for rapid development of interactive modeling and simulation.
http://www.opentissue.org
95 stars 26 forks source link

New graphics pipeline #32

Closed ricortiz closed 3 years ago

ricortiz commented 3 years ago

WIP: New Graphics pipeline that uses glfw.

This patch brings support for graphics using GLFW3. In its current state, it behaves almost the same as the old GLUT interface except for the menu.

A new generic application interface is provided and both GLUT and GLFW3 are supported. The GLUT interface was heavily refactored in order to make it work with the new application interface.

Only a single demo application converted so far (character_animation) but there is a plan to bring all the demos to GLFW3.

This is a Work In Progress.

erleben commented 3 years ago

I am currently not able to verify on Mac osx with clang11. However, changes look good. In the end I am fine with killing GLUT completely and only support GLFW3. We can just refactor how menus work etc.