MGL
ModernGL
MGL | ModernGL | |
---|---|---|
22 | 9 | |
728 | 4 | |
0.8% | - | |
4.2 | 6.7 | |
6 months ago | 3 months ago | |
C++ | C++ | |
GNU Lesser General Public License v3.0 only | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
MGL
-
Is BC6H (COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB) supported on Silicon Macs?
There's this repo which gives you OpenGL 4.6 thru Metal mappings https://github.com/openglonmetal/MGL
- Zink brings conformant OpenGL on Imagination GPUs
-
macOS OpenGL?
There is this github project that may help as a starting point to develop your code against https://github.com/openglonmetal/MGL but note it does say:
-
What is the best OpenGL version for cross platform application?
MacOS: GL 4.1 or use OpenGL 4.6 on Metal
- I want to talk about WebGPU
-
Opinion for graphic api's?
There is this https://github.com/openglonmetal/MGL which could give you OpenGL 4.6 over metal.
- Can I work on OpenGL with Mac M1 ?
- Mac + opengl
-
Using Metal framework
Are you sure about that? AFAIK OpenGL up to 4.1 is still supported on OSX. For anything higher there is also this project: https://github.com/openglonmetal/MGL
- How is Vulkan supposed to supersede OpenGL in practice?
ModernGL
-
Understanding OpenGL setup & compilation on Windows
Also have a look at this repo https://github.com/NCCA/ModernGL/ which has a load of different demos using different libraries for Context generation and extension loading.
-
I have spent two whole work days trying to install GLEW
If you follow the instructions I give to my students here https://github.com/NCCA/NGL/blob/main/Windows.md up to the vcpkg install. You can then install GLEW via vcpkg and try something like this https://github.com/NCCA/ModernGL/tree/master for your OpenGL demos.
-
Version 330 is not supported (m1 mac)
See if these simple demos work for you https://github.com/NCCA/ModernGL/tree/master (I write these on a mac first if I can, you just need vcpkg and cmake to build).
-
OpenGL not working on Mac with sdl
Also a full working demo to draw a triangle https://github.com/NCCA/ModernGL/tree/master/SDL2TriangleGLEW It uses GLEW on Windows and Linux but defines it out on the Mac, You need CMake and SDL2 installed using vcpkg but you can adapt to your install
-
Trying to draw a triangle, outputs an empty window
I have a number of demos here that use various libs to create a modern OpenGL triangle https://github.com/NCCA/ModernGL
-
Linking error
I use glfw with vcpkg which will download and build it for you. Makes things a little easier as you can do it all with CMake. This example (showing OpenGL and GLEW with GLFW) should give you all you need if you want to do it this way. https://github.com/NCCA/ModernGL/tree/master/GLFWTriangleGLEW
-
Using Metal framework
You need to ensure you use either a full core profile context or an old compatibility OpenGL 2.1 context, you can't mix and match (Like in Windows / linux). Also Vertex Array Objects are mandatory for core profile on the mac (on some older systems you can get away without using them). Personally I use either Qt or SDL2 for creating the context but you can also use other frameworks. I've got a load of simple demos using different frameworks here https://github.com/NCCA/ModernGL Including one that uses the Objective C / coca for creating the window / context.
-
dealing with multiple point clouds
Here is a basic example drawing a coloured triangle using two buffers, https://github.com/NCCA/ModernGL/blob/master/PyQtTriangle/PyQtTriangle.py You can modify this to draw points quite easily by changing the glDrawArrays(GL_TRIANGLES, 0, 3) call to use GL_POINTS
-
Good 3D Library for M1 (arm64) mac?
Creating the context you have a few options, SDL2, GLFW Qt or native mac. I wrote a series of demos to draw a basic triangle https://github.com/NCCA/ModernGL Each one uses a different tool / library. It uses cmake and vcpkg to install all the libs you need etc.
What are some alternatives?
Cemu - Cemu - Wii U emulator
meshlab - The open source mesh processing system
angle - A conformant OpenGL ES implementation for Windows, Mac, Linux, iOS and Android.
GLFW-CMake-starter - Use CMake to create a project with GLFW - Multi-platform Windows, Linux and MacOS.
TH - Deep Learning Library for Common Lisp.
ninja - a small build system with a focus on speed
LearnOpenGL - Code repository of all OpenGL chapters from the book and its accompanying website https://learnopengl.com
NGL - The NCCA Graphics Library
cl-cuda - Cl-cuda is a library to use NVIDIA CUDA in Common Lisp programs.
PowerShell - PowerShell for every system!
semantic-release - :package::rocket: Fully automated version management and package publishing
GLFW - A multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input