Commit Graph

18 Commits (9b483c3ae31f0ce11ea9a47fbada16441cf2c4ae)

Author SHA1 Message Date
scrawl 188df341c3 Replaced log2 to make VC happy 12 years ago
scrawl 839d251cc5 Renamed Terrain::Terrain to Terrain::World to make VC happy 12 years ago
scrawl d3d6dfbde8 Refactored loading screen
- Add loading progress for data files, global map, terrain
 - Refactored and improved cell loading progress
12 years ago
Nikolay Kasyanov dc6e15f38e Replaced std::pow with shift since clang doesn't like int as a first argument
(reports that call is ambiguous)
12 years ago
scrawl 5f7e6f7b10 Fix a material issue, layers per pass wasn't entirely correct 12 years ago
scrawl 43313437dc Fix composite map for cells without land data 12 years ago
scrawl ce5ea6d7d2 Use a proper node hierarchy; disconnect the root when entering interior 12 years ago
scrawl fa76d1631b Some terrain fixes 12 years ago
scrawl 8c8653160d Crash fix, material fix 12 years ago
scrawl b92da9ae93 Neighbour fix 12 years ago
scrawl ebf9debb80 Enabled terrain self shadows, implemented getHeightAt, some optimizations 12 years ago
scrawl e27437f8ed New terrain renderer - improvements:
- Consistent triangle alignment, fixes a noticable crack near the census and excise office. Note that alignment is still not the same as vanilla. Vanilla uses a weird diagonal pattern. I hope there aren't more trouble spots that will force us to replicate vanilla, but at least we can do that now.
 - Fixes several blending issues and cell border seams
 - Fix map render to use the terrain bounding box instead of an arbitrary height
 - Different LODs are now properly connected instead of using skirts
 - Support self shadowing
 - Normals and colors are stored in the vertices instead of a texture, this enables per-vertex lighting which should improve performance, fix compatibility issues due to the PS getting too large and mimic vanilla better
 - Support a fixed function fallback (though the splatting shader usually performs better)
 - Designed for distant land support - test: https://www.youtube.com/watch?v=2wnd9EuPJIY - we can't really enable this yet due to depth precision issues when using a large view distance
12 years ago
scrawl a41a23c90a Deleted old code 12 years ago
greye 1339787863 remove underscores from filenames in esm 12 years ago
guidoj a021165d9f Changed standard C lib includes to C++ format 13 years ago
Chris Robinson bd68f7bd33 Remove final direct uses of Mangle::Stream 13 years ago
Jan-Peter Nilsson 4dd76ff36e Remove no longer needed local .gitignore 14 years ago
Nicolay Korslund 255b0d03a9 Started early work on terrain code (no rendering yet.) 14 years ago