elsid
|
d42b5fd28e
|
Fix warning -Woverloaded-virtual
In file included from openmw/components/terrain/quadtreeworld.cpp:10:
openmw/components/terrain/quadtreenode.hpp:95:14: warning: 'Terrain::QuadTreeNode::traverse' hides overloaded virtual function [-Woverloaded-virtual]
void traverse(ViewData* vd, const osg::Vec3f& viewPoint, LodCallback* lodCallback, float maxDist);
^
OpenSceneGraph/build/clang/release/include/osg/Group:43:22: note: hidden overloaded virtual function 'osg::Group::traverse' declared here: different number of parameters (1 vs 4)
virtual void traverse(NodeVisitor& nv);
^
1 warning generated.
|
2019-11-05 09:31:38 +01:00 |
|
elsid
|
751accad0f
|
Remove unused field QuadTreeBuilder::mLodFactor
|
2019-09-28 14:26:52 +02:00 |
|
bzzt
|
a730365ea1
|
Creanup Distant Terrain code
- Cull terrain in the stock osg::CullVisitor
- Do not compile composite maps for shadow camera
- Do not abuse userdata for composite maps
|
2019-06-05 19:09:57 +04:00 |
|
bzzt
|
e4ba6ecf15
|
Do not store a LOD callback in the every QuadTreeNode
|
2019-06-05 18:27:37 +04:00 |
|
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 |
|
bzzt
|
391f6faffb
|
Remove unused defaultViewer / defaultViewPoint
|
2019-04-07 11:21:09 +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 |
|
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 |
|
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 |
|
Andrei Kortunov
|
72db11b56c
|
Fix Clang warnings about hidden virtual methods
|
2019-03-07 17:53:59 +04: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
|
4f387fdf1c
|
Prune empty quad tree nodes
|
2019-02-28 02:47:00 +03: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
|
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
|
553094669b
|
Merge upstream/master (& fix merge conflicts)
|
2018-06-20 00:11:23 +01:00 |
|
Miloslav Číž
|
c3d7ee5a9e
|
Resolve merge conflicts
|
2018-06-13 08:22:37 +02:00 |
|
Miloslav Číž
|
db8aaa74d6
|
Start cell border debug drawing
|
2018-06-13 01:48:31 +02: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
|
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
|
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 |
|
scrawl
|
a070551af3
|
Attempt to fix naming conflict on windows
|
2017-03-15 17:51:00 +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 |
|
scrawl
|
d055dc25bf
|
Add custom traversal for local map camera to avoid loading terrain nodes that are exactly outside the border to another cell
|
2017-03-14 19:27:56 +01:00 |
|
scrawl
|
7d50b6c2e2
|
Add QuadTreeWorld::cacheCell to preload cells at max LOD for local maps
|
2017-03-14 19:27:56 +01:00 |
|