-
Notifications
You must be signed in to change notification settings - Fork 311
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Plugins] Add SofaGLFW GUI #2062
Conversation
@@ -0,0 +1,13 @@ | |||
cmake_minimum_required(VERSION 3.11) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we are usually compatible in 3.12 ..
Very nice work @fredroy 👏 👏 👏 I have 2 side questions:
|
Hum, could be in the project, as there is one executable (standalone glfw launcher), but there is also one library (which can be used for runSofa as a plugin; this one is very similar to SofaQuiQt if you want)
Of course, my repo was more a sandbox, once this is a bit tested by people, we can move it into the sofa-framework organization. |
* add sofaglfw external project * Update ExternalProjectConfig.cmake.in * move dir * update repo move * Update ExternalProjectConfig.cmake.in Co-authored-by: Guillaume Paran <guillaume.paran@sofa-framework.org>
https://github.com/fredroy/SofaGLFW
Why?
This PR brings a simple GUI based on GLFW (a spiritual heir of Glut).
It only needs SofaGUICommon, SofaBaseVisual and Sofa.GL as dependencies.
Integration of GLFW is automatic (automatic fetching and integration with cmake), and linked statically (does not need a glfw.dll to be shipped with)
This GUI is launchable with the standard runSofa (with the parameter "-g glfw"), or can be used with a (provided) stand-alone executable (which needs much less dependencies than runSofa)
Lastly, this GUI was designed to support multiple windows in the same time and multiple simulations. So when multiple simulations is possible is the future, it should be easy to modify the code to support this feature.
And multiple windows could be based on the fact having multiple Camera in the scene (feature not implemented yet)
By submitting this pull request, I acknowledge that
I have read, understand, and agree SOFA Developer Certificate of Origin (DCO).
Reviewers will merge this pull-request only if