Simple Camera
Minimum dependencies library for fast rendering of triangle meshes.
Setup
Install with pip:
foo@bar:~$ pip install simple-camera
or manually:
Inside cloned repository run the following:
foo@bar:~$ pip install -r requirements.txt
foo@bar:~$ python setup.py install
Usage
from simple_camera import render_perspective_camera
img = render_perspective_camera(vertices, faces,
width=256, height=256,
angles=[0,0,0], translation=[0,0,0],
scale=0.75)
Image.fromarray(img)
Acknowledgements
- This library is based on Face3D code.
Metadata
Release files for simple-camera 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| simple_camera-0.3.0.tar.gz | 10.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| simple_camera-0.3.0-py3.8-linux-x86_64.egg | Legacy Egg format | - | - | Details |
Total release size: 273.2 kB
Release files / simple_camera-0.3.0.tar.gz
| Download URL | simple_camera-0.3.0.tar.gz |
|---|---|
| Size | 10.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
47c6f63767d4b68d29f2c1c7ea2c87754ec4251845c79070283bf0665818c0d6
|
|
BLAKE2b-256 checksum How to use checksums |
6a823bcb7f533946430dc4a6f79b67d56554da376c68a7a47a469ca05f20f59e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/50.3.2 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.5
|
Release files / simple_camera-0.3.0-py3.8-linux-x86_64.egg
| Download URL | simple_camera-0.3.0-py3.8-linux-x86_64.egg |
|---|---|
| Size | 263.1 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
f9e6ba24d960f67d338c297698f24cdb03212089f47ec2dfea8e757e776b4f30
|
|
BLAKE2b-256 checksum How to use checksums |
8b0fd908f5f817e8ff0c5521f50abf9f96efa669eabb2e9f2427d5ebf49578b8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/50.3.2 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.5
|
Security for simple-camera 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.