Coder Social home page Coder Social logo

snowsimulation's Introduction

SnowSimulation

snowsimulation's People

Contributors

thebeach54 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

snowsimulation's Issues

Scalability Issue

Hey, first of all thank you for this clever solution for deforming terrains. Also you have another extra effect with particles, thats really impressive.

I used this and works great, well until it gets bigger. It works great when on max 10x10 sized planes/terrains but there is a scalebility issue. So a bigger plane/terrain than 10x scale (or a model with 100x100 gameworld size) camera area gets so small that it cant track smaller objects, like feet of characters. And even after 200x we cant detect them on camera render but only bigger objects.

I tried 2 solutions for this myself.

First I rearranged the cam position so it stays closer to player and follows the player everyframe underneath (This is also deform render area). But since it doesnt cover the whole area, camera script needs to render this image with a smaller one in comparison to tessellation image (zoomed area/whole area rate) and shaders also needs to follow player position and combine them instead of swapping.

I'm pretty new to shader coding so I couldn't manage to do this.

Second solution, i tried to swap to smaller terrains in relation with player position. Instead of one big 100x scaled terrain, 10x sized terrains to cover same area with same zoomed render camera. So when player moves away 50 from render cam, it moves to other new terrains' center and renders for its tessellation map. It worked but it is a lot of work since there will be tons of little terrains and we need to use their own maps etc.

So first solution is easier and optimal but as i said i couldn't manage to do. Is there any way or any ideas for this? Really need your help here because this project is great and i want to use.

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.