/pt.rs

A physically-based path tracing renderer written in Rust.

Primary LanguageRustGNU General Public License v3.0GPL-3.0

pt.rs

A physically-based path tracing renderer written in Rust. It is similar to PBRT.

thumbs

Features

  • Various material
  • Texture
  • Distant light, Area light
  • Physically-based rendering
  • Use k-d tree for intersection acceleration
  • Use halton sequence to generate samples
  • Use all CPU cores in parallel

Installation

git clone https://github.com/laurence6/pt.rs.git

Examples

$ cargo build --release --examples

License

Copyright (C) 2016-2020 Laurence Liu liuxy6@gmail.com

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.