Comments (4)
It should be 0. I use the read/write when ‘ping ponging’ between two textures. In this case I just need two textures for the advention stage.
You can ask some questions but I wrote this a long time ago so might not remember.
from interactive-erosion.
Thanks to your great work I get almost all code.
- What is going on at the edges of map? I understand that ApplyFreeSlip(RenderTexture[] field) (line 244) clears some noise at the edge of texture. But where is that noise coming from?
- Did you faced memory/processor time shortage in simulation?
- Were you satisfied by simulation realism?
from interactive-erosion.
-
The edges need to be handled by the free slip (a type of boundary condition) so the simulation is correct there. Clamp can not be used. You get the water slowly 'leak' away over time otherwise. Not sure what you mean by noise but precision issues can cause some artifacts at the edges over time.
-
Yes, memory is a issue. You cant just increase the texture sizes to scale up as memory would be a issue and the GPU may time out. You would have to split it into smaller chunks.
-
The erosion effect is not that good. The sediment advection has a precision issue so a lot of the sediment just disappears. Advection is a hard problem so its to be expected but maybe it can be improved. Not sure if the original had this issue. The 4 terrain layers (I think I only use 3) is also over kill. I would just have 2. The base height and the sand. It does make good rivers though.
from interactive-erosion.
Thanks for your answers. If you still have time:
- I meant that my problem was that when I removed ApplyFreeSlip() (replaced it with "Oceans" mechanics at the edges of map) water started to multiply wildly at the edges. Turns out problem was that shader called pixels with negative coordinates at the edges trying to get "left" pixel. I added check for boundaries and it fixed it. No need for ApplyFreeSlip() anymore.
- Is that why you used RenderTextureFormat.RHalf instead of RenderTextureFormat.RFloat for m_sedimentField and some others? Do you think that rising it to 32 bits would improve simulation?
- With rain I can't get delta formation so far neither meanders. I'll try to improve it. BTW regolith flow looks bad for me. It looks as it just polish everything at bottom to one level.
from interactive-erosion.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from interactive-erosion.