Re: [PyOpenGL-Users] As of 2016, what is state-of-the-art in 3D with Python?
Brought to you by:
mcfletch
From: Nicolas P. R. <Nic...@in...> - 2016-08-12 09:24:38
|
GLFW is a good choice for the context handling since glut is now deprecated. You can find Python bindings at: https://github.com/rougier/pyglfw For scientific visualization, you might be interested in: http://glumpy.github.io and http://vispy.org Pyglet (https://pyglet.readthedocs.io/en/pyglet-1.2-maintenance/) is great but it seems unmaintained and it does not use the dynamic pipeline (a.k.a. shaders) For a very basic python tutorial on modern GL, you can have a look at: http://glumpy.readthedocs.io/en/latest/tutorial/introduction.html Next, you can look at library such as ogre (http://www.ogre3d.org) that provided python bindings. Mayavi (http://docs.enthought.com/mayavi/mayavi/) is also worth a look and may have already solved your problem. Nicolas > On 12 Aug 2016, at 11:10, Michael Bieri <mi...@gm...> wrote: > > Hi all > > I'm currently trying to dive into the world of 2D/3D graphics with OpenGL. I plan to use it for scientific visualisation. Normally I'll have data that's already close to input data for OpenGL, for example a list of points + a list of indices creating triangles form the points + a color value for each triangle. I plan to use it from Python. > > There's a lot of resources about OpenGL with Python, but I'm not quite sure what's state-of-the-art currently since some resources are several years old. So a few questions: > - Is pyopengl still state-of-the-art or are there better Python bindings for a new project? > - Which context library and which bindings is most recommended as of 2016? I think there's the choice between GLFW, OpenGL Context and GLUT, plus different bindings for each. > > It's relatively difficult to get good answers on these questions since not too many people do OpenGL with Python. So hopefully the mailing list can help a bit. > > Best regards > Michael > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic > patterns at an interface-level. Reveals which users, apps, and protocols are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning reports. http://sdm.link/zohodev2dev_______________________________________________ > PyOpenGL Homepage > http://pyopengl.sourceforge.net > _______________________________________________ > PyOpenGL-Users mailing list > PyO...@li... > https://lists.sourceforge.net/lists/listinfo/pyopengl-users |