Code Monkey home page Code Monkey logo

gpupt_blog's Introduction

#Build

Requirements :

Visual Studio (Tested only on Visual Studio 2019)
Cuda installed on the system
NVidia GPU (for Cuda)
CUDA_PATH environment variable set (example  "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8" )

Commands :

### Clone the repo and checkout to the latest branch
git clone --recursive https://github.com/jacquespillet/gpupt_blog.git
cd gpupt_blog
git checkout origin/Part_13

### Generate the solution
mkdir build
cd build
cmake ../

### Build
cd ..
BuildDebug.bat / BuildRelease.bat

First build may take a while because it's going to build all the dependencies with the project.

GPU Path Tracer

This is the repository accompanying the blog post series "Simple GPU Path Tracing". It contains all the code that we write throughout the series. Each branch in this repo corresponds to a blog post.

Here's a summary of all the episodes in the series : Simple GPU Path Tracing : Introduction

Simple GPU Path Tracing, Part. 1 : Project Setup

Simple GPU Path Tracing, Part. 1.1 : Adding a cuda backend to the project

Simple GPU Path Tracing, Part. 2.0 : Scene Representation

Simple GPU Path Tracing, Part. 2.1 : Acceleration structure

Simple GPU Path Tracing, Part. 3.0 : Path Tracing Basics

Simple GPU Path Tracing, Part. 3.1 : Matte Material

Simple GPU Path Tracing, Part. 3.2 : Physically Based Material

Simple GPU Path Tracing, Part. 3.4 : Small Improvements, Camera and wrap up

Simple GPU Path Tracing, Part. 4.0 : Mesh Loading

Simple GPU Path Tracing, Part. 4.1 : Textures

Simple GPU Path Tracing, Part. 4.2 : Normal Mapping & GLTF Textures

Simple GPU Path Tracing, Part. 5.0 : Sampling lights

Simple GPU Path Tracing, Part 6 : GUI

Simple GPU Path Tracing, Part 7.0 : Transparency

Simple GPU Path Tracing, Part 7.1 : Volumetric materials

Simple GPU Path Tracing, Part 7.1 : Refractive material

Simple GPU Path Tracing, Part 8 : Denoising

Simple GPU Path Tracing, Part 9 : Environment Lighting

Simple GPU Path Tracing, Part 10 : Little Optimizations

Simple GPU Path Tracing, Part 11 : Multiple Importance Sampling


Here are some renders done with the path tracer resulting from the tutorials : Image

Image

Image

Image

Image

Image

Image

Image

Image

Image

Image

Image

Image

Image

Image

Image

Image

Image

Image


Here are the scenes that were used for those renders.


Here are the credits for each scene :

[Anime Class Room by AnixMoonLight](https://sketchfab.com/3d-models/anime-class-room-4faa1d57304d446995bc3a01af763239)

[Salle de bain from McGuire Computer Graphics Archive, Model by Nacimus Ait Cherif](https://casual-effects.com/data)

[Bedroom from McGuire Computer Graphics Archive, Model by fhernand](https://casual-effects.com/data)

[Ship in a bottle by Loïc Norgeot](https://sketchfab.com/3d-models/ship-in-a-bottle-9ddbc5b32da94bafbfdb56e1f6be9a38)

[Breakfast Room from McGuire Computer Graphics Archive, Model by Wig42](https://casual-effects.com/data)

[Breakfast Room from McGuire Computer Graphics Archive, Model by Wig42](https://casual-effects.com/data)

[Cathedral by patrix](https://sketchfab.com/3d-models/cathedral-faed84a829114e378be255414a7826ca)

[Coffee Maker from cekuhnen](www.blendswap.com/user/cekuhnen)

[Conference Room from McGuire Computer Graphics Archive, Model by Anat Grynberg and Greg Ward](https://casual-effects.com/data)

[Fireplace Room from McGuire Computer Graphics Archive, Model by Wig42](https://casual-effects.com/data)

[List Empire from McGuire Computer Graphics Archive, Model by Morgan McGuire](https://casual-effects.com/data)

[Rhetorician Maker from engine9](https://sketchfab.com/3d-models/rhetorician-a89f035291d843069d73988cc0e25399)

[Robo Maker from Artem Shupa-Dubrova](https://sketchfab.com/3d-models/robo-obj-pose4-uaeYu2fwakD1e1bWp5Cxu3XAqrt)

[Loie Fuller from Minneapolis Institute of Art, by Joseph Kratina](https://sketchfab.com/3d-models/loie-fuller-sculpture-by-joseph-kratina-05ba00cefb5b4a7e8cecda2a91d6a568)

[Sea Keep "Lonely Watcher" by Artjoms Horosilovs](https://sketchfab.com/3d-models/sea-keep-lonely-watcher-09a15a0c14cb4accaf060a92bc70413d)

[Sea House by Alyona Shek](https://sketchfab.com/3d-models/sea-house-bc4782005e9646fb9e6e18df61bfd28d)

[Sponza from McGuire Computer Graphics Archive, by Frank Meinl, Crytek](https://casual-effects.com/data/)

[Renderman's Teapot by Dylan Sisson and Leif Pedersen](https://renderman.pixar.com/official-swatch)

[Vokselia Spawn from McGuire Computere Graphics Archive, Model by Vokselia](https://casual-effects.com/data/)



Helpful resources that helped creating the tutorials

Physically Based Rendering online edition Jacco Bikker Blog, especially the posts about BVH that we're using in our code A Graphics Guy's Note Scratchapixel Crash Course in BRDF Implementation

gpupt_blog's People

Contributors

jacquespillet avatar

Stargazers

BlurryLight avatar 白★能盛 avatar  avatar

Watchers

 avatar

Forkers

kaminate

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.