# naivert
naivert is an pure Python implementation of ray tracing algorithm using Phong illumination model. For geometry calculation, naivert uses the library of [Geometry3D](https://github.com/GouMinghao/Geometry3D). Basic materials and light sources are given in the configuration file. You can also define the material and light source by yourself. You may refer to the examples and documentation of Geometry3D to get to know how to use naivert.
## Requirements
numpy, Geometry3D, matplotlib and opencv-python
## Installation
`bash pip install naivert `
## Examples Run .py files under examples folder. For example: `bash python example3.py ` 
`bash python example4.py ` 
`bash python example5.py ` 
Note that the calculation may be very slow. You can modify the resolution of the image to reduce the time cost.
## Documentations [HTML](https://naivert.readthedocs.io/en/latest/) [PDF](https://naivert.readthedocs.io/_/downloads/en/latest/pdf/)
Metadata
Release files for naivert 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| naivert-0.0.1.tar.gz | 9.0 kB | Details |
Release files / naivert-0.0.1.tar.gz
| Download URL | naivert-0.0.1.tar.gz |
|---|---|
| Size | 9.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7d7f53d38f982cbb41ddefa3f6874693f15402de719f763f03be29f9ad6a9ead
|
|
BLAKE2b-256 checksum How to use checksums |
6bb906ab89bc6d4ae4523cf65d36e25a148a0b8e6bdadcf2a0a29f4eb5f9e0f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.5
|