rougier on master
"Open GL" -> "OpenGL" in docs. Merge pull request #196 from se… (compare)
push_handlers
method that you can use. If you want ton control everything from your QMainWindow class, you'll need to instantiate an EventDispatcher (let's call it dispatcher
), and the you can write dispatcher.push_handlers(window)
where window is an instance of your class. This event machinery comes from pyglet, maybe its documentation is more clear: https://pyglet.readthedocs.io/en/latest/modules/event.html
module 'glumpy.app.window.key' has no attribute 'MOD_META' in glumpy/app/window/backends/backend_qt5.py", line 331
Hi ,I try to learn glumy and exec each example, find out PolygonCollection with these file tiger.py, lasso.py ,topojson.py, topojson-picking.py will be fail with
Traceback (most recent call last):
File "tiger.py", line 59, in <module>
polygons.append(vertices, color=path.style.fill.rgba)
File "/home/user/anaconda3/lib/python3.7/site-packages/glumpy/graphics/collections/raw_polygon_collection.py", line 83, in append
vertices, indices = triangulate(points)
File "/home/user/anaconda3/lib/python3.7/site-packages/glumpy/graphics/collections/raw_polygoncollection.py", line 21, in triangulate
'segments': segments}, "p")
File "/home/user/anaconda3/lib/python3.7/site-packages/triangle/tri.py", line 73, in triangulate
tri, = triang(tri, opts)
File "core.pyx", line 247, in triangle.core.triang
File "core.pyx", line 219, in triangle.core.fin
File "core.pyx", line 74, in triangle.core.ii._set
File "core.pyx", line 115, in triangle.core._wrap.check
AssertionError
view.camera.transform.matrix
[[ 1. 0. 0. 0. ]
[ 0. 1. 0. 0. ]
[ 0. -0. 1. 0. ]
[-474.40224 -308.97636 923.01759 1. ]]
view.camera._projection.matrix
[[ 0.00011 0. 0. 0. ]
[ 0. 0.0001 0. 0. ]
[ 0. 0. -0. 0. ]
[-0. -0. -0. 1. ]]