Skip to content

JosselinSomervilleRoberts/SSR-Renderer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Screen Space Reflections + MyRenderer Base code for INF584 "Image Synthesis" Assignments

To learn more about the project and see images of the result, please visit: https://josselinsomervilleroberts.github.io/

image

Original Author: Tamy Boubekeur (tamy.boubekeur@telecom-paris.fr)

Building

This is a standard CMake project. Building it consists in running:

cd <path-to-MyRenderer-directory>
mkdir Build
cd Build
cmake ..
cd ..
cmake --build Build

The resuling MyRenderer executable is automatically copied to the root MyRenderer directory, so that resources (shaders, meshes) can be loaded easily. By default, the program is compile in Debug mode. For a high performance Release binary, just us:

cmake --build Build --config Release

Running

To run the program

cd <path-to-MyRenderer-directory>
./MyRenderer [[file.off] [material-directory-path]]

Note that a collection of example meshes are provided in the Resources/Models directory and a collection of materials are provided in the Resources/Materials directory

When starting to edit the source code, rerun

cmake --build Build --config Release

each time you want to recompile MyRenderer

The resulting binary to use is always the onelocated in the MyRenderer directory, you can safely ignore whatever is generated in the Build directory.

SSR

To toggle SSR press tab.

There are many options in SSR, to toggle things on and off such as binary search, edge fading, and more (using F keys). You can also change the number of steps by pressing R and changing the ray thickness by pressing T.
Enjoy beautiful renderings with SSR !

About

Screen Space Reflection Renderer coded from scratch in C++

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published