Skip to content

UIKit0/hdreffects

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

high dynamic range effects

dependencies

This project uses cmake, glfw, and rgbe (library developed by Greg Ward), it has been developed using OpenGL 3.2 and GLSL 1.5.

mac osx

Download and install CMake if you don't already have it. To simplify installation you may use Homebrew:

brew install cmake

linux (ubuntu)

sudo apt-get install cmake

build and run

cd build
cmake .. && make
./hdr.out

usage

While running, use the following keys to move around and modify render parameters:

  • mouse : look around
  • Z : move forward
  • S : move backward
  • D : move right
  • Q : move left
  • B : activate/desactivate bloom effect
  • T : activate/desactivate tone mapping effect
  • L : activate/desactivate lens flare effect
  • R : activate/desactivate cubic lens distortion
  • X : activate/desactivate noise added to the bloom effect
  • N : increase bright threshold associated to both lens flare and bloom effect
  • J : decrease bright threshold
  • V : increase bloom factor
  • G : decrease bloom factor
  • C : increase the number of blur pass associated to the bloom effect
  • F : decrease the number of blur pass associated to the bloom effect

article

This project comes with the following article. You can also check the page of the project for some more informations.

results

example

licence

  This program is an implementation of the technique of high dynamic 
  range (HDR) image based lightning (IBL) in real time. 
  
  Copyright (C) 2013 Naaji Karim (karim.naaji@gmail.com)
  
  This program is free software: you can redistribute it and/or modify
  it under the terms of the GNU General Public License as published by
  the Free Software Foundation, either version 3 of the License, or
  (at your option) any later version.
  
  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.
  
  You should have received a copy of the GNU General Public License
  along with this program.  If not, see <http://www.gnu.org/licenses/>.

About

high dynamic range rendering, with lens flare approximation and bloom with OpenGL 3.2 and GLSL 1.5

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 88.2%
  • Objective-C 4.2%
  • C++ 3.7%
  • JavaScript 2.4%
  • CSS 1.5%