Skip to main content

Python Computer Graphics Kit v1

Project description

cgkit1

build PyPI version

This is a fork of Matthias Bass's python-cgkit v1.2.0.

It has been updated to be compatible with Python 2 and 3 and has the renderman and noise generation code removed.


Python Computer Graphics Kit v1.2.0

Copyright (C) 2002, Matthias Baas (see license.txt)


The Python Computer Graphics Kit is a collection of Python modules that contain the basic types and functions to be able to create 3D computer graphics images. The kit mainly focuses on Pixar's RenderMan interface, but some modules can also be used for OpenGL programs or non-RenderMan compliant renderers like POV-Ray, for example.

Installing the package

The package uses the Python distutils, so compiling and installing looks the same on every platform, you simply have to call:

python setup.py install

This will compile the C-modules and install everything in the standard location. See the distutils documentation that are coming with Python if you have to install somewhere else. If you've updated the sources for cgkit I recommend to delete the "build" directory before compiling so that all the old code is out of the way.

The cgtypes module uses Pyrex (v0.9 or higher required) to generate the C source file. The generated C file is included in the source package, so you only need Pyrex if you want to modify the cgtypes module.

Once installed you can check the examples in the examples directory.

IMPORTANT:

If you've installed a version before v1.0beta3 you have to remove the directory Lib/site-packages/cgtypes in your Python distribution. Otherwise Python will access the old Python types instead of the new C types (which are located directly in Lib/site-packages).

Documentation

The documentation has to be downloaded separatly or you can browse it online. Whatever you prefer, you should point your browser to:

http://cgkit.sourceforge.net

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cgkit1-1.2.8.tar.gz (39.8 kB view details)

Uploaded Source

Built Distribution

cgkit1-1.2.8-cp311-cp311-macosx_11_0_arm64.whl (204.8 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

File details

Details for the file cgkit1-1.2.8.tar.gz.

File metadata

  • Download URL: cgkit1-1.2.8.tar.gz
  • Upload date:
  • Size: 39.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for cgkit1-1.2.8.tar.gz
Algorithm Hash digest
SHA256 2f1a42ccad13d62e269862fc5911863bb1307180eca57c74a3e8598c8aab2104
MD5 ac73298f001b88f2cf788ffcf22a58df
BLAKE2b-256 3abb15aa27d3f93bb1237a34fa5ed6689d1ec15c8a981664f75f8a2c446d99b8

See more details on using hashes here.

File details

Details for the file cgkit1-1.2.8-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for cgkit1-1.2.8-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9b9b61cf25fde915cb42f282c907d22733204475db661cf7aba2ce5bb2906200
MD5 9ac1932c96ee3953ac8a79411d9b39c8
BLAKE2b-256 0727106b85b9fa12fd98a81a428acff21a4cca95df3164eed035c7ddf1bef671

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page