GithubHelp home page GithubHelp logo

fornevercollective / hdreffects Goto Github PK

View Code? Open in Web Editor NEW

This project forked from karimnaaji/hdreffects

1.0 0.0 0.0 34.42 MB

High dynamic range rendering, with lens flare approximation and bloom

Home Page: http://karim.naaji.fr/high_dynamic_range_effects.html

Shell 0.01% JavaScript 0.82% C++ 37.88% C 29.43% Objective-C 1.56% M 0.07% CSS 0.50% HTML 28.88% CMake 0.60% GLSL 0.24%

hdreffects's Introduction

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

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 ([email protected])
  
  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/>.

hdreffects's People

Contributors

karimnaaji avatar

Stargazers

Tad Ericson avatar

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.