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.7.tar.gz (39.9 kB view details)

Uploaded Source

Built Distributions

cgkit1-1.2.7-cp311-cp311-macosx_11_0_arm64.whl (202.0 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

cgkit1-1.2.7-cp38-cp38-win_amd64.whl (192.0 kB view details)

Uploaded CPython 3.8 Windows x86-64

cgkit1-1.2.7-cp27-cp27m-win_amd64.whl (195.4 kB view details)

Uploaded CPython 2.7m Windows x86-64

File details

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

File metadata

  • Download URL: cgkit1-1.2.7.tar.gz
  • Upload date:
  • Size: 39.9 kB
  • Tags: Source
  • 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

Hashes for cgkit1-1.2.7.tar.gz
Algorithm Hash digest
SHA256 ce64fcc835e775a59d44b4a082611fdc5d2d40041c1d335f8caae422be8ef457
MD5 e320668ffb72858a7b755ce75dddb3e3
BLAKE2b-256 568a2a9e75a584b010f83a385c14119f87b573e9b6340c0189a1f323ea5dd550

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cgkit1-1.2.7-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a40837b1a2c205513215cb8c03e8838e41b312809e3ef3b8a648c751cab1dcac
MD5 2edf857e01a1a4288670ce0fca864375
BLAKE2b-256 d274dc1a6304d2193402700bd027f0bacc6d8d606f7e741fe3db3a4529bf9393

See more details on using hashes here.

File details

Details for the file cgkit1-1.2.7-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: cgkit1-1.2.7-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 192.0 kB
  • Tags: CPython 3.8, 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

Hashes for cgkit1-1.2.7-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 2c3d3b45b70dfc5f2eea2da021dd8edfc841a22e42d6f2c2430c51b81cddd0e4
MD5 fb6c7299d8d21bc81cfce7c049c71409
BLAKE2b-256 53f8a31ae5484bd854b00cb554e19eba51ae9b4d12c8608afaa0491b945c8213

See more details on using hashes here.

File details

Details for the file cgkit1-1.2.7-cp27-cp27m-win_amd64.whl.

File metadata

  • Download URL: cgkit1-1.2.7-cp27-cp27m-win_amd64.whl
  • Upload date:
  • Size: 195.4 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

Hashes for cgkit1-1.2.7-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 39b4e6b398085187df0cf807c6f9ede7d91acc5cfaf44c5b07cf1c4790dd9523
MD5 426d76a0198b2b1bad515a4a8711bc27
BLAKE2b-256 4c64d9da9544a74c0d8c741d090ef47ed7885310275c3acd2ed350fc5671fbea

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