GithubHelp home page GithubHelp logo

mopolino8 / small-mcftle Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tobguent/small-mcftle

0.0 2.0 0.0 23 KB

Monte Carlo rendering of Finite-Time Lyapunov Exponent (FTLE) fields

License: MIT License

CMake 14.92% C++ 67.23% HLSL 17.84%

small-mcftle's Introduction

###########################################################################
## MCFTLE: Monte Carlo Rendering of Finite-Time Lyapunov Exponent Fields ##
###########################################################################


This folder contains a (minimal) cross-platform implementation of MCFTLE.

========================
== CPU implementation ==
========================

Requirements:
- C++ 11                 (tested on Microsoft Visual Studio 2012, Visual Studio 2015, GCC 4.8 and GCC 5)
- CMake                  (tested with CMake 3.4.1)

Tested on:
- Windows 7
- Windows 8.1
- Ubuntu 14.04 LTS


Please be patient. A single iteration might take a few minutes (31 seconds on our testing machine).
Intermediate results are written as bmp files to the build folder.
This implementation is not optimized and does not contain an acceleration data structure.
The source code is kept simple and is meant for educational purposes only.


========================
== GPU implementation ==
========================

Requirements:
- C++ 11                 (tested on Microsoft Visual Studio 2012)
- CMake                  (tested with CMake 3.4.1)
- Windows 7, DirectX 11


The GPU implementation dispatches a compute shader that has a potentially long execution time (about 1 second on our testing machine).
In fact, the Windows Timeout Detection and Recovery (TDR) might think that the system hangs and reset the graphics driver.
To prevent this from happening, the following registry flag can be set:

KeyPath   : HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\GraphicsDrivers
KeyValue  : TdrLevel
ValueType : REG_DWORD
ValueData : 0				 # TdrLevelOff(0) = Detection disabled 

Intermediate results are written as bmp and pfm files to the build folder.

small-mcftle's People

Contributors

tobguent avatar

Watchers

James Cloos 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.