Git Product home page Git Product logo

mitsuba3tof's Introduction

Mitsuba3 Time-of-Flight Renderer

About

This repository implemented several ToF rendering algorithms using Mitsuba3. This repository is extended version of our previous D-ToF renderer at here (SIGGRAPH Asia 2023).

Install

To compile, follow the original Mitsuba3's compliation guide at here. We also provide a video that installs Mitsuba3ToF which could be found at here.

Implementation (20240301 updated)

  • Transient Rendering
  • Transient Rendering for Participating Media
  • Time-Gated Rendering
  • Time-Gated Rendering for Participating Media
  • Doppler-ToF Rendering

Usage

This example provides an simple transient rendering for cornell-box scene.

cd tof_tutorials/transient
python main.py

You can also try other rendering algorithms in each folder in tof_tutorials.

Parameter Description

Transient Renderering

For transient rendering, we use binning and build a histogram for the transient signal. Here, transient signal is equivalent to impulse response. We provide two integrators, transient for surface rendering, and voltransient for participating media (volumetric) rendering. Followings are used parameters for both of the integrators.

  • tMin : Minimum path length.
  • tMax : Maximum path length.
  • tBin : Number of time bins.
  • tRes : Path length resolution in histogram. If tBin is set, tBin is used with higher priority.
transient_cornell_box voltransient_cornell_box
Surface transient rendering Volumetric transient rendering

Time Gated Rendering

Instead of a series of images, time gated rendering only renders a single image at specific time stamp (or path length). We provide two integrators, timegated for surface rendering, and voltimegated(TODO) for participating media rendering. Followings are used parameters for both of the integrators.

  • targetDist ($t0$) : Target path length.
  • windowSize ($w$) : A parameter used for path length importance function.
  • mode : Path length importance function. We provide following 5 modes. Each mode returns following value, where $v = (t - t0) / w$ and $t$ is path distance
    • box : $1(|v| < 0.5)$
    • tent: $\max(1 - |v|, 0)$
    • cos : $\cos(2 \pi|v|)$
    • sin : $\sin(2 \pi|v|)$
    • exponential: $u(-v)\exp(v)$
box exp
box with windowSize 1 exponential with windowSize 0.1

Citation

If you find this useful for your research, please consider to cite:

@article{kim2023doppler,
  title={Doppler Time-of-Flight Rendering},
  author={Kim, Juhyeon and Jarosz, Wojciech and Gkioulekas, Ioannis and Pediredla, Adithya},
  journal={ACM Transactions on Graphics (TOG)},
  volume={42},
  number={6},
  pages={1--18},
  year={2023},
  publisher={ACM New York, NY, USA}
}

mitsuba3tof's People

Stargazers

 avatar

Watchers

 avatar  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.