**Source code available in ‘files’ area**
This C#/XNA program demonstrates a quadtree terrain splitting algorithm which can be used to render very large-scale worlds. As you move around the terrain, the level of detail will increase/decrease based on camera distance.
The scene is built using deterministic noise which can be modified by changing the parameters in the code. There is also a water plane which adds a bit of variety to the landscape.
You can explore the world using the mouse and keyboard. When the program starts, you must press C to attach the mouse to the camera. You can then use the WASD keys to fly around. If you press the Space key, the camera will follow the contours of the terrain as you move.
- Unrivaled value & reliability in one solution
- Unlimited Calls/SMS/Conferencing/Fax
- Trusted by 350,000+ Businesses
Website | https://quadtree-terrain.sourceforge.io |
Tags | AlgorithmsVisualization |
Platform | Windows |
Features |
|