GithubHelp home page GithubHelp logo

Rainfall modelling about webgl-erosion HOT 4 OPEN

SnowyJune678 avatar SnowyJune678 commented on May 28, 2024
Rainfall modelling

from webgl-erosion.

Comments (4)

SnowyJune678 avatar SnowyJune678 commented on May 28, 2024

Edit: rainfall modelling appears to have been removed in this commit: dfa81ce

from webgl-erosion.

LanLou123 avatar LanLou123 commented on May 28, 2024

I removed it because some changes I did made it looks worse (can't remember precisely what), I'm currently experimenting with some new rain methods and will possibly add it in near future.

from webgl-erosion.

SnowyJune678 avatar SnowyJune678 commented on May 28, 2024

I'm not familiar with shader programming (where most of the computational work seems to be done) but would like to implement the feature back myself, could you point me in the right direction?

from webgl-erosion.

LanLou123 avatar LanLou123 commented on May 28, 2024

Sure, not sure if you already know this but there are in genereal 3 ways to simulate erosion according to all the research people have done over the years :
Grid based : https://cgg.mff.cuni.cz/~jaroslav/papers/2008-sca-erosim/2008-sca-erosiom-fin.pdf,
Particle based : https://www.firespark.de/resources/downloads/implementation%20of%20a%20methode%20for%20hydraulic%20erosion.pdf,
Connected graph : https://hal.inria.fr/hal-01262376/document
I used grid based method which is best suited for GPU implementation, whereas particle based and graph based method are better/easier to implement on CPU, these 3 method both have their advantages and disadvantages, you might want to take a look at the paper I listed and decide which one is best for you, I personally would recommend you to go with particle based and graph based method since you are not going to do shader programming (GPU essentially), however, if you still want to do the grid based method, I think Karhu has a CPU based implementation of this algorithm, here's their github : https://github.com/karhu/terrain-erosion.

from webgl-erosion.

Related Issues (5)

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.