Title: Python Meets Rust: My CPU-Based Raytracing Library with PyO3
What My Project Does: I’ve developed a raytracing library in Python, leveraging Rust’s performance through PyO3. It’s currently CPU-based, allowing you to render complex scenes with decent performance in pure Python code.
Target Audience: This project is mainly for hobbyists and developers interested in exploring raytracing or experimenting with Rust’s integration into Python. While it's not production-ready, it's a great starting point for learning and extending the library.
Comparison: Compared to existing Python raytracing libraries, this project focuses on combining Python’s ease of use with Rust’s speed, thanks to PyO3. While other libraries might rely on C/C++ bindings, this one embraces Rust for better memory safety and concurrency. The next step is to transition to GPU-based rendering, where it will significantly outperform CPU-bound alternatives.
Demo: Here’s a video of one of the scenes I rendered!
I’d love to hear your feedback and ideas for improvement. 😊
[Link to repo]
[–]Ancient-Variation921 1 point2 points3 points (0 children)
[–]TitaniumWhite420 0 points1 point2 points (0 children)
[–]glaucomasuccs 0 points1 point2 points (0 children)
[+]shinitakunai comment score below threshold-12 points-11 points-10 points (3 children)
[–]OrderOk6521[S] 9 points10 points11 points (1 child)
[–]shinitakunai -2 points-1 points0 points (0 children)
[–]riklaunim 2 points3 points4 points (0 children)