ZeroCool940711 / Sandbox-Game-Engine

GNU General Public License v3.0
4 stars 1 forks source link

Use the code from NVidia Cascade Demo to allow the engine to create cascades and water that can interact with the terrain better. #11

Open ZeroCool940711 opened 5 years ago

ZeroCool940711 commented 5 years ago

The NVIDIA Cascades Demo shows how to create cascades and waterfall sources and also how to create 3d terrain using voxels, the 3d terrain generation is needed in order to create caves and to allow the engine to create multiple parts of terrain on a single chunk, currently the terrain is generated using a 2d heightmap approach which is good but has too many limitations, the part for the water will allow us to create cascades and other water sources that can react to and interact with the terrain, currently the only way to create cascades on the engine is by using a pre-made 3d waterfall model which do not react to the terrain, also it takes too much time to make one waterfall model, by using the cascade demo from NVIDIA we would be able to add a tool to the worldeditor tool panel and when the waterfall tool is selected we can create a waterfall by just clicking on a point on the terrain and configure how far the water will propagate as well as other options for it, if we have a terrain made for the water to run through it then the water will adapt to the terrain and do all the work for us, also this process do not require to create a model so the data can be stored directly to the chunk file.