GitXplorerGitXplorer
l

OpenGLRenderer

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Verified
926489b23e201068c10477defbdf7ca9fa7bad7a

Delete enc_temp_folder/94b4f8501b4e4e2c6b31e4f49357b177 directory

llukaskuhn-lku committed 2 years ago
Verified
36bebd948bc709d2f6db0c443d8949676a892830

Updated Images Readme

llukaskuhn-lku committed 2 years ago
Unverified
59b1aa256a0e2643e00852931ae2d577cff48180

added readme

committed 2 years ago
Unverified
6e37f60c945d4b74a067b82b4da3142ceafc23bb

added mulitple cubes and demo gif

committed 2 years ago
Unverified
e2f336b9d466d482e868c916427358739836d7dd

added light caster & multiple light sources

committed 2 years ago
Unverified
422bfc91d2404cbe6249758880b5806e4052978a

added more gui options

committed 2 years ago

README

The README file for this repository.

nanoRenderer (OpenGL)

This is a minimal Renderer I built in C++ with the OpenGL API.

Demo Gif

Overview

Features

Implemented diffuse lighting in the shader which shades fragments based on the degree between light vector and normal vector (see Figure 1).

Diffuse Lighting

Figure 1 - Phong Diffuse Lighting

Also implemented specular lighting in the shader which shades fragments based on the degree between the refelcted light vector and the camera vector (see Figure 2).

Specular Lighting

Figure 2 - Phong Specular Lighting

Implemented a fully movable camera (standard WASD movement and mouse input).

Camer Gif

Diffuse and Specular maps are implemented as a header only class that reads multiple file formats (using the stb library). The implementation of the Shader class can be found here Shader.h.

Work in Progress

  • [ ] Model Loading
  • [ ] Advanced Lighting