Python Computer Graphics Kit v1
Project description
cgkit1
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:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file cgkit1-1.2.6.tar.gz
.
File metadata
- Download URL: cgkit1-1.2.6.tar.gz
- Upload date:
- Size: 38.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 32dcdc5920fe80421d372f40b5ca38225949c5a8cb6ce002ffbc7173a2979354 |
|
MD5 | daa7125ea710e32bcc41073ea0f14fe5 |
|
BLAKE2b-256 | 97695f4d3ef7379a88a7d736cd4f1d3b9880898d90a41a30170254cd1a744d5f |
Provenance
File details
Details for the file cgkit1-1.2.6-cp27-cp27m-win_amd64.whl
.
File metadata
- Download URL: cgkit1-1.2.6-cp27-cp27m-win_amd64.whl
- Upload date:
- Size: 193.7 kB
- Tags: CPython 2.7m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.6.1 requests/2.25.0 setuptools/44.0.0.post20200106 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/2.7.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 208563154d6c796324e588cb88d7fc1efafca891d7b7dcee29fd39d5227c3afa |
|
MD5 | c463b00654a0349582b34a5365174c2f |
|
BLAKE2b-256 | 8d272ff9d489c52f0ffddaba950286d0a90b709e75c1ee9bf96345ee364eef4f |