cgkit is a small python library that supports drawing 3D objects. It uses pygame for viewing the model.
After looking around for something that can actually draw 3D objects, I found this library and liked how it's compact (1 MB for cgkit, 1 MB for pygame).
Many other packages that I found were simply too large for something as simple as taking some vertices and faces and showing something.
I haven't figured out how to use the viewer very well and just copied some scripts to display a scene. It allows you to move the object, zoom in/out, as well as rotate the scene.
You can get cgkit here: http://cgkit.sourceforge.net/download.html
pygame here: http://www.pygame.org
You will also need to download PyProtocols: http://peak.telecommunity.com/PyProtocols.html
No comments:
Post a Comment