Git Product home page Git Product logo

bmfr's Introduction

Blockwise Multi-Order Feature Regression for Real-Time Path Tracing Reconstruction

This is the code used in the paper:

"Blockwise Multi-Order Feature Regression for Real-Time Path Tracing Reconstruction".

by Koskela M., Immonen K., Mäkitalo M., Foi A., Viitanen T., Jääskeläinen P., Kultala H., and Takala J.

Virtual reality and Graphics Architectures (VGA) group, Tampere University, http://www.tuni.fi/vga/

Datasets

The dataset to run the code is around 19GB because it contain 60 frames animations of 7 scenes with references and feature buffers all in single-precision .exr format.

The datasets can be found here: http://www.tuni.fi/vga/bmfr

Building

Make sure that you have the dataset's "inputs" folder at the location defined by INPUT_DATA_PATH, which can be found in opencl/bmfr.cpp

You need to rebuild the project if you change the files in the location without changing the INPUT_DATA_PATH. It changes the camera_matrices.h and the makefile/project does not check its modification date because the path to it is defined in the bmfr.cpp file.

Linux

Install OpenCL driver and OpenImageIO library.

make && ./bmfr in opencl folder should build and run the code.

Windows

Building and running the bmfr.sln with Visual Studio 2017 should work out of the box.

Notes

Defines in the bmfr.cpp file can be used to:

  • Edit some of the BMFR algorithm's parameters
  • Run the code with different inputs
  • Change some of the optimizations for finding the fastest runtime on your target hardware

bmfr's People

Contributors

mazzzu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

bmfr's Issues

Can you release rendering scenes?

Hi. Thanks for this project. I want to amplify the dataset, separating the ground truth into direct lighting, indirect lighting, and shadows. Can you release the rendering scenes or send them to me so I can rerender the scenes? Thanks.

Can't build on windows

Severity Code Description Project File Line Suppression State
Error MSB4019 The imported project "C:\BuildCustomizations\IntelOpenCL.props" was not found. Confirm that the path in the declaration is correct, and that the file exists on disk. bmfr C:\Users\trsh\Downloads\bmfr-master\bmfr-master\opencl\bmfr.vcxproj 64

Question about the albedo and color in the dataset

Hi there,

Thank you for your great work.

I hold a question about the albedo in the dataset. If I understand correctly, is the albedo actually the diffuse albedo of material?
And if that's the case, how could you demodulate the albedo for a glossy material (glossy should be diffuse albedo + specular albedo) and for a specular material (specular albedo only)?

Thanks for your help:)

Cheers

Building against CUDA SDK

Hi,

Was this code tested against the CUDA SDK, and if so, which version?

I note that the C++ Includes setup includes the Intel OpenCL SDK, the CUDA SDK and the AMD APP SDK. The applications builds and runs fine against the Intel SDK but doesn't appear to build against the CUDA SDK. The first error you will run into is that cl2.hpp does not exist in the CUDA SDK.

Can you explain how/if this code was built to run on an NVIDIA GPU?

Thanks,

Adam

Problems of downloading dataset

Hi.
I've encountered a problem when downloading dataset from the given website. The total size of the dataset is 18G, however, every time I've downloaded 1G the connection is lost.
Do you know why?

Thanks!
Leong.

Question about the dataset

Hi.

  1. I noticed that the world_pos data in .exr file is already scaled to [0, 1] range, and I want to know how this is implemented? For example how to scale world_pos = vec3(100.0f, 140.0f, 150.0f) to [0, 1] range?
  2. Is the parameter 'position_limit_squared(normal_limit_squared)' set with experience or some statistics?

Thanks!

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.