Comments (5)
when will they release pyglet 2.x? for now I get 1.3.2 installed.
from moderngl-window.
I have no idea when the release is. I'm hanging around on their Discord server now : https://discord.gg/QXyegWe
from moderngl-window.
From Pyglet Discord:
Benjamin
I have my GL3+ code in a personal fork at the moment, but I plan to merge it in to the main repository as a new branch soon.
from moderngl-window.
More info
Trying with pyglet 1.3.2 and 1.4 beta like the developers suggested also trying to disable the shadow window and use 4.1 specifically.
pyglet.options['shadow_window'] = False
config.major_version = 4
config.minor_version = 1
config.forward_compatible = True
Quick Tests
moderngl.create_context(require=330)
result:
ValueError: Requested OpenGL version 330, got version 0
A CGLContextObj
is at least found, but the version was not parsed out.
moderngl.create_context()
Results in:
ModernGL: 5.5.0
vendor: NVIDIA Corporation
renderer: NVIDIA GeForce GT 650M OpenGL Engine
version: 2.1 NVIDIA-12.0.21 355.11.10.50.10.103
python: 3.7.2 (default, Jan 11 2019, 03:25:25)
[Clang 10.0.0 (clang-1000.11.45.5)]
platform: darwin
code: 0
...
mgl.Error: GLSL Compiler failed
vertex_shader
=============
ERROR: 0:2: '' : version '330' is not supported
So yep. We are getting a 2.1 context still.
from moderngl-window.
I figured this out after debugging pyglet. It was the shadow window that caused trouble. I found a way to navigate around that, so pyglet should be working on OS X even with 1.3.x.
from moderngl-window.
Related Issues (20)
- Add a PySide6 backend/example
- VAO buffer format not entirely supported
- 3.0: Rename callback functions
- Add Camera Panning HOT 1
- Multiple glTF models HOT 5
- wnd.vsync not exposed HOT 1
- Window getting maximized at creation HOT 1
- Just set window image HOT 3
- wishes for mglw.geometry module HOT 1
- run_window_config_instance
- Modifying node matrix doesn't change rendered model HOT 4
- allow to manage pygame2 USEREVENT HOT 3
- Pygame2 error: 'Event' object has no attribute 'state' HOT 5
- Examples have been flipped and have inverted color channels HOT 7
- why is resolution twice the window_size ? HOT 2
- Pypi source distribution not published for 2.4.2 HOT 2
- Add Support for Animations HOT 1
- load_scene has incorrect mesh name HOT 1
- Key press event not registered HOT 6
- Deprecate Pyrr in favour of PyGLM HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moderngl-window.