Pages

Showing posts with label Sanae 3D. Show all posts
Showing posts with label Sanae 3D. Show all posts

Wednesday, 3 August 2011

Sanae 3D - cgkit

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

Sanae 3D - python image library

I've decided to use the PIL for all image handling and processing. Binary distributions are available for download at http://www.lfd.uci.edu/~gohlke/pythonlibs/ (search PIL)

It is a 1 MB download so it shouldn't be too much of a problem.