No project description provided
Project description
Simple Camera
Minimum dependencies library for fast rendering of triangle meshes.
Setup
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.
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
simple_camera-0.2.7.tar.gz
(9.9 kB
view hashes)