Skip to main content

CERES Ray Tracer

Project description

CERES Ray Tracer (CRT)

PyPI version GitHub Release GitHub issues GitHub Contributers License: MIT Size

This project was developed as part of CERES and aims to provide scientifically useful path tracing capabilities for:

  • Rendering photo-real images
  • Simulating multi-bounce behavior accounting for wavelength and polarization
  • Modeling solar radiation and albedo radiation pressure on spacecraft

Available Environments

Linux

Environment Build Python Binding Install from PyPI
Ubuntu 22.04

Ubuntu 20.04

Ubuntu 18.04


Quick Start:

Install from PyPI:

pip install ceres-raytracer

Building from Source:

Build from source::

git clone https://github.com/ceres-navigation/ceres-raytracer.git
pip install .

Demos:

After installing ceres-raytracer, simply clone the ceres-raytracer-demos:

git clonehttps://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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ceres-raytracer-0.5a1.tar.gz (224.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page