PyCG: Toolbox for CG-related visualizations and computations
Project description
PyCG: Toolbox for CG-related visualizations and computations
PyCG is there for people to accelerate their 3D visualizations and computations, aiming at implementing complicated functions with as few lines as possible. The toolbox is created from the perspective of researchers and would hopefully accelerate your daily pipeline.
Install
To install a full-fledged version, use:
pip install -U python-pycg[full] -f https://pycg.huangjh.tech/packages/index.html
Note that the need for the extra index URL if for our customized version of Open3D (with support for multi-window camera/light synchronization, animation maker and visualizer, scalar analyzer, etc).
If you don't want to use our customized Open3D, simply do:
pip install -U python-pycg[all]
By default, Open3D will not be installed if you do pip install python-pycg
directly, but all other non-visualization-related functions should work!
For developers, clone this repository and install it if you want to use newest features:
git clone --recursive https://github.com/heiwang1997/pycg
pip install -e .[full] # Most modern, but some static analyzing tool (e.g. pylance) will fail!
# Now it will create weird __editable__.*.pth files!
python setup.py develop # Deprecated by the community, but it works better.
Using PyCG
PyCG contains many submodules which could be easily imported via from pycg import xxx
.
These different modules span a wide range of functionalities from visualizing 3D assets to creating nice html tables for comparing results.
Please refer to the individual documentation of each submodule to get started.
- 3D Visualization
pycg.vis
- Render 3D Scenes
pycg.render
- Handling 3D Transformations
pycg.isometry
- Compress Videos
pycg.video
- Compress PDF Files
pycg.pdf
- Experiment Utilities
pycg.exp
- Manipulating Images
pycg.image
- ... and so on to be added!
Gallery
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
Hashes for python_pycg-0.7.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 355cafbf45d898152baf64317312aa649119cd97a9da8207c68f731a3e984150 |
|
MD5 | 9635505159df6acdd0bb47a2f322374c |
|
BLAKE2b-256 | b5da75379e7379bab5b1a00cefb4dd3ea1f4c9a5ac42f572ce81c416c99510fb |