Git Product home page Git Product logo

peterzs / realistic_diffraction Goto Github PK

View Code? Open in Web Editor NEW

This project forked from antoinetlc/realistic_diffraction

0.0 1.0 0.0 42 KB

[SIGGRAPH 2017] Realistic diffraction is the official implementation of the paper Practical Acquisition and Rendering of Diffraction Effects in Surface Reflectance. Antoine Toisoul and Abhijeet Ghosh. ACM Transactions on Graphics, 2017

Home Page: https://www.antoinetlc.com/projects/practical-acquisition-and-rendering-of-diffraction-effects-in-surface-reflectance

License: GNU Lesser General Public License v3.0

C++ 90.78% QMake 9.22%

realistic_diffraction's Introduction

Realistic Diffraction

Practical Acquisition and Rendering of Diffraction Effects in Surface Reflectance. Antoine Toisoul and Abhijeet Ghosh. ACM Transactions on Graphics, 2017 (presentation at SIGGRAPH 2017).

[SIGGRAPH 2017] - Practical acquisition and rendering of diffraction effects in surface reflectance

Description

Realistic diffraction is an implementation of the paper Practical Acquisition and Rendering of Diffraction Effects in Surface Reflectance. Antoine Toisoul and Abhijeet Ghosh. ACM Transactions on Graphics, 2017. It allows :

  • the computation of diffraction lookup tables given the HDR photograph of a diffraction pattern measured with a spectral filter
  • the prefiltering of an environment map with a diffraction lookup table for real-time rendering of diffraction effects in arbitrary environments

The software requires OpenCV and has been tested with OpenCV 2.4.11.

A video of the renderings is available here

Usage

An example of how to compute a diffraction lookup table and the convolution are given in main.cpp. The function that computes the lookup table is given in huygens.cpp. The function that computes the prefiltering is given in convolution.cpp.

Citation

Please cite the following paper when using Realistic Diffraction :

Practical Acquisition and Rendering of Diffraction Effects in Surface Reflectance. 
Antoine Toisoul and Abhijeet Ghosh. ACM Transactions on Graphics,36(5), 2017.

Credits and License

Realistic Diffraction. Author : Antoine TOISOUL. Copyright © 2016 Antoine TOISOUL, Imperial College London. All rights reserved.

Realistic Diffraction is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. Realistic Diffraction 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 Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see http://www.gnu.org/licenses/.

Contact

Antoine Toisoul : antoine.toisoul 'AT' telecom-paristech.org

realistic_diffraction's People

Contributors

antoinetlc avatar

Watchers

 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.