snowsimulation's Introduction
snowsimulation's People
Forkers
linbozhang avatarchik julianocristian nashnir geralex nuttawutsanuk lowolf mukoladeath illyrium ruchirraj suibiweng nesh108 wondermswift asterosaur ibaanb fitchkrause madsami devingdev varunar644 ryodotanaka unitycoder raven1934 bogotoff wuyping wangbotangbo lontoone zhangjiangen sergeydm ionutsoran phikill jorik041 ahhh222223 turkerfatih ding-yan-qingsnowsimulation'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
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.