CERES Ray Tracer
Project description
CERES Ray Tracer (CRT)
This project was developed as part of CERES and aims to provide scientifically useful path tracing capabilities for rendering images, simulating LiDAR, modeling radiation pressure, and flux computations for thermal and solar panel analysis.
Available Environments
Environment | Build Python Binding | Install from PyPI |
---|---|---|
Ubuntu 22.04 | |
|
Ubuntu 20.04 | |
|
Ubuntu 18.04 | |
|
Installation:
It is recommended to install directly from the Python Package Index (PyPI):
pip install ceres-raytracer
Building from Source:
git clone https://github.com/ceres-navigation/ceres-raytracer.git
pip install .
sphinx is used to build documentation for the python API. To install sphinx
, simply use:
sudo apt-get install python3-sphinx
pip install sphinx-autodoc-typehints sphinx-toolbox sphinx-licenseinfo sphinx-rtd-theme
Once sphinx
is installed, you can build the documentation on Linux systems by running:
cd doc
make html
Demos:
After installing ceres-raytracer
, simply clone the ceres-raytracer-demos:
git clone https://github.com/ceres-navigation/ceres-raytracer-demos.git
and run any of the included .py
example files:
cornel_box.py
This demo script demonstrates multi-bounce path tracing using the traditional cornell box scene. It additionally shows how to render depth, instances and normal passes:
comet67p.py
This demo script demonstrates how to use CRT's SPICE support, and rendering in a body fixed frame (allowing for the BVH to be cached and therefore overall faster render times):
Tasks:
- Python Interface
- Python bindings with pybind11
- Binary distributions (cross compiled for Windows/MacOS on Linux)
- Python defined materials (compatible only with wavefront ray tracing)
- Path tracing implementations
- Adaptive sampling
- Wavefront ray tracing
- Bidirectional path tracing
- Primary Sample Space Metropolis Light Transport
- Physics
- Polarization of light rays
- Wavelength of light rays
- Spectral power density of rays
- Physically based radiance tracking for paths
- Momentum of paths
- Materials
- PBR Texture support
- Hapke function support
- Microfacet support
- Major architecture changes
- TBB for parallelization
- Add Embree single precision support
- Add OptiX (GPU) single precision support
- Add Vulkan (GPU) single precision support
Attributions
madmann91's Modern C++ BVH Construction and Traversal Library
This project utilizes a BVH construction and traversal library built by madmann91. While we have made some modifications to their implementation, their work forms most of the basis of the bounding volume hierarchy used in this project. Their originally source code can be found in the bvh repository
National Science Foundation Graduate Research Fellowship
This material is based upon work supported by the National Science Foundation Graduate Research Fellowship under Grant No. 2020305048. NSF GRFP gave Chris Gnam the flexibility and resources required to complete his research in spacecraft navigation, and this project is meant to serve as an open source implementation of his dissertation.
Contact
All questions, comments, and concerns should be directed to Chris Gnam: crgnam@buffalo.edu
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
File details
Details for the file ceres-raytracer-0.6a4.tar.gz
.
File metadata
- Download URL: ceres-raytracer-0.6a4.tar.gz
- Upload date:
- Size: 230.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.28.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c3475390541350805f5c79faf9a717487262c01c385727e2e2d85eda0f2f0ae |
|
MD5 | 8c6112aacc27399f16ab25bfe3c3bd94 |
|
BLAKE2b-256 | 79b62f94b20b3c4a09b9eedaa3d4a137cb57fbd39f2241773cd7ad64ca99a181 |