A GPU-based PathTracing renderer for creating images with global illumination, advanced reflections, and physically-based materials.
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
This project is a full GPU-based RayTracing with PathTracing Renderer written in C++ and OpenGL 4.3.
This PathTracer project utilizes GPU acceleration through OpenGL Compute Shader to render various geometric shapes such as spheres, squares, triangles, cubes, and meshes. It employs global illumination and a BSDF (Bidirectional Scattering Distribution Function) lighting model, incorporating features like Russian roulette for ray termination, optimized ray-object intersections using Bounding Boxes and Axis-Aligned Bounding Boxes (AABB), and the Fresnel-Schlick approximation.
This PathTracer currently has:
- GPU acceleration via compute shader
- Monte Carlo unidirectional integrator
- BSDF supporting Diffuse, Metal, Glossy, Emissive, and Glass
- Russian Roulette for path termination
- Super Sampling Antialiasing (SSAA)
- Environment mapping with skybox
- Support for wavefront obj meshes
- HDR
- A customizable PostProcessor
- Support for triangles, squares, cubes, spheres, and meshes
- AABB for cubes and meshes
- Every scene element can be modified in real time from GUI
- Interactive camera
- A material system that can be modified in every parameter
We are looking to implement:
- Acceleration structures (BHV)
- Some boom effects
- Texture mapping
- Normal mapping
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the Apache License. See LICENSE.txt
for more information.
Federico Andrucci - federico.andrucci@gmail.com
Alex Gianelli - djgiane@yahoo.it
Project Link: https://github.com/Federicoand98/PathTracing
Use this space to list resources you find helpful and would like to give credit to. I've included a few of my favorites to kick things off!