Ewan Higgs
38a2de3c51
convert std::autor_ptr to std::unique_ptr, originally by Ewan Higgs and updated by Bret Curtis
8 years ago
Julian Ospald
5d85fa9220
Fix build with osg >= 3.5.6
8 years ago
scrawl
813af876f6
Use a partial binary search in isReservedName ( Fixes #3835 )
8 years ago
scrawl
8d84869432
Fix commit 8f71b65d38
(don't overwrite the previous user data)
...
This resulted in a crash/corruption because the KeyframeController, for performance reasons, does not check that the expected user data is there and of correct type.
(Fixes #3829 )
8 years ago
scrawl
45d9e38616
Fix check for default material
8 years ago
Allofich
e095817ac2
Treat =< and => as == in scripts
...
(Fixes #3744 )
8 years ago
Allofich
ff3e307059
Pass parameters by const reference
8 years ago
scrawl
8f71b65d38
sceneutil/attach: inherit the UserDataContainer to avoid the resource cache from being cleared incorrectly
8 years ago
MiroslavR
c962b6dd6d
Fix correctActorModelPath to work properly when both backward and forward slashes are used in the path ( Fixes #3822 )
8 years ago
MiroslavR
395e97cf40
Remove evil "implicit GetJournalIndex" hack from expression parser
8 years ago
Allofich
3780d94214
Cast LAND_SIZE to integer to avoid linking error
8 years ago
Allofich
2a505b427d
Remove second LAND_SIZE definition
8 years ago
scrawl
f676b62711
Remove unused variable
8 years ago
scrawl
c992cb6e82
Fix texture not being applied on rendering the composite map ( Fixes #3791 )
8 years ago
MiroslavR
06dc94552f
Log a warning if size in SCHD (script header) does not match SCDT (bytecode) size instead of failing
8 years ago
scrawl
a070551af3
Attempt to fix naming conflict on windows
8 years ago
scrawl
3d58ba7301
Fix boolean test
8 years ago
scrawl
fd215caa02
Add local LandCache to cut down on store searches
8 years ago
scrawl
088d5604bf
Use a shader if required to display the composite map
...
Fixes composited terrain not respecting the 'clamp lighting' setting.
8 years ago
scrawl
7f5beb3172
Remove unused includes
8 years ago
scrawl
5044816770
Remove unused code
8 years ago
scrawl
b66c2abfe3
Build the bounding sphere in the loading thread (only relevant for TerrainGrid)
8 years ago
scrawl
9e9c028f1d
Skip light collection for far away terrain
8 years ago
scrawl
0782839a42
Avoid redundant culling tests on the transform/drawable
8 years ago
scrawl
fb8ac06524
Reduce the minSize of quad tree nodes for better performance
8 years ago
scrawl
a041546b54
Use the quad tree's minSize in the LodCallback
8 years ago
scrawl
e4e8821902
Refactor update of lodFlags
8 years ago
scrawl
2aa09639a9
Re-enable terrain intersections
8 years ago
scrawl
db00d47ca2
Hold a ref to the intersection visitor's view if possible
8 years ago
scrawl
11bee6ee35
Avoid compiling composite maps that are no longer referenced
8 years ago
scrawl
9eed7fa6f5
Fix composite map when force shaders is enabled
8 years ago
scrawl
d055dc25bf
Add custom traversal for local map camera to avoid loading terrain nodes that are exactly outside the border to another cell
8 years ago
scrawl
7d50b6c2e2
Add QuadTreeWorld::cacheCell to preload cells at max LOD for local maps
8 years ago
scrawl
6ccb6009ee
Use the View-based preloading for TerrainGrid as well
8 years ago
scrawl
3c29e2dbeb
Refactor ownership of terrain views
8 years ago
scrawl
28fd492711
Don't use terrain LOD for the map camera
8 years ago
scrawl
e7a0878c10
Add CompositeMapRenderer info to the stats panel
8 years ago
scrawl
c921620ef3
Compile the drawables of a composite map one by one to avoid frame drops for larger maps
8 years ago
scrawl
47ca8aeee5
Use the time elapsed instead of # compiled as limit
8 years ago
scrawl
8a6d909b22
Fix composite map being compiled twice
8 years ago
scrawl
683e625c6c
Rewrite CompositeMapRenderer to be based on Drawable and share the FBO
8 years ago
scrawl
4baa795152
Add preloading implementation to QuadTreeWorld
8 years ago
scrawl
9db71e3f62
Recompute the LOD stitching when the view changes
8 years ago
scrawl
ef704db877
Fix reset of changed flag
8 years ago
scrawl
1c15686353
Remove non required use of WorkQueue
8 years ago
scrawl
433900fca5
Fix waiting on initial quad tree build
8 years ago
scrawl
4dbd224249
Hide the terrain in non-exterior cells
8 years ago
scrawl
2580de11a4
Refactor ownership of ViewDataMap
8 years ago
scrawl
5a3c645c89
Enable lazy compiling of composite maps
8 years ago
scrawl
99e18f0d68
Clear the ViewData on exit
8 years ago