Evil Eye
9f7980ecd7
Merge branch 'refenreces' into 'master'
...
Sprinkle some references where it makes sense
See merge request OpenMW/openmw!952
4 years ago
jvoisin
cf11870b1c
Sprinkle some references where it makes sense
4 years ago
jvoisin
33e035cc95
Fix two excessive type casting instances
...
No need to to a string -> char* -> string dance.
4 years ago
CedricMocquillon
d11a6bd92c
Share state
4 years ago
psi29a
d843ec321e
Merge branch 'DoNotSearchTwice' into 'master'
...
Search only in the niffilemanager for nif files
See merge request OpenMW/openmw!823
4 years ago
Thunderforge
339d347aea
Fixing performance-faster-string-find issues
...
This addresses the Clang Tidy check [performance-faster-string-find](https://clang.llvm.org/extra/clang-tidy/checks/performance-faster-string-find.html ).
4 years ago
CedricMocquillon
a885134868
Do not search if it is not used
4 years ago
CedricMocquillon
813b8ee0d1
Search only in the niffilemanager for nif files
4 years ago
Andrei Kortunov
9647b670e4
Do not declare unused variables
4 years ago
glassmancody.info
16856d45c5
Lighting Patch
...
Fixes build errors with older OSG builds and some issues with 'shared' layout.
Bring back ambient in inventory through lightmodel instead of sun ambient, mirrors scene ambient/sunlight relationship.
Forces shaders when certain lighting methods are enabled and finalize settings.
Correctly override sun for localmap.
4 years ago
glassmancody.info
582f7b52cf
Merge remote-tracking branch 'upstream/master' into why_are_the_christmas_lights_still_up
4 years ago
glassmancody.info
7370acdf54
Merge remote-tracking branch 'upstream/master' into why_are_the_christmas_lights_still_up
4 years ago
glassmancody.info
43ac32921c
Rewrite, support different lighting methods
4 years ago
glassmancody.info
9d9074c244
Add shared UBO
4 years ago
glassmancody.info
dda735c54a
initial commit
4 years ago
Andrei Kortunov
124a33d8a3
Fix uninitialized variables
4 years ago
Alexei Dobrohotov
2fdbe9b3f6
Handle BSShader[PP/No]LightingProperty
4 years ago
psi29a
cc6f08930b
Merge branch 'alpha-meddling' into 'master'
...
Replace deprecated alpha test in shader visitor
Closes #4899
See merge request OpenMW/openmw!473
4 years ago
AnyOldName3
9be258d260
Make it possible to reinstate FFP state easily
4 years ago
psi29a
59e09cba5b
Merge branch 'boltsize' into 'master'
...
Use projectile mesh size (#5829 )
See merge request OpenMW/openmw!587
4 years ago
elsid
561628087c
Merge branch 'profiler_fix' into 'master'
...
Fix profiler glitches (#5850 )
See merge request OpenMW/openmw!605
4 years ago
AnyOldName3
4f510d85ba
Merge remote-tracking branch 'upstream/master' into alpha-meddling
4 years ago
fredzio
c4e909c29e
Silence a clang warning:
...
warning: moving a temporary object prevents copy elision [-Wpessimizing-move]
4 years ago
fredzio
bc4047d815
Update engine stats for all levels above first, not only at the second.
4 years ago
psi29a
c33b2e0100
Merge branch 'dehardcodebaseanim' into 'master'
...
Dehardcode Base_animation and improve Collada support
See merge request OpenMW/openmw!510
4 years ago
fredzio
6e969ca3fa
Use mesh collision box instead of node bounding sphere for projectile
...
size. The bounding sphere is much bigger than the mesh.
4 years ago
Alexei Dobrohotov
ab28847eaf
Merge branch 'collisionextentsandcenter' into 'master'
...
Get collision box extents and center from btBvhTriangleMeshShape
See merge request OpenMW/openmw!579
4 years ago
unelsson
303f1912a6
less debug spam
4 years ago
unelsson
d5844b0982
Use accompanying txt file for textkeys in osgAnimation formats
4 years ago
elsid
88ca4a1db6
Count navmesh cache hit rate
4 years ago
Nelsson Huotari
45fde84f4f
Use nodemasks and visitors for detecting custom collision shapes
4 years ago
Nelsson Huotari
5c32460153
Add underscore-separated node-names to reserved-list
4 years ago
Nelsson Huotari
384112746c
Add option for custom collision node with non-nif files
4 years ago
Nelsson Huotari
6c0c28c2eb
Get collision box extents and center from btBvhTriangleMeshShape
4 years ago
Nelsson Huotari
5b88d16a50
Clean-up
4 years ago
Nelsson Huotari
2162b97fef
Handle case in osgAnimation bone names
4 years ago
Nelsson Huotari
f87c45c92a
Get collision box extents and center from btBvhTriangleMeshShape
4 years ago
Nelsson Huotari
3194520dcd
Move base_anim settings to settings-default.cfg
4 years ago
Bret Curtis
b164f1aa17
Merge pull request #3023 from akortunov/grass_intsancing
...
Grass instancing
4 years ago
Frederic Chardon
7cd7fa2f08
Collect all available stats if OPENMW_OSG_STATS_FILE is set and point to
...
a valid file.
4 years ago
Andrei Kortunov
24e1dfcddc
Use default argument
4 years ago
Andrei Kortunov
14cf0ce1dc
Implement instanced groundcover
4 years ago
AnyOldName3
b6e92c9c6d
Use ShaderVisitor to skip translucent framebuffer specific stuff
4 years ago
Andrei Kortunov
f175beb304
Define template ref classes in components
4 years ago
AnyOldName3
8f4b856b44
Initial A2C implementation
4 years ago
Nelsson Huotari
8b2bf12e8f
Use bip01 for root bone name
4 years ago
Nelsson Huotari
3195716a2c
Don't force loop textkey
4 years ago
Nelsson Huotari
256aa5e71d
Use const auto&
4 years ago
Alexei Dobrohotov
15291f15d3
Make actor collision box components a struct
4 years ago
Andrei Kortunov
8084a336b5
Replace zeroes and nulls by nullptrs
4 years ago
Nelsson Huotari
55dcc6582a
Don't duplicate getFileExtension, use OpenMW's namespaces
4 years ago
Nelsson Huotari
08dcbe30b3
Earlier nullptr check
4 years ago
Nelsson Huotari
32d4344803
Don't copy osga-data in base class keyframecontroller, fix warnings.
4 years ago
Nelsson Huotari
6e77ad1f6a
OSG-Collada animation support
4 years ago
Nelsson Huotari
f78a5d795c
Separate keyframes logic to provide basis for osgAnimation integration.
4 years ago
Alexei Dobrohotov
b523574090
Remove shader visitor settings manager dependency
4 years ago
Andrei Kortunov
660df19ff7
Allow to assign custom shaders to nodes
4 years ago
Andrei Kortunov
8ca3c3b123
Mark overrided methods by override keyword
4 years ago
AnyOldName3
85b5fdee35
Discard the alpha channel of 16-bit TGAs, just like Morrowind
4 years ago
Bret Curtis
0c2fea8254
Merge pull request #2932 from elsid/replace_open_threads
...
Replace OpenThreads by std types
5 years ago
elsid
56bc462007
Make all stats fit into the window
5 years ago
elsid
40ad87bc4d
Replace OpenThreads by std types
5 years ago
Nelsson Huotari
5bc44cf2ee
Use sequenced texture units with .dae/collada
5 years ago
bzzt lost a hitlab login
26ab176389
profiling
...
Signed-off-by: Bret Curtis <psi29a@gmail.com>
5 years ago
bzzt lost a hitlab login
17637c6575
pagerebuild on disable
...
Signed-off-by: Bret Curtis <psi29a@gmail.com>
5 years ago
bzzt lost a hitlab login
69514dfd46
ico redundency fix + stats counter
...
Signed-off-by: Bret Curtis <psi29a@gmail.com>
5 years ago
bzzt lost a hitlab login
cf439581e1
comply by elsid review
...
Signed-off-by: Bret Curtis <psi29a@gmail.com>
5 years ago
bzzt
d684f1a78f
terrainbased objectpaging
...
Signed-off-by: Bret Curtis <psi29a@gmail.com>
5 years ago
elsid
69df6098e5
Report frame number, number of actors and objects to stats
5 years ago
Capostrophic
16f6c7b27f
Use the new option to treat TGA files as TGA 1.0
5 years ago
Bret Curtis
d77047e1cf
tab2space
5 years ago
Bret Curtis
1870b4b345
catch and set with no _found; leave empty as empty string
5 years ago
Bret Curtis
6d3f9ce307
puts an end of error spam when OSG is copmiled without Freetype support
5 years ago
Bret Curtis
8a8107e837
as it says; revert vismask and uncomplicate openmw
5 years ago
Andrei Kortunov
84979fa8b7
Move VisMask to components
5 years ago
Bret Curtis
1e9eac568f
Merge pull request #2249 from akortunov/cache
...
Implement generic caching system
6 years ago
elsid
4624f31788
Report navigator stats
6 years ago
elsid
2c78d530a2
Use static vector to store stat names
6 years ago
Andrei Kortunov
2ed05a5195
Implement generic caching system
6 years ago
Andrei Kortunov
b214c54b3a
Calculate bounding volumes when preloading model instance
6 years ago
Capostrophic
0cdc46dfd6
Move forcePPL and clamp to global shader defines (bug #4869 )
6 years ago
bzzt
567ad293fd
Don't discard object cache with uninitialized timestamp
...
This can happen during terrain loading
6 years ago
bzzt
aecbc2f01c
Fix crash when incremental compile operation is not used
6 years ago
Andrei Kortunov
3032b177a1
Remove redundant includes
6 years ago
Andrei Kortunov
92e45507d8
Weapon sheathing support, including quivers and scabbards (feature #4673 )
6 years ago
elsid
49d81241db
Merge branch 'master' into pathfinder_detour
6 years ago
Andrei Kortunov
61e6e359c4
Allow creatures to use the autogenerated collision box (feature #2787 )
6 years ago
elsid
fa23b590a4
Add unwalkable areas to NavMesh
6 years ago
elsid
f6a60790f8
Create collision shape for all avoided nodes
6 years ago
Andrei Kortunov
e06f0b797a
Replace all NULLs to nullptr
6 years ago
Andrei Kortunov
1452684d9e
Use new logging system for components
6 years ago
elsid
f2a63bcf35
Add unit tests for BulletNifLoader
6 years ago
Andrei Kortunov
1f4dd3b393
Make partial binary search case insensitive, as it supposed to be (bug #4558 )
6 years ago
Andrei Kortunov
70b6d4983d
Use the DejaVuLGCSansMono.ttf in profilier output
7 years ago
scrawl
a5adc5b018
Add NPC base skeleton files to the optimizer blacklist ( Fixes #4159 )
7 years ago
scrawl
136ef1f738
Fix incomplete settings in recreateShaders()
7 years ago
scrawl
03554b2f4b
Fix some style issues flagged by cppcheck
7 years ago
scrawl
50d7eb8e54
Fix crash when adding a NULL object to the cache
7 years ago
scrawl
5fbdb64bb9
Add OPENMW_DECOMPRESS_TEXTURES environment variable to decompress textures in software if not supported by graphics hardware
...
Disabled by default due to requiring new functionality that was just added to OSG 3.6 or OpenMW/OSG.
7 years ago
Chris Robinson
021627bdf8
Mark some functions with override
...
Fixes some Clang warnings about overriding a virtual function without the
override keyword.
7 years ago
scrawl
4fba157d3b
Implement releaseGLObjects for cached resources
7 years ago
Kyle Cooley
979b0d7211
Code cleanup and more cache clearing
7 years ago
Kyle Cooley
679a284735
Use scoped lock instead of directly locking/unlocking mutex
7 years ago
Kyle Cooley
b62cb0e2a4
Clear out GPU texture/stateset cache
7 years ago
Kyle Cooley
d7744e8b16
A bit of cleanup
7 years ago
Kyle Cooley
5950b26912
Update scene assets
7 years ago
Kyle Cooley
742bd00ec6
Clear cached resources
7 years ago
scrawl
be940656db
Add '0' as an alias for 'OFF' for OPENMW_OPTIMIZE
8 years ago
Bret Curtis
d785344fad
purge all instances of <boost/shared_ptr.hpp>, clean up unused headers
8 years ago
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
f676b62711
Remove unused variable
8 years ago
scrawl
e7a0878c10
Add CompositeMapRenderer info to the stats panel
8 years ago
scrawl
051c17a184
Make reportStats const
8 years ago
scrawl
35d53acc65
Factor out terrain chunk loading/caching into a new resource manager
8 years ago
scrawl
9a3a64f0c4
Add resource manager for ESM::Land to allow data to be unloaded when no longer required
8 years ago
scrawl
4cd4457d21
Add support for Functors to ObjectCache
8 years ago
scrawl
9d72d9f0c9
Change order of operations in SceneManager::updateCache to allow deleting of StateSets that just got unreferenced by the scene
8 years ago
scrawl
928e2061f7
Remove redundant tolower
8 years ago
scrawl
5866f0f80b
Add OPENMW_OPTIMIZE env variable to help debugging optimizer-related issues
...
Example:
OPENMW_OPTIMIZE=OFF
OPENMW_OPTIMIZE="~FLATTEN_STATIC_TRANSFORMS"
8 years ago
scrawl
29556a1802
More consistent wording of errors/warnings
...
A Warning indicates a potential problem in the content file(s) that the user told OpenMW to load. E.g. this might cause an object to not display at all or as intended, however the rest of the game will run fine.
An Error, however, is more likely to be a bug with the engine itself - it means that basic assumptions have been violated and the engine might not run correctly anymore.
The above mostly applies to errors/warnings during game-play; startup issues are handled differently: when a file is completely invalid/corrupted to the point that the engine can not start, that might cause messages that are worded as Error due to the severity of the issue but are not necessarily the engine's fault.
Hopefully, being a little more consistent here will alleviate confusion among users as to when a log message should be reported and to whom.
8 years ago
scrawl
4e0011bfc8
Improve NPC loading performance by caching the cleaned objectRoot
8 years ago
scrawl
585524805f
Add 'tri ' variant of part filters to optimizer ignore list
8 years ago
scrawl
75677f03e7
Remove SceneManager::notifyAttached
8 years ago
scrawl
3df7a8c4d8
Avoid FLATTEN_STATIC_TRANSFORMS optimization for non-Geometry drawables
8 years ago
scrawl
ebfd845eae
optimizer: run MERGE_GEOMETRY after removing redundant nodes
8 years ago
scrawl
e33829d493
Add fork of osgUtil::Optimizer with backported fixes that have not been released yet
...
Remove optimizers that won't be used.
8 years ago
scrawl
5e2335f250
Use the osgUtil::Optimizer post loading in the SceneManager
8 years ago
scrawl
d75a3fd0fb
Add SharedStateManager to the stats panel
8 years ago
scrawl
8f79fa3d72
Add resource statistics panel opened with F4
8 years ago
scrawl
3693f05ef5
Transform world-space particle systems in update callback so that animations are accounted for
8 years ago
scrawl
57b585570a
Preload magic effect visuals of the player's selected weapon/spell
8 years ago
scrawl
d141b98f0c
Add base animations to preloadCommonAssets
8 years ago
scrawl
c95868969b
Early out for scene graphs with no update callbacks in SceneManager::notifyAttached
8 years ago
scrawl
b4a6b6387b
Create own instance of osgDB::SharedStateManager so we control when to call prune()
...
prune() is now called in the background thread, just like the resource cache update.
Seems to improve performance by ~0.3 ms/frame
8 years ago
scrawl
e90941a8b3
Wrap the scene template reference in another object for const correctness and to avoid it from being serialized with the osgDB serializer
8 years ago
scrawl
5c94e2324f
Add missing use plugin macro for static build
8 years ago
scrawl
dda5bfbc9f
CharacterPreview no longer depends on osgViewer
8 years ago
scrawl
6f31b3d79f
Add parallax mapping for objects
9 years ago
scrawl
157c11398d
Add terrain parallax mapping
9 years ago
scrawl
24ae9f4ac1
Remove no longer needed apply(Geode&) in SetFilterSettingsVisitor and NodeToShapeVisitor
...
In OSG 3.4 (which is now a requirement), Drawables are normal Nodes attached in the scene graph. Geode is still provided for backwards compatibility, but does not need to be specially handled here because it now functions just like a normal Group node.
9 years ago
scrawl
e8caafa190
Remove no longer needed applyEffect(osgFX::Effect&) in SetFilterSettingsVisitor
...
No longer needed because terrain texture filtering is now updated manually in TerrainGrid::updateTextureFiltering.
9 years ago
scrawl
2eaf96e3bf
Make ResourceManager destructor virtual
9 years ago
scrawl
8bd16e4d5a
Don't compute the world matrix multiple times
9 years ago
scrawl
cee608e31b
Make it work with appveyor's outdated OSG build
9 years ago
scrawl
8e826eefe6
Add missing initialization
9 years ago
scrawl
cdefee3e64
Add call to MultiObjectCache::releaseGLObjects
9 years ago
scrawl
4ca6e91292
Fix in-code default settings so that we don't attempt to use shaders in OpenCS
9 years ago
scrawl
f01e8a6950
Add specular mapping for objects
9 years ago
scrawl
5cf2441b10
ShaderVisitor: support automatic recognition of normal maps based on file pattern
...
Introduce new settings 'auto use object normal maps', 'auto use terrain normal maps', 'normal map pattern'
9 years ago
scrawl
6000e48bba
Add terrain shaders and normal map support
...
Textures with _n filename suffix are automatically recognized as terrain normal maps.
9 years ago
scrawl
268594dcf1
Recreate shader in NpcAnimation::setAlpha
9 years ago
scrawl
a73512afb7
Add shader settings to settings.cfg
9 years ago
scrawl
a9ad1b09e2
Introduce ShaderManager & ShaderVisitor
...
Actual shaders still to be written.
9 years ago
scrawl
e05d975020
Change the way that texture filtering settings are applied at runtime
9 years ago
scrawl
c4d38bb42d
Fix clang analyzer warnings
9 years ago
scrawl
9eb96b9cb6
Parse the bullet version in FindBullet.cmake
9 years ago
scrawl
83a9a164bc
Raise the required bullet version to 2.83
...
2.82 appears to have a bug that causes the player to be able to phase through certain objects (bug #1587 ).
9 years ago
scrawl
5824619a95
Clean up includes
9 years ago
scrawl
8b596dfcbe
Remove support for OSG 3.2
...
Since commit e8662bea31
, we're using OSG functionality that contains an unfixed crash bug in version 3.2. The bug is fixed in version 3.4 (OSG commit 6351e5020371b0b72b300088a5c6772f58379b84)
9 years ago
scrawl
9f729667fb
Remove debug output
9 years ago
scrawl
0865cea211
Preload terrain
9 years ago
scrawl
246566cef4
Preload instances in BulletShapeManager
9 years ago
scrawl
e28dc3e72f
Preload instances in SceneManager
9 years ago
scrawl
2e62298bd3
Clean up ObjectCache includes
9 years ago
scrawl
e4e313fe12
Remove outdated comment
9 years ago
scrawl
c8054424c9
Preload items equipped by NPCs
9 years ago
scrawl
a81b10b415
Make the cache expiryDelay configurable
9 years ago
scrawl
41233fc8e5
Keep a reference to the original scene template for as long as the instance is used
9 years ago
scrawl
778bce3ae9
Remove unused ObjectCache functions
9 years ago
scrawl
49ecac4ced
Add a mutex lock around the SharedStateManager
9 years ago
scrawl
8b981ab507
Crash fix
9 years ago
scrawl
c155680d3c
Customize ObjectCache for more efficient locking in removeExpiredObjectsInCache
9 years ago
scrawl
d855a13b44
Clear the resource cache from the worker thread
9 years ago
scrawl
6f9ca0f68f
Add basic cell preloader class
...
Not properly in use yet, but seems to be working.
9 years ago
scrawl
e055ae094a
Improve const-correctness in BulletShapeManager
...
Sadly, two const_cast's are needed to work around Bullet API quirks.
9 years ago
scrawl
df57d4bfba
Use a common base class for resource managers
...
Implement updateCache to delete unreferenced cached objects when they have not been referenced for a while.
9 years ago
scrawl
ea1efaac0c
Use the osgDB::ObjectCache in SceneManager, cleanup
9 years ago
scrawl
909c4d96b6
Use the osgDB::ObjectCache in BulletShapeManager
9 years ago
scrawl
6c1c653cba
Use the osgDB::ObjectCache in ImageManager
...
Should be thread safe now.
9 years ago
scrawl
9e53e12c70
More renaming of TextureManager -> ImageManager
9 years ago
scrawl
5ee3d1698f
Remove getWarningTexture in favor of getWarningImage
9 years ago
scrawl
f99f403dda
Rename TextureManager to ImageManager
9 years ago
scrawl
6ef848b7c5
Remove TextureManager::getTexture2D
...
Instead use getImage and let the caller create the Texture. Sharing of textures is then handled in post by the SharedStateManager.
This is closer to what the OSG serializer does.
Streamlines the TextureManager and will make it easier to multithread.
9 years ago
scrawl
71401aafe7
Handle multipass techniques in SetFilterSettingsVisitor
9 years ago
scrawl
31988ca4cc
Add a dont_override_filter description for textures that should be left alone
9 years ago
scrawl
e8662bea31
Change the way that image origin is converted to OpenGL's lower-left convention
...
Flip the texture coordinates instead of flipping textures.
This simplifies the TextureManager (no need to worry if the caller wants flipping or not), should make it easier to generalize & multithread it.
9 years ago
scrawl
6ac688c0e2
Change the way that texture filtering setting changes are applied at runtime to not require keeping a reference to textures
...
The references would be difficult to clean up because there may or may not be another reference to the texture in the osgDB::SharedStateManager.
9 years ago
scrawl
5b972ee777
Move texture filtering settings to SceneManager
...
Practical benefits:
- Filter settings are now applied to native OSG format models. These models do not use TextureManager::getTexture2D since the model itself specifies a Texture.
- The GUI render manager will be able to use its own separate textures, making it easier to turn off filtering for them.
9 years ago
scrawl
d9290b0ee0
Array fix
9 years ago
scrawl
48f53e23bf
Allow alternate mesh formats for marker_error
9 years ago
Tobias Kortkamp
0659687bfb
Some fixes for building on FreeBSD
9 years ago
Alexander "Ace" Olofsson
0efb8e2949
osgDB::ObjectCache was added in 3.3.3, not 3.4.0
...
Fixes redefinition error on builds with OSG >3.3.3 <3.4.0
9 years ago
scrawl
c70790ecb7
Remove outdated comment
9 years ago
scrawl
076dc539bc
KeyframeManager fix
9 years ago
Chris Robinson
f1faeeae3a
Use separate config options for min and mag texture filters
9 years ago
Chris Robinson
5c0a847eaf
Combine some duplicate code
9 years ago
scrawl
64424e7262
Move keyframe loading out of SceneManager to new KeyframeManager
9 years ago
scrawl
295563ba65
Minor fix
9 years ago
scrawl
9d4af59860
Don't attempt to create quest log buttons if textures are unavailable ( Fixes #3063 )
9 years ago
scrawl
87e44bf627
Small fix
9 years ago
scrawl
d3fa8a8602
Add osgDB::ObjectCache to the repository to work around it not being available in OSG 3.2
9 years ago
scrawl
3d12b2ca9d
Add NifFileManager to avoid duplicate parsing of the NIFFile in SceneManager and BulletShapeManager.
9 years ago
scrawl
e49bce7b40
Share the bvh of btBvhTriangleMeshShape's when possible
...
Results in decent cell-loading speed up. (only affects bullet versions < 2.83, since we use btScaledBvhTriangleMeshShape for >=2.83)
9 years ago
scrawl
fc7456e0a1
Explicitely opt for float matrices in performance critical places
9 years ago
scrawl
ffea9ec2c4
Remove comment
...
SharedStateManager::prune is run automatically during the update traversal.
9 years ago
scrawl
d68ea994d5
Deal with empty meshes
9 years ago
scrawl
83e9a649e5
Cleanup
9 years ago
scrawl
e62470d674
Auto-generate the collision shape for native mesh formats
9 years ago
scrawl
8cf57ef6ac
Move BulletShapeManager and BulletShape to resource/
9 years ago
scrawl
eb2f16d682
Support for loading .osg mesh format
9 years ago
scrawl
0409e5a043
Use OSG_VERSION_GREATER_EQUAL / LESS_THAN rather than MIN_VERSION_REQUIRED (cosmetic change)
9 years ago
scrawl
f1ac408f35
Place Drawables directly in the scene graph when built with OSG 3.4
...
OSG 3.4 adds the ability to place Drawables directly in the scene graph, without a Geode decorating them. Leveraging this should give a small performance boost, because the redundant Geodes increase culling overhead.
There is still an oustanding issue with the RemoveDrawableVisitor no longer working correctly, because Drawables can have multiple parents.
9 years ago
scrawl
91583fc027
Fix MWRender::Mask_ParticleSystem
9 years ago
scrawl
af3b0cd883
Improve some error messages
9 years ago
Alexander "Ace" Olofsson
1f78ebd3c9
Oops?
10 years ago
Alexander "Ace" Olofsson
77a3a52b4e
What's wrong with this statement?
10 years ago
Alexander "Ace" Olofsson
e9ffbcc1b0
OSG 3.3.3 moves GL extensions out of osg::Texture
10 years ago
scrawl
d7ad0ee148
Print a sensible error message when S3TC support is missing ( Fixes #2800 )
10 years ago
scrawl
26656707dd
Use marker_error.nif as replacement when a mesh fails to load
10 years ago
Marc Zinnschlag
edde1fb727
Merge remote-tracking branch 'scrawl/master'
10 years ago
slothlife
1b3cc957f8
Move some OSG static library setup code
10 years ago
slothlife
df99d5a59d
Move setup code for OSG when statically linked
10 years ago
slothlife
83ef1f7eea
Add support for linking OpenSceneGraph statically
...
Added some basic support for linking to OpenSceneGraph and its plugins
statically. Also added a library necessary to statically link MyGUI
(previously Ogre pulled it in).
10 years ago
scrawl
c4866bdfc6
Disable mipmaps for GUI textures
...
For some reason, the mipmap generator seems to be broken on Linux Intel graphics (works on Nvidia). This was breaking the scrollbar arrows, which are minified enough to show using a mipmap.
10 years ago
scrawl
efad4efe19
Star fading (Bug #2693 )
10 years ago
scrawl
43384596d4
Style fix
10 years ago
scrawl
fabc5126f3
Include cleanup
10 years ago
scrawl
b648722d3b
Don't use the ParticleSystem for computing placeable bounds (Bug #2700 )
10 years ago
scrawl
6199c0bbc5
Use osgDB::SharedStateManager for sharing of StateSets across NIF files
10 years ago
scrawl
8d6620b074
Assign an initial bounding box to particle systems
10 years ago
scrawl
bd0233ce68
Error handling improvement
10 years ago
scrawl
7f9f9a32d2
InitWorldSpaceParticles fix
10 years ago
scrawl
723beb1cac
Move IncrementalCompileOperation to SceneManager
10 years ago
scrawl
24bb2e152c
Apply texture filter setting changes
10 years ago
scrawl
af7cbb2e3b
Leak fix
10 years ago
scrawl
140e67036c
Flip non-dds textures vertically
...
Fixes the up-side down loading screens.
10 years ago
scrawl
1a5407af98
Reduce texture memory usage in OpenMW
10 years ago
scrawl
1b78acc2c0
Remove manual allocation for images
10 years ago
scrawl
083c41c950
Environment map for enchanted objects
10 years ago
scrawl
5dd1ab24fe
More efficient StateSetController, beginnings of sky rendering
10 years ago
scrawl
74c56556cc
More fixes for scaled particle systems
10 years ago
scrawl
e5e1013c51
TextKeys attached to root node as user data, add .kf loading to scenemanager
10 years ago
scrawl
232e34bddd
OpenCS: port lighting toolbar, fix multiple context GL objects issue
10 years ago
scrawl
c5fd92fde1
Show a default warning texture for not found textures
10 years ago
scrawl
bb32c761df
*very* early texture manager, need a lot more thought to design this properly
10 years ago
scrawl
322fcdc2d3
Transform world space particles when attaching to a node
10 years ago
scrawl
99e1720980
Add SceneManager and clone utility
10 years ago