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, and modeling radiation pressure.
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 build documentation:
cd doc
rm -rf build/
sphinx-apidoc -o build/ ../crt/ --force
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
bunny.py
Tasks:
- Implement physically based radiance tracking for paths
- Improve the adaptive sampling noise calculation
- Triangular meshes
- Add vertex color support
- Add parent object support
- Add parsers for more mesh type (.PLY, .GLTF/.GLB)
- Add texture mapping and normal maps
- Python Refactor
- Reorganize code into classes
- Add python bindings with pybind11
- Animation/sequence support
- Add wrapper classes with keyword arguments and state handling
- Setup build system using setuptools (for pip install)
- Distribute on PyPI
- Add Static BVH caching
- Importance Sampling
- Implement Malley's method for cosine importance
- Investigate alternative importance sampling method for planetary bodies (where primary indirect contribution is near horizon)
- Lighting
- Add output intensity to light objects
- Add circular area lights
- Add emissive mesh geometries
- Add polarized light
- Add specific wavelength support
- Cameras
- Add linear pushbroom camera model
- Add calibrated camera model
- Materials
- Add McEwen BRDF
- Add PBR textures
- Simulation
- Add radiation pressure modeling
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.