-
Notifications
You must be signed in to change notification settings - Fork 55
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
[Discussion] What should I choose, OpenGL or GR3 #153
Comments
If you start from scratch, you probably should consider to use Vulkan. The future of OpenGL is uncertain on macOS, as Apple has deprecated the OpenGL SDK (although it's stille alive). Sooner or later we will also deal with Vulkan (or MoltenVK), but we didn't have the time. |
Thanks for your kindly help! I will have a look vulkan and wgpu. Can I understand GR3 as a high-level encapsulation of graphics interfaces such as OpenGL? Instead of starting from scratch, can I add the functions I want on the basis of using GR3? |
GR3 is a software library for visualisation of 3D scenes. At the moment it supports several OpenGL implementations and implements also a software renderer. If you are fine w/ OpenGL or software rendering at the moment and don't want to start from scratch, imho you should go ahead w/ GR3. As @jheinen already mentioned GR3 has to adapt evolving 3D backends in the future, b/c OpenGL SDK on macOS has been deprecated. If you stick to the gr3 functions provided by the gr-framework and not rely on low-level OpenGL functions in your own code, your code should continue to work in the future w/ little to no changes. |
You can also have a look at spinvis which visualizes electron spins using GR3 and PyQt5. Source code refactoring is currently in progress, but the repository contains a first stable version. |
@cfelder Thanks for your explanation of GR3. It definitely saves me a lot of time choosing what I should use. I like the style and the idea of the GR3, and I still want to use it. |
Hi, I have focused on this project for a long time and wrote several python codes with it. Now I want to build a molecular visualization program like ovito, which can use python to interact and manipulate. I wonder what I should choose, OpenGL from scratch or GR3. Here are my needs:
I have read all the documents of GR's C language and found that the instructions and API instructions are very brief. Is the development focus of GR not on the C language? Should I choose Gr? If possible, I will contribute relevant code.
The text was updated successfully, but these errors were encountered: