bzzt
|
a61c0aaee1
|
Do not load height data to the qued tree since we do not need it now
|
2019-06-05 18:27:37 +04:00 |
|
bzzt
|
ebcf8ca062
|
Do not store a ViewDataMap in the every QuadTreeNode
|
2019-06-05 18:27:37 +04:00 |
|
bzzt
|
cb6d27fb12
|
Use the custom LineSegmentIntersector for QuadTree to simplify traversal
code
|
2019-06-05 18:27:37 +04:00 |
|
bzzt
|
ce4e8be9ac
|
Move traverse methods to the QuadTreeNode
|
2019-06-05 18:27:37 +04:00 |
|
Andrei Kortunov
|
1da012f6ee
|
Optimize blendmap generation
|
2019-06-01 14:37:29 +04:00 |
|
elsid
|
4500f01efd
|
Remove unused field
|
2019-04-13 13:25:49 +02:00 |
|
bzzt
|
391f6faffb
|
Remove unused defaultViewer / defaultViewPoint
|
2019-04-07 11:21:09 +04:00 |
|
bzzt
|
e908790584
|
Inherit the view point from main camera for water RTT cameras
|
2019-04-07 11:21:07 +04:00 |
|
Andrei Kortunov
|
489e5c6cce
|
Store preloaded terrain view in the main thread
|
2019-04-07 11:15:21 +04:00 |
|
bzzt
|
63ab7345be
|
Reuse traversal result for different traversal with same view point
Rename eyePoint to viewPoint to match OSG conventions (eyePoint is the camera position, viewPoint is for LOD handling)
|
2019-04-07 11:14:37 +04:00 |
|
bzzt
|
c8d2107b80
|
Do not store Viewer reference in the ViewData
|
2019-03-28 09:51:45 +04:00 |
|
Bret Curtis
|
1e9eac568f
|
Merge pull request #2249 from akortunov/cache
Implement generic caching system
|
2019-03-25 13:32:23 +01:00 |
|
Capostrophic
|
786f3e5fc3
|
Remove unused and unfinished blendmap packing feature
|
2019-03-22 22:15:28 +03:00 |
|
Andrei Kortunov
|
0e1f5f68b6
|
Do not allow different threads to compile the same composite map
|
2019-03-21 08:52:13 +04:00 |
|
Andrei Kortunov
|
cad45e96ac
|
Remove redundant mCompile set - we do not use data from it anyway
|
2019-03-21 08:42:48 +04:00 |
|
bzzt
|
c2986b3bd7
|
Do not block the loading thread while compiling composite maps in the
draw thread
|
2019-03-20 21:42:53 +04:00 |
|
Bret Curtis
|
b819690e82
|
Merge pull request #2264 from akortunov/optimize_terrain
Delete composite map layers in the background thread
|
2019-03-18 13:52:17 +01:00 |
|
bzzt
|
aa5a071aef
|
Delete composite map layers in the background thread
|
2019-03-18 14:00:50 +04:00 |
|
Bret Curtis
|
d56733149c
|
Merge pull request #2201 from akortunov/optimize_terrain
Optimize terrain
|
2019-03-18 08:59:10 +01:00 |
|
bzzt
|
6029ed4ecc
|
Reject empty quad tree nodes at the cell level without land data
|
2019-03-18 10:27:29 +04:00 |
|
bzzt
|
36fa51b6ad
|
Fix bounding box calculation for terrain shapes
|
2019-03-18 10:27:09 +04:00 |
|
bzzt
|
e131e6699c
|
Match vertex colors data type to source
|
2019-03-17 07:24:22 +03:00 |
|
Andrei Kortunov
|
2ed05a5195
|
Implement generic caching system
|
2019-03-14 09:10:19 +04:00 |
|
Andrei Kortunov
|
12f9184d00
|
Allow to interrupt terrain preloading
|
2019-03-09 13:15:23 +04:00 |
|
bzzt
|
e0cf460ba3
|
Do not load terrain beyond the viewing distance
|
2019-03-08 22:15:27 +04:00 |
|
Andrei Kortunov
|
a6fd077537
|
Render nearby default cells if the Distant Terrain is disabled
|
2019-03-08 22:15:27 +04:00 |
|
Andrei Kortunov
|
46e1ed660c
|
Revert "Render default land texture for Wilderness cells with distant terrain"
This reverts commit 888c2d9a33 .
|
2019-03-08 22:15:27 +04:00 |
|
Bret Curtis
|
a381a1aff4
|
Merge pull request #2222 from akortunov/warnfix
Attempt to fix Clang warnings about hidden virtual methods
|
2019-03-08 00:09:31 +01:00 |
|
Andrei Kortunov
|
72db11b56c
|
Fix Clang warnings about hidden virtual methods
|
2019-03-07 17:53:59 +04:00 |
|
Capostrophic
|
0cdc46dfd6
|
Move forcePPL and clamp to global shader defines (bug #4869)
|
2019-03-05 23:36:08 +03:00 |
|
Bret Curtis
|
cd70354f34
|
Merge pull request #2190 from akortunov/terrain
Make Distant Terrain configurable
|
2019-03-02 11:19:45 +01:00 |
|
Andrei Kortunov
|
56fea4b062
|
Add setting to control composite geometry size
|
2019-03-01 18:02:40 +04:00 |
|
bzzt
|
9d44e18af6
|
Allow to configure terrain vertex LOD
|
2019-03-01 18:02:38 +04:00 |
|
bzzt
|
03f23b235a
|
Optimize terrain QuadTree build
|
2019-03-01 16:17:11 +04:00 |
|
bzzt
|
fd94d7f7ff
|
Make Distant Terrain more configurable (feature #4890)
|
2019-03-01 14:51:13 +04:00 |
|
bzzt
|
b2000b7642
|
Fix quad tree node child bounding box dimensions
|
2019-02-28 02:51:46 +03:00 |
|
bzzt
|
172cb74763
|
Delete composite map layers on demand
|
2019-02-28 02:47:00 +03:00 |
|
bzzt
|
4f387fdf1c
|
Prune empty quad tree nodes
|
2019-02-28 02:47:00 +03:00 |
|
bzzt
|
5bce3cbc68
|
Don't use MWRender namespace in common terrain components
|
2019-02-27 00:04:01 +03:00 |
|
Andrei Kortunov
|
3032b177a1
|
Remove redundant includes
|
2019-02-23 08:02:12 +04:00 |
|
AnyOldName3
|
b6b1b39804
|
Make the terrain paging system use the view point rather than the eye point to determine which nodes to use so that it can be inherited by RTT cameras.
|
2018-12-10 21:20:29 +00:00 |
|
AnyOldName3
|
ce15369bbd
|
Convert colorMode shader define to a uniform
|
2018-10-15 23:12:15 +01:00 |
|
AnyOldName3
|
0124be5713
|
Merge upstream/master
|
2018-10-10 21:23:19 +01:00 |
|
Andrei Kortunov
|
e06f0b797a
|
Replace all NULLs to nullptr
|
2018-10-09 10:21:12 +04:00 |
|
Andrei Kortunov
|
70ed8fd1a9
|
Use constants instead of widely used magic numbers (task #4645)
|
2018-09-17 19:22:50 +04:00 |
|
AnyOldName3
|
80082308f0
|
Merge upstream (shadermanager log system revamp)
|
2018-08-17 18:22:13 +01:00 |
|
elsid
|
c2b8c7086a
|
Fix race condition
Values are accessed from main thread and cell preloader threads.
|
2018-08-12 01:06:58 +03:00 |
|
AnyOldName3
|
cc23a968d1
|
Merge upstream/master
|
2018-08-01 14:13:45 +01:00 |
|
Andrei Kortunov
|
359e748c28
|
Initialize some missing fields in constructors
|
2018-06-25 09:35:42 +04:00 |
|
AnyOldName3
|
f8e4f3fca5
|
Merge remote-tracking branch 'upstream/master' into osgshadow-test-vdsm
|
2018-06-22 00:11:29 +01:00 |
|
AnyOldName3
|
553094669b
|
Merge upstream/master (& fix merge conflicts)
|
2018-06-20 00:11:23 +01:00 |
|
Bret Curtis
|
c1eb9042b3
|
Merge branch 'master' into terrainbleeding
|
2018-06-19 13:40:14 +02:00 |
|
Miloslav Číž
|
34f8eca7bd
|
Fix indent
|
2018-06-14 13:43:32 +02:00 |
|
Miloslav Číž
|
ab8de9fa14
|
Set node mask to cell borders
|
2018-06-14 13:18:37 +02:00 |
|
Miloslav Číž
|
414e6caafe
|
Make tb work with distant terrain
|
2018-06-14 13:14:38 +02:00 |
|
Miloslav Číž
|
f18d57429e
|
Move cell border management to World
|
2018-06-14 12:27:22 +02:00 |
|
Miloslav Číž
|
1b8d500c07
|
Make tb command work again
|
2018-06-14 12:01:09 +02:00 |
|
Miloslav Číž
|
1fd5ad3e56
|
Use REAL_SIZE constant
|
2018-06-14 01:01:22 +02:00 |
|
Miloslav Číž
|
c3d7ee5a9e
|
Resolve merge conflicts
|
2018-06-13 08:22:37 +02:00 |
|
wareya
|
94f695cffc
|
Fix #4452 and remove dead code
|
2018-06-12 21:04:27 -04:00 |
|
Miloslav Číž
|
db8aaa74d6
|
Start cell border debug drawing
|
2018-06-13 01:48:31 +02:00 |
|
wareya
|
6277f5511c
|
fix #3876 and #3993
|
2018-06-08 17:52:46 -04:00 |
|
AnyOldName3
|
759e6fb804
|
Merge remote-tracking branch 'refs/remotes/upstream/master'
|
2018-05-27 15:41:42 +01:00 |
|
Marc Zinnschlag
|
810e4416f6
|
Merged pull request #1691
|
2018-05-23 16:56:36 +02:00 |
|
Andrei Kortunov
|
888c2d9a33
|
Render default land texture for Wilderness cells with distant terrain
|
2018-05-22 12:40:01 +04:00 |
|
Andrei Kortunov
|
6cc7405194
|
Remove unnecessary command from QuadTreeWorld destructor (bug #4408)
|
2018-04-30 18:29:26 +04:00 |
|
AnyOldName3
|
fc41902798
|
Replace a dynamic cast with string comarison
|
2018-03-01 14:37:11 +00:00 |
|
AnyOldName3
|
d1a2955fa1
|
Merge upstream
|
2018-02-27 14:29:14 +00:00 |
|
AnyOldName3
|
e233dae1cd
|
Hook up the new shadow technique
|
2018-02-26 22:27:09 +00:00 |
|
AnyOldName3
|
02d0ee3485
|
Rename old shadow class to shadow manager
|
2018-02-26 14:29:31 +00:00 |
|
AnyOldName3
|
9ec59783ba
|
Add basic support for distant terrain CLSB
(cherry picked from commit 0f9dc3e65b72e6fff762f7a0933bae6f861e5fd4)
|
2018-02-23 23:37:04 +00:00 |
|
scrawl
|
9b8c56761b
|
Fix timing error
|
2018-02-13 18:25:28 +00:00 |
|
Alexander "Ananace" Olofsson
|
145b47a550
|
Fix Windows builds
`std::min`/`std::max` are part of algorithm, which is not implicitly included in Windows builds
|
2018-02-13 17:47:38 +01:00 |
|
scrawl
|
123f7b83d5
|
Make the CompositeMapRenderer use available time and add related setting
|
2018-02-13 00:40:41 +00:00 |
|
AnyOldName3
|
112ade2a3f
|
Ensure TerrainDrawables affect the computed near/far planes.
|
2018-01-22 15:52:37 +00:00 |
|
AnyOldName3
|
1a30a917af
|
Merge upstream/master
|
2017-11-08 01:31:38 +00:00 |
|
scrawl
|
7b4add2ae4
|
Fall back to non-shader material if creating the shader fails
Also fixes an uncaught exception that will break the whole game.
|
2017-11-08 00:24:03 +00:00 |
|
scrawl
|
ceaf0ee409
|
Enable shadow casting for terrain
Add a check to TerrainDrawable to make sure shadows are only drawn once, not once per blending pass
|
2017-10-31 21:21:05 +01:00 |
|
Marc Zinnschlag
|
dd17f70068
|
Merge remote-tracking branch 'aesylwinn/landrecords'
|
2017-10-03 13:32:02 +02:00 |
|
Chris Robinson
|
021627bdf8
|
Mark some functions with override
Fixes some Clang warnings about overriding a virtual function without the
override keyword.
|
2017-09-18 01:51:11 -07:00 |
|
Kyle Cooley
|
2abf7f1752
|
Remove unnecessary cache dump
|
2017-09-15 12:19:12 -04:00 |
|
Kyle Cooley
|
2eacc2f093
|
Changes to land creation, add ability to specifically clear terrain cache
|
2017-09-08 14:37:03 -04:00 |
|
scrawl
|
4fba157d3b
|
Implement releaseGLObjects for cached resources
|
2017-08-26 19:29:12 +00:00 |
|
Kyle Cooley
|
979b0d7211
|
Code cleanup and more cache clearing
|
2017-08-21 18:58:38 -04:00 |
|
Kyle Cooley
|
3b9326d238
|
Clear terrain cache and reload terrain
|
2017-08-20 22:34:41 -04:00 |
|
scrawl
|
3e03a0d7bd
|
Terrain: remove ref argument that is now always true
|
2017-07-19 16:24:35 +02:00 |
|
scrawl
|
ac78d01b2b
|
Terrain: use the main camera's viewpoint for intersection tests
Fixes lag spikes caused by intersection tests loading/unloading terrain pages.
|
2017-07-19 13:11:44 +02:00 |
|
Ewan Higgs
|
38a2de3c51
|
convert std::autor_ptr to std::unique_ptr, originally by Ewan Higgs and updated by Bret Curtis
|
2017-06-09 16:49:25 +02:00 |
|
scrawl
|
c992cb6e82
|
Fix texture not being applied on rendering the composite map (Fixes #3791)
|
2017-03-19 19:15:22 +01:00 |
|
scrawl
|
a070551af3
|
Attempt to fix naming conflict on windows
|
2017-03-15 17:51:00 +01:00 |
|
scrawl
|
088d5604bf
|
Use a shader if required to display the composite map
Fixes composited terrain not respecting the 'clamp lighting' setting.
|
2017-03-14 19:27:56 +01:00 |
|
scrawl
|
7f5beb3172
|
Remove unused includes
|
2017-03-14 19:27:56 +01:00 |
|
scrawl
|
5044816770
|
Remove unused code
|
2017-03-14 19:27:56 +01:00 |
|
scrawl
|
b66c2abfe3
|
Build the bounding sphere in the loading thread (only relevant for TerrainGrid)
|
2017-03-14 19:27:56 +01:00 |
|
scrawl
|
9e9c028f1d
|
Skip light collection for far away terrain
|
2017-03-14 19:27:56 +01:00 |
|
scrawl
|
0782839a42
|
Avoid redundant culling tests on the transform/drawable
|
2017-03-14 19:27:56 +01:00 |
|
scrawl
|
fb8ac06524
|
Reduce the minSize of quad tree nodes for better performance
|
2017-03-14 19:27:56 +01:00 |
|
scrawl
|
a041546b54
|
Use the quad tree's minSize in the LodCallback
|
2017-03-14 19:27:56 +01:00 |
|
scrawl
|
e4e8821902
|
Refactor update of lodFlags
|
2017-03-14 19:27:56 +01:00 |
|
scrawl
|
2aa09639a9
|
Re-enable terrain intersections
|
2017-03-14 19:27:56 +01:00 |
|