Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I am looking for a graphics library for 3D reconstruction research to develop my specific viewer based on some library. OpenGL seems in a low level and I have to remake the wheel everywhere. And I also tried VTK(visualization toolkit). However, it seems too abstract that I need to master many conceptions before I start. Is there any other graphics library? I prefer to program in python. So I would like the library has a python wrapper. I think something like O3D would be better. But O3D is for javascript and it seems that Google already stops the development.
Panda3D seems to be a nice 3D graphics library designed to be used in Python, although it's mostly game oriented. I've browsed the manuals a few times and it's very polished and of a high quality, it has even been used in some big studio's games (like Disney's Pirates of the Caribbean online, if I remember well).
Have you tried Pyglet with PyOpenGL? The two goes very well together. Wheaties' suggest is quite good as well, although PyOgre also has a steep learning curve, as it is indeed higher-level. On another thought, there is also PyGame, which is a Python wrapper of SDL.
I personally prefer PyOpenGL, and you can use WxPython or PyQT to create your rendering context.
Also, there is PyProcessing, which is still in early stages, but very, very nifty.
You could try mlab / Mayavi (a wrapper for VTK). There's some examples here: http://code.enthought.com/projects/mayavi/docs/development/html/mayavi/mlab.html
I have no personal experience with this, but I have heard some decent things about Pyglet
I used openGL with C++ a few years back - found it quite low level. I also have used Java3D which seemed to be a bit higher level. If you are not stuck on using python - try Java3D - very simple to get up and running.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I have been working on a face-tracking turret with OpenCV_Python 4.1.0, but I don't know many commands and functions. So I have been looking for some documentation or a cheat sheet for OpenCV_Python that has all the possible functions and brief explanations about them.
I only found a cheat sheet for OpenCV_C++ 2.7.0, but none for OpenCV_Python.
I saw the official OpenCV 3.0.0 documentation for Python as well, but that only shows a few general-purpose functions.
Is there any source or document (or book) that I can learn all the possible functions of OpenCV_Python?
There is one here:
OpenCV 4.x for Python cheat sheet
I hope it's useful ;)
The best documentation is the code followed by the API. I find myself referring to the API frequently. Although all of the C++ API is not available in Python, all of the Python functions can be found in the C++ API, since it is generated from them. Additionally it is useful to know numpy, since the Mat class is represented in Python as a numpy array.
OpenCV is kind of a hodge podge of algorithms, there are a lot of tutorials that are useful to go through to gain some understanding of the different capabilities available, but it isn't very linear.
If you do want something a little more organized and linear, I recommend finding a good book, I would start with Learning OpenCV, by Gary Bradski. Although I haven't been through the latest edition, I thought the book was helpful. There are a lot of other great books, tutorials, and blogs. Books and blogs will fail to cover in detail every available function and algorithm, so there will still be gaps to fill. Take your time and remember, Rome wasn't built in a day.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I am looking for online resource or any good e-book for developing the small games using python language with object orientated approach . my objective is to create small games in class/object fashion.
I googled it but didn't get any good link.
can anybody knows about good resource to start?
Look into Kivy (mobile/cross-platform--which uses PyGame) or PyGame for game development modules. Python is an object-oriented language so mostly everything created python should be object-oriented naturally.
Just some references to get you started:
PyGame:http://gamedevelopment.tutsplus.com/tutorials/how-to-learn-pygame--cms-24184
Kivy Docs: https://kivy.org/docs/tutorials/pong.html
Alexander Taylor: https://www.youtube.com/watch?v=F7UKmK9eQLY
First of all, these types of questions usually get closed quickly because "help me find a tool, book or resource" is generally not welcome.
That said we do our best to help anyway before questions get shut down.
I would recommend Pygame if you're a beginner, otherwise I'd suggest Pyglet every day of the week.
I just posted a good example yesterday of how you can OOP some OpenGL stuff that can be used for games that I think work really well. I also gave a semi descent description of every step to make it more logical (bare in mind I was speeded out of my brains while typing it so pardon the language):
https://stackoverflow.com/a/34861509/929999
Check that out and see if that is in your ballpark of what you hand in mind band best for luck to your journey.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
First off please do not mark this topic as a duplicate. All the relevant threads are years old. I would like updated information.
What are the pros and cons of the following libraries?
I am aware of:
PyGame, seems to be the most popular but the website is full of
broken links and no news in awhile.
Cocos2D Python, Seems good as cocos2D is all the rage right now.
Almost no support though and the stack overflow pages only seem to
get a post every couple weeks.
Pyglet, This is the only one I never tried as Cocos2D seems to use
Pyglet. Seems to update more then the cocos2D python stack overflow
but less then the pygame.
Other? Rate a better library!
I am looking for information on ease of use, preferably pythonic and up to date. But perhaps most importantly active.
Pygame and Pyglet are definitely on the radar.
Pygame
Great, popular game engine. No support for a variety of file types. But it's no longer maintained.
Pyglet
Very powerful, high support for many files. Thorough documentation. OpenGL support, intuitive.
Cocos2D
I really feel that Coco2D is just an unnecessary medium to use the underlying Pyglet engine.
After working with Pygame, Cocos2d, and Pyglet to create a series of games, I would have to recommend Pyglet.
Cocos2d and Pygame were very unwieldy. On the other hand, pyglet has a very neat API, enjoyable to work with, and very 'clean'.
It also has no external dependencies, and is wrapped on top of OpenGL, allowing you to do some pretty advanced special effects.
You can view a game (along with the source code) I created with Pyglet here.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I'm looking for a good cross platform (mac, windows & linux) python GUI framework / library that will make my life easier while writing a data analysis program. Since my data is represented by custom data classes, it would be great if the GUI framework / library could take away the burden of having to code input checks, validation, etc (i.e., create input dialogs that take care of checking for the correct data range / data type based on the data model). The only library that I've found so far is TraitsUI. Are there more (similar) libraries / frameworks out there?
Then Enthought Suite (not just TraitsUI) is the most complete as it provides everything from building the model to showing it including input validation. It plays nicely with numpy and scipy which is nice for a scientific app. Enthought UI can use Qt (via PySide or PyQt) or wx as backends.
You can also use Qt directly via PyQt or Pyside and embed plots using matplotlib or PyQwt. QtDesigner allows you to generate nice UI with very little effort. You can achieve the type of initialization, validation as with Traits but with more effort.
Have a look at http://qt.nokia.com/products/
When you said "Python", do you mean Python as a "language" irrespective of implementation (i.e. CPython)? If I take this question assuming "Python as a language, and I need a cross platform features, I would probably use Jython (Python on Java) that has good integration with Java Swift, thus our program should work on many different platforms. You may look at the GUI examples implemented in Jython in the DataMelt project
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
I want to develop a desktop application framework in Python, much like QT, but how to go about it? Any tutorials or links related to it would be helpful!
There is so many great freameworks like wxPython (Tutorial), PyQt (Tutorial), PyGtk (Tutorial) already.
You just need to try your favorite one.
You can get a pretty comprehensive list of Gui programming frameworks for Python here, http://wiki.python.org/moin/GuiProgramming
Well the best way to start is to look at the source code of the framework the other answers are talking about.
First, try to use them all to build the same application with the functionalities you expect from a framework. Them, look at how it works under the hood.
Secondly, build your framework, starting by writing your first widgets, then notice the problems with your current architecture, and re factor. Start again, until you have something stable and usable.
Eventually, find out this was nice as training experience, but useless as a contribution to the software communities since you will never reach out the qualities of existing tools.
Then give up and try to code your own MMORPG.
theres WxPython tutorial http://www.wxpython.org/tutorial.php
or PyQt http://zetcode.com/tutorials/pyqt4/
or the ever stylish Tk http://www.pythonware.com/library/tkinter/introduction/