3b1b / 3b1b/manim

No PyOpenGL version which compatible with manimgl 1.6.1

Đang mở
#2,073 4 bình luận 1 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
Python
Star
93.8k
Fork
7.7k
Chỉ số merge pull request
Chỉ số pull request đang chờ

Mô tả

The following script has been run after installing **manimgl** **1.6.1**:
`manimgl example_scenes.py OpeningManimExample`

The running error is:
**OpenGL/error.py", line 230, in glCheckError
raise self._errorClass(
OpenGL.error.GLError: GLError(
err = 1280,
description = b'invalid enumerant',
baseOperation = glBlendFuncSeparate,
cArguments = (
GL_SRC_ALPHA,
GL_ONE_MINUS_SRC_ALPHA,
GL_ONE_MINUS_DST_ALPHA,
GL_ONE,
)
)**

File **shader_wrapper.py** contains code
gl.glBlendFuncSeparate(
# Ordinary blending for colors
gl.GL_SRC_ALPHA, gl.GL_ONE_MINUS_SRC_ALPHA,
# The effect of blending with -a / (1 - a)
# should be to cancel out
gl.GL_ONE_MINUS_DST_ALPHA, gl.GL_ONE,
)

**Environment**
OS System:
MacOS
manim version:
ManimGL v1.6.1

Here are the installed packages:
appnope 0.1.3
asttokens 2.4.1
backcall 0.2.0
colour 0.1.5
contourpy 1.1.1
cycler 0.12.1
Cython 3.0.5
decorator 5.1.1
executing 2.0.1
fonttools 4.45.0
glcontext 2.5.0
importlib-resources 6.1.1
ipython 8.12.3
isosurfaces 0.1.0
jedi 0.19.1
kiwisolver 1.4.5
manimgl 1.6.1 /Users/myname/Sandbox/manim
ManimPango 0.4.4
mapbox-earcut 1.0.1
markdown-it-py 3.0.0
matplotlib 3.7.4
matplotlib-inline 0.1.6
mdurl 0.1.2
moderngl 5.9.0
moderngl-window 2.4.5
mpmath 1.3.0
multipledispatch 1.0.0
numpy 1.24.4
packaging 23.2
parso 0.8.3
pexpect 4.8.0
pickleshare 0.7.5
Pillow 10.0.1
pip 23.3.1
prompt-toolkit 3.0.41
ptyprocess 0.7.0
pure-eval 0.2.2
pydub 0.25.1
pyglet 2.0.10
Pygments 2.17.1
pyobjc-core 10.0
pyobjc-framework-Cocoa 10.0
PyOpenGL 3.1.7
pyparsing 3.1.1
pyperclip 1.8.2
pyrr 0.10.3
python-dateutil 2.8.2
PyYAML 6.0.1
rich 13.7.0
scipy 1.10.1
screeninfo 0.8.1
setuptools 56.0.0
six 1.16.0
skia-pathops 0.8.0.post1
stack-data 0.6.3
svgelements 1.9.6
sympy 1.12
tqdm 4.66.1
traitlets 5.13.0
typing_extensions 4.8.0
validators 0.22.0
wcwidth 0.2.10
zipp 3.17.0

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.