GithubHelp home page GithubHelp logo

jackzhousz / bidirectionalwos Goto Github PK

View Code? Open in Web Editor NEW

This project forked from argent1024/bidirectionalwos

0.0 0.0 0.0 6.74 MB

Bidirectional WoS

Shell 0.17% JavaScript 0.05% C++ 75.87% Python 1.40% C 3.35% Lua 0.02% Fortran 7.67% XSLT 0.02% CSS 0.03% Cuda 9.22% Makefile 0.02% HTML 0.11% CMake 2.07% Batchfile 0.01%

bidirectionalwos's Introduction

BidirectionalWoS

This is the implementation of the 2D reverse WoS algorithm in the paper "A bidirectional formulation for Walk on Spheres".

Two test scenes (fig8 & fig9 in the paper) are provided in the code.

How to run this code?

This code requires CMake to compile.

git clone --recurse-submodules
cd BidirectionalWoS
mkdir build
cd build
cmake ..
make
./BidirectionalWoS

Cite

Yang Qi, Dario Seyb, Benedikt Bitterli, Wojciech Jarosz. A bidirectional formulation for Walk on Spheres. Computer Graphics Forum (Proceedings of EGSR), 41(4), July 2022.

@article{qi22bidirectional,
    author = "Qi, Yang and Seyb, Dario and Bitterli, Benedikt and Jarosz, Wojciech",
    title = "A bidirectional formulation for {Walk} on {Spheres}",
    journal = "Computer Graphics Forum (Proceedings of EGSR)",
    year = "2022",
    month = jul,
    volume = "41",
    number = "4",
    issn = "1467-8659",
    doi = "10.1111/cgf.14586",
    keywords = "Brownian motion, partial differential equations, PDEs, Monte Carlo",
    abstract = "Numerically solving partial differential equations (PDEs) is central to many applications in computer graphics and scientific modeling. Conventional methods for solving PDEs often need to discretize the space first, making them less efficient for complex geometry. Unlike conventional methods, the walk on spheres (WoS) algorithm recently introduced to graphics is a grid-free Monte Carlo method that can provide numerical solutions of Poisson equations without discretizing space. We draw analogies between WoS and classical rendering algorithms, and find that the WoS algorithm is conceptually equivalent to forward path tracing. Inspired by similar approaches in light transport, we propose a novel WoS reformulation that operates in the reverse direction, starting at source points and estimating the Green's function at ``sensor'' points. Implementations of this algorithm show improvement over classical WoS in solving Poisson equation with sparse sources. Our approach opens exciting avenues for future algorithms for PDE estimation which, analogous to light transport, connect WoS walks starting from sensors and sources and combine different strategies for robust solution algorithms in all cases."
}

bidirectionalwos's People

Contributors

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