scrawl
132ac6001b
Fix bug of Animation::mSkeleton not being assigned
...
This bug resulted in deactivating a Skeleton not working properly for creatures (that are out of processing range), therefore reduced performance.
7 years ago
Andrei Kortunov
7f5f5458d4
Reset player attack animation when unequip weapon or tool
7 years ago
MiroslavR
d24286273b
Prevent respawned references from being added to the scene twice in certain cases ( Fixes #3864 )
8 years ago
scrawl
9bc24ab629
Fix character preview zNear/zFar not being autocomputed as intended (Bug #3955 )
8 years ago
scrawl
5c11266a46
Fix character preview item selection
8 years ago
scrawl
7f634514a8
Fix the viewport of the character preview being set a frame ahead due to a threading issue
8 years ago
scrawl
ac78d01b2b
Terrain: use the main camera's viewpoint for intersection tests
...
Fixes lag spikes caused by intersection tests loading/unloading terrain pages.
8 years ago
Bret Curtis
c781d1f8ed
purge unnecessary imports
...
add fstream back
add fstream back
add fstream back
add fstream back
add fstream back
add fstream back
add fstream back
8 years ago
Bret Curtis
39185e6f8c
purge the rest of boost::shared and any other boost related things that no longer are required
...
put boost system back in, clean others up
revert Qt
add back boost fstream
8 years ago
Bret Curtis
07f75e1104
replace boost::shared_ptr in extern and components
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
scrawl
0e37e71ea2
Merge pull request #1266 from akortunov/handsfallbackfix
...
Improved hands bodyparts selection fallback
8 years ago
Andrei Kortunov
4544caf7f3
Improved bodypart select fallback ( fixes #2594 )
8 years ago
Allofich
ff3e307059
Pass parameters by const reference
8 years ago
Allofich
5a00b239ac
Reduce scope of variables
8 years ago
scrawl
3c9f3a0f7f
Merge pull request #1242 from Allofich/warnings
...
Fix AppVeyor warnings
8 years ago
Allofich
db2f97f308
Fix shadowing warning
8 years ago
scrawl
b064dd29cc
Fix reset of blend function (Bug #3811 )
8 years ago
scrawl
9371100fde
Reuse the intersection visitor and set a traversal number to allow the terrain component to manage its view more efficiently
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
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
ec0b743123
Revert "Change ordering of LocalMap nodes to make sure they are traversed before the CompositeMapRenderer."
...
This reverts commit 7d72c70c93ee3c0cc3d00d37b22c339d0103cd19.
8 years ago
scrawl
1c15686353
Remove non required use of WorkQueue
8 years ago
scrawl
19d516cbda
Use the QuadTreeWorld based on distant terrain setting now that it sort of works.
8 years ago
scrawl
4dbd224249
Hide the terrain in non-exterior cells
8 years ago
scrawl
c684860e3b
Change ordering of LocalMap nodes to make sure they are traversed before the CompositeMapRenderer.
8 years ago
scrawl
2d549d088e
Get the world size from the ESM::Land store
8 years ago
scrawl
14225a42c6
Remove unused pointer to IncrementalCompileOperation
8 years ago
scrawl
5eff286c71
Use separate node mask and parent for CompositeMapRenderer to allow the loading screen to pre compile composite maps.
8 years ago
scrawl
e323b2fa7b
Use the SceneManager's ShaderManager
8 years ago
scrawl
051c17a184
Make reportStats const
8 years ago
scrawl
2c68ed4fb4
Remove no longer required use of UnrefQueue as the new resource manager will naturally clear the cache from the worker thread
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
5f76317807
Wait for completion of CreateMapItem on exit to avoid potential threading issue
8 years ago
scrawl
ccfebdd2c3
Set the underwater fog relative to default view distance
8 years ago
scrawl
fe439e7bbf
Add missing default material state for character preview
8 years ago
scrawl
37c71c15f2
Remove redundant state
8 years ago
scrawl
4c9bbce1e2
Fix node mask being reset
8 years ago
scrawl
42a04de37c
Fix a crash that occurred when a carried light fails to be attached.
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
1692b7f38e
Merge pull request #1209 from dhustkoder/master
...
Added ConstContainerStoreIterator (Task #3092 )
8 years ago
scrawl
2873c10284
Clean the object root of StateSets and hidden nodes
8 years ago
scrawl
4e0011bfc8
Improve NPC loading performance by caching the cleaned objectRoot
8 years ago
Rafael Moura
6c2ce2b2a1
Porting more ContainerStoreIterator usage to const version #4
...
removed const_cast revision
8 years ago
Rafael Moura
7fa2703715
Porting more ContainerStoreIterator usage to const version #3
8 years ago
scrawl
75677f03e7
Remove SceneManager::notifyAttached
8 years ago
scrawl
afa39d121f
Fix 'part has no parent' warning caused by destructing in the wrong order
8 years ago
scrawl
d163228199
Fix updatePtr
8 years ago
scrawl
00d4fea91c
Derive Animation from osg::Referenced to allow the UnrefQueue to delete it
8 years ago
scrawl
a5247394dc
(Re)set the inventory listener outside of the Animation class
8 years ago
scrawl
8f79fa3d72
Add resource statistics panel opened with F4
8 years ago
scrawl
0fbd29ccb8
Use additive alpha blending on the character preview
8 years ago
scrawl
e38221edc9
Set character preview's simulationTime to 0 to avoid flickering lights
8 years ago
Rafael Moura
9963601484
Porting code to ConstContainerStoreIterator #1
8 years ago
Allofich
621d3e56cf
Fix Clang and OS X Travis CI warnings
8 years ago
scrawl
f10edb71cc
Add environment variable for disabling IncrementalCompileOperation
8 years ago
scrawl
72c6b11cf8
Move global map render to the worker thread
8 years ago
scrawl
026a05718f
Construct the WorkQueue in Engine
8 years ago
scrawl
ddd6605608
Move WNAM out of LandData to avoid redundant (de)allocations on startup
8 years ago
scrawl
325bf66653
Return const Land in ESMStore
8 years ago
scrawl
9fa8e88366
Revert "Don't create a CharacterController for objects with no animations"
...
This reverts commit cce42b6e9d
.
8 years ago
scrawl
dd54887783
Fix node mask of CharacterPreview being reset
8 years ago
scrawl
67e4a7e37b
Change some osg::clone's to direct copy constructor to avoid dynamic_cast overhead
8 years ago
scrawl
d141b98f0c
Add base animations to preloadCommonAssets
8 years ago
scrawl
d1e86d22ca
Check which local map textures actually need to be updated
...
On a typical exterior cell transition, we'll save 3 of 9 map renders. When moving back and forth between 2 cells, we can even reuse 6 of 9.
8 years ago
scrawl
249fe9077b
Handle 'tcb' command as an alias for 'tcg'
8 years ago
scrawl
cce42b6e9d
Don't create a CharacterController for objects with no animations
8 years ago
scrawl
ee4073541c
Animation: cache getVelocity()
8 years ago
scrawl
884d306bf3
Throw exception when told to use 0 threads
8 years ago
scrawl
2db7292bcb
Add new setting for the number of preloading worker threads
...
If you have CPU cores to spare, consider setting 2 or 3. Up to about 3 threads, preloading performance seems to increase in a linear fashion, but with 4 or more threads I/O bottlenecks and synchronization overhead starts to show.
8 years ago
scrawl
33e654f94d
Add explicit handling of most commonly used nodes to NodeVisitors to avoid excessive virtual function calls
8 years ago
scrawl
767eba941f
Speed up finding of attachment node by using the cached nodeMap
8 years ago
scrawl
a76d693627
Speed up ControllerVisitor by skipping sub graphs that have no ChildrenRequiringUpdateTraversal()
8 years ago
scrawl
c5f8ff6e0e
Add names to several nodes for debugging purposes
8 years ago
scrawl
1808b8567e
Add 'small feature culling pixel size' setting specifically for water RTTs, by default set higher than the one in [Camera]
8 years ago
scrawl
fcb4129aee
Add 'small feature culling pixel size' setting
8 years ago
scrawl
960d4a96c3
Reduce the number of osg::Material state by setting the default state on the graph root
8 years ago
scrawl
34deb6e7b1
Add 'showSceneGraph' command to export the scene or a particular object to .osgt for debugging purposes
8 years ago
Martin-Kevin Neumann
5a8efa1649
added refactoring of shader handling from visvalda's fog shader
8 years ago
scrawl
80c008906b
Fix texture coordinates
8 years ago
scrawl
48a23d61b2
Mask out water in global map overlay
8 years ago
scrawl
dc1f788cff
Use osg::PI over M_PI
8 years ago
scrawl
cca75499ee
Clear the Skeleton's bone cache when a node is added/removed ( Fixes #3663 )
8 years ago
Leon Krieg
739cd5ba45
Fixed more spelling mistakes
8 years ago
Leon Krieg
c7b4b2cdd7
Fixed multiple spelling mistakes
8 years ago
scrawl
16a913c549
Add emission of water ripple particles for water-walking actors ( Fixes #3608 )
8 years ago
scrawl
f51e06bc47
Recreate shaders if necessary when the NpcAnimation is rebuilt
...
This fixes certain equipment losing the 'invisibility' effect after a view-mode switch with shaders enabled. Because the initial build of shaders done by the resource manager is not aware of the override state in the NpcAnimation's object root, we have to build new shaders here.
8 years ago
scrawl
e823cbf018
Fix incorrect priority of animation sources (Bug #3626 )
8 years ago
scrawl
2368382ea5
Fix upside down rain particle texture
8 years ago
scrawl
cac8de0b29
Merge pull request #1116 from Allofich/paused
...
Don't update ripple simulation when paused
8 years ago
Allofich
19db070fca
Don't update ripple simulation when paused
8 years ago
Allofich
125e94ef0e
Fix shadowing warnings
8 years ago
Allofich
1c54f54ab8
Fix shadowing warnings
8 years ago
MiroslavR
611d02ad43
Remove unused code
8 years ago
MiroslavR
1906d96064
Non-player actors emitting light from a non-portable light item should be illuminated ( Fixes #3588 )
8 years ago
scrawl
1893617ec9
Improvements to ignored light list setting
...
The pointer to the LightListCallback is now stored in the Animation, which eliminates the need for dynamic_cast. Also, when the object root is recreated, the previously used LightListCallback will be reused, so we no longer need the objectRootReset() notifier.
Finally, there was a bug when saving and reloading the game, the getIgnoredLightSources() were not being set, as the ActorAnimation constructor completes before the NpcAnimation sets the ObjectRoot. This was solved by creating the LightListCallback in advance in the Animation constructor.
8 years ago
MiroslavR
11565b5966
Make actors with non-portable lights in inventory glow ( Closes #2042 , #3338 )
8 years ago
scrawl
6615330430
Fix use of UnrefQueue in removeObject
8 years ago
sandstranger
5230bf6528
disable using shaders for gles1 and Android
8 years ago
scrawl
85c7d014d3
Use a shader to render the simple water, ensuring that fog is applied per pixel ( Fixes #2716 )
8 years ago
Allofich
a8e9f2df67
Cleanup
8 years ago
Allofich
5aad1d81f4
Remove no longer used parameter
8 years ago
Allofich
dc8ff5e49b
Play all sfx and use particle textures for permanent enchantments
8 years ago
Allofich
527bbd5243
Change size_t to int for consistency
8 years ago
Allofich
01774c656c
Fix for blood effect texture overrides
8 years ago
Allofich
a033ba3bd2
Override spell textures by NiTexturingProperty
8 years ago
Allofich
7db31ab58a
Correct telekinesis glow length
8 years ago
scrawl
0fd810707e
Remove unused stopLooping()
8 years ago
scrawl
0c9882956a
Add AnimState::shouldLoop()
8 years ago
scrawl
6450c9be27
Simplify condition
8 years ago
Allofich
bf9dc45b2b
Emulate vanilla animation loops more closely
8 years ago
scrawl
dda5bfbc9f
CharacterPreview no longer depends on osgViewer
8 years ago
scrawl
8bfcf259a3
LocalMap no longer depends on osgViewer
8 years ago
scrawl
b2ae45f0eb
Remove unneeded setGraphicsContext() calls
9 years ago
scrawl
641005b317
Remove Camera's children before removing the Camera
...
Should work around OSG race condition ( http://forum.openscenegraph.org/viewtopic.php?t=16077 )
9 years ago
scrawl
71f786ff84
Delete the WorkQueue first
...
Fixes a potential crash on exit.
9 years ago
scrawl
c65492193c
Use osg::clone
9 years ago
Allofich
83b715734f
Move part of addGlow() to addSpellCastGlow()
9 years ago
Allofich
1c76c93ed8
Use raw pointer to node in glowupdater
9 years ago
Allofich
67f31d948e
Add removeTexture method
9 years ago
Allofich
4b9aff7a03
Glowupdater fix when using shaders
9 years ago
Allofich
9b2cb2fb8c
Cleanups
9 years ago
Allofich
775162ccdf
Rewrite spell glow implementation
9 years ago
Allofich
cad41599cf
Fix travis build error and warnings
9 years ago
Allofich
1910128e9c
Don't remove uniform when spell glow ends
9 years ago
Allofich
35c14bb9bb
Minor rewrite, make "open" spells play glow effect
9 years ago
Allofich
e132b52a69
Handle spell glows within updatecallback
9 years ago
Allofich
57138b416e
Fix spell glows to only run one at a time
9 years ago
Allofich
3841a8fb40
Make non-actors glow when they cast spells
9 years ago
scrawl
0bbd715f65
Fix the cloned StateSet not being assigned
9 years ago
Marc Zinnschlag
aa1ed9b172
Merge remote-tracking branch 'aesylwinn/RenderWater'
9 years ago
Aesylwinn
5753f52b47
Move water mesh + simple state generation to components library.
9 years ago
MiroslavR
b65f379b7f
Save scripted animation state ( Fixes #1931 , #2150 , #3393 )
9 years ago
Internecine
90735d226d
Replaced Store::find usage with Store::search to remove exception handlers.
9 years ago
Internecine
14165352f6
Added exception handlers when trying to retreive enchantment and magic effect data.
9 years ago
MiroslavR
19a8800d4d
Fix camera distance not getting reset to max value ( Fixes #3473 )
9 years ago
scrawl
6f376bd499
Merge pull request #983 from Allofich/telekinesis
...
Don't allow telekinesis on actors or teleport doors
9 years ago
Allofich
538209b0a2
Change variable to mRatio and initialize it
9 years ago
Allofich
64d53a2314
Avoid double raycasts when using getFacedObject
9 years ago
scrawl
8f62ea2e80
Fix for "RigGeometry rendering with no skeleton" errors
9 years ago
scrawl
252b27f0ef
Remove getEyePos()
9 years ago
scrawl
a00e4de5c3
Fix another bug related to vanity mode toggle
9 years ago
scrawl
c47a679ac9
Fix queueing of vanity mode toggle (Bug #3421 )
9 years ago
scrawl
ce91637cf9
Do not use/assign the camera distance in first person mode ( Fixes #3421 )
9 years ago
scrawl
8fb8c2bae5
Fix "part has no parents" warning message caused by nodes being destroyed in the incorrect order
9 years ago
scrawl
44dd67ee0f
Fix a potential crash for lights without a model that have "off by default" flag set
9 years ago
scrawl
a9561f738a
Move RemoveParticlesVisitor to animation.cpp
9 years ago
scrawl
0efbdb25ee
Improve const-correctness in Animation
9 years ago