TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: A physically based, CPU-only path tracer written in Rust

7 点作者 ekzhang超过 4 年前

1 comment

ekzhang超过 4 年前
Hi all, this is a physically based, CPU-only rendering engine written in Rust. It implements a Monte Carlo path tracing algorithm for global illumination. There&#x27;s a lot of features, including kd-tree mesh acceleration, physical material properties (microfacet BSDF with multiple importance sampling), HDRI environment maps, OBJ&#x2F;MTL&#x2F;STL files, depth of field, and particle physics simulation.<p>It&#x27;s also parallelized with rayon and available as a library on crates.io. The entire source code, including code for the above examples and more, is very short (\~3K SLOC). We&#x27;re still looking to extend it with bidirectional path tracing and other features.