scrawl
913bbe347b
Don't check the extension string every frame
9 years ago
scrawl
c60388afb6
Add fudge factor to move the water mesh away from camera when the camera gets too close
9 years ago
scrawl
4690ec12cc
Render the water plane with GL_DEPTH_CLAMP if supported ( Fixes #996 )
9 years ago
scrawl
8da4530957
Use INI-imported underwater fog settings ( Fixes #2907 , Fixes #1511 )
9 years ago
scrawl
bd9dc58560
Use the correct scale for actor swim height ( Fixes #2833 )
9 years ago
scrawl
7b817ba010
Fix the node masks of water cameras being reset (Bug #2984 )
...
Node mask needs to remain Mask_RenderToTexture so the raytesting visitor won't go through the reflection graph.
9 years ago
scrawl
93f4d31cf9
Raytest mask fix ( Fixes #2984 )
9 years ago
scrawl
b9b154a015
Minor cleanup
9 years ago
scrawl
d90fa977e8
GL_DEPTH_COMPONEN24 fix
9 years ago
scrawl
7692ae175a
Disable sun rendering on the reflection camera
...
Not needed, we have specular highlights.
9 years ago
scrawl
9b8e45fc01
Fix ripple particles z-fighting with the water surface
9 years ago
scrawl
d394b0793f
waterLevel fix
9 years ago
scrawl
c9d7078b4b
Water: add texture quality setting to the settings window
9 years ago
scrawl
8433e0679f
Water: connect to settings window
9 years ago
scrawl
9f8d36b573
Water code cleanup
9 years ago
scrawl
11c997d09d
Water: move reflection code to a new class
9 years ago
scrawl
ebdf25ccb9
Water: move refraction code to a new class
9 years ago
scrawl
7bbdb13138
Remove debug code
9 years ago
scrawl
6ba9f561ea
Use simple water for the local map
9 years ago
scrawl
09631385c3
Use boost ifstream for water resources
9 years ago
scrawl
d485dd0782
Water: fix world UV coords
9 years ago
scrawl
9f2f503d37
Water: pass the near and far planes
9 years ago
scrawl
37c9c12962
Water: clipping plane offset
9 years ago
scrawl
700a0099c3
Remove debug code
9 years ago
scrawl
e13eb625d3
New water WIP
...
Changes compared to old (Ogre) water:
- Uses depth-texture readback to handle the underwater fog in the water shader, instead of handling it in the object shader
- Different clipping mechanism (glClipPlane instead of a skewed viewing frustum)
- Fixed bug where the reflection camera would look strange when the viewer was very close to the water surface
- Toned down light scattering, made the waterColor a bit darker at night
- Fixed flipped water normals and strange resulting logic in the shader
Still to do: see comments...
9 years ago
scrawl
515c52211e
Disable mipmaps for temporary screenshot texture
9 years ago
scrawl
ef5838df7e
SunGlareCallback: Fix incorrect view matrix for RELATIVE_RF cameras
9 years ago
scrawl
6ef139e1d7
Implement a custom RenderBin for first person models ( Fixes #1612 )
9 years ago
scrawl
ee450471fd
Disable head controller for non-bipedal creatures ( Fixes #2843 , Fixes #2966 )
9 years ago
scrawl
a88d56148b
Read the Sun Glare Fader ini settings
9 years ago
Alexander "Ace" Olofsson
7d4125d97f
Fixes for building with unity build
9 years ago
scrawl
385f4f729c
Implement SunDiscSunsetColor, fade the sun during sunrise & sunset
9 years ago
scrawl
1a1f1fae87
Minor cleanup
9 years ago
scrawl
d812434fee
Add a subtle fading effect to the sun flash texture
9 years ago
scrawl
854fd9fe05
Remove dead code
9 years ago
scrawl
9bb6c3f288
Improve accuracy of sun occlusion query (use circular shape)
9 years ago
scrawl
96b31d3bba
Scale the sun flash texture depending on occlusion query
9 years ago
scrawl
a2a4532e71
Add the full-screen sun glare effect
9 years ago
scrawl
ac5d0bf405
Render the sun flash (not adjusted based on occlusion yet)
9 years ago
scrawl
89d9323c2b
Document RenderBin numbers in a common header to keep them organised
9 years ago
scrawl
d191a52847
Create occlusion query nodes for the sun flash
9 years ago
scrawl
6bafa564d4
Move sun texture setting out of the Updater class so we can reuse the Updater for fading the flash texture
9 years ago
scrawl
a37dee09e2
Fix invisibility effect disappearing after a view mode switch
9 years ago
scrawl
f8d4bc378f
Move setAlpha from NpcAnimation to Animation ( Fixes #2917 )
9 years ago
scrawl
126960261f
Keep playing IdleSneak on the lower body when casting spells / using weapons
9 years ago
scrawl
5692ef1eae
Add convenience operator [] to AnimPriority
9 years ago
Marc Zinnschlag
2c37731494
Merge remote-tracking branch 'dteviot/MagicEffectsRefactorDraft3'
9 years ago
dteviot
8e2fe1985d
Fixed errors pointed out by Zini.
...
1. Removed "Actor" from name of function isActorNearInactiveCell().
2. Corrected case of CoordinateConverter member function names.
9 years ago
Marc Zinnschlag
0ff786bebd
Merge remote-tracking branch 'origin/master'
9 years ago
Marc Zinnschlag
a445683312
Merge branch 'mergetool'
...
Conflicts:
apps/opencs/CMakeLists.txt
apps/opencs/model/tools/tools.cpp
9 years ago
slothlife
29d74f0249
Improve thunderstorm support.
...
Reversed settings for thunderstorms. Added thunder support to all
weather types. Implemented a simple lightning flash effect similar to
MW.
9 years ago
Marc Zinnschlag
69b9eadb52
refactored loading of land data
9 years ago
Marc Zinnschlag
febf611c82
made return type of ESMTerrain::Storage::getLand const
9 years ago
Marc Zinnschlag
a52b947efe
Merge remote-tracking branch 'dteviot/MagicEffectsRefactorDraft3'
10 years ago
Marc Zinnschlag
50ec8b10f5
Merge remote-tracking branch 'dteviot/Bug2871'
10 years ago
dteviot
3fa5c6a0e7
fixed travis build failure
10 years ago
dteviot
77a1d947cc
extracted MWMechanics::getPlayer()
10 years ago
dteviot
85bc41dedb
replaced FLT_MAX with numeric_limits.
10 years ago
scrawl
af3b0cd883
Improve some error messages
10 years ago
scrawl
681183df31
Restore handling of fog depth == 0 values (Bug #1549 )
10 years ago
Marc Zinnschlag
3992125b61
Merge remote-tracking branch 'scrawl/master'
10 years ago
dteviot
942a987d52
centralize the world/cell coordinate conversion logic.
10 years ago
scrawl
58cd2b1a84
Remove "Tri Bip*" nodes in creature meshes (meant for debugging)? ( Fixes #2148 )
10 years ago
scrawl
56b7196bea
Remove incorrect implementation of "Clouds Maximum Percent" weather setting
10 years ago
slothlife
3235cecddf
Use Glare View for visibility of celestial bodies
...
Fixed memory leak from Sun and Moon objects by pulling Updaters back out
into separate objects. Removed code related to
mCelestialBodyTransparency.
10 years ago
slothlife
238ae419a3
Fix use of incorrect material for Sun
10 years ago
slothlife
f2e51b0579
Use diffuse alpha to fade Sun
10 years ago
slothlife
ea2f88a355
Fix several sky rendering bugs, maybe also #639
...
Added code to hide the moons, sun, and stars for certain weather
effects. Lightly refactored CelestialBody and derived classes. Fixed
moons switching phase at 24:00.
10 years ago
scrawl
664ae079db
Improve setting of culling mask for the savegame screenshot camera
10 years ago
scrawl
88c61ed2b6
Fix NotifyDrawCompletedCallback in single threaded mode
10 years ago
Marc Zinnschlag
e73c115ff5
Merge remote-tracking branch 'origin/master'
10 years ago
Marc Zinnschlag
9ee3f1bfe7
Merge remote-tracking branch 'slothlife/moon-settings' into mergetool
10 years ago
slothlife
0244a9b329
Correct moon texture with respect to trajectory
10 years ago
Marc Zinnschlag
9392e426c0
Merge remote-tracking branch 'origin/master' into mergetool
10 years ago
scrawl
1f755a2bc0
Don't use a shared Material in AlphaFader
10 years ago
slothlife
24ba54f4fe
Implement accurate moon settings ( fixes #672 )
10 years ago
scrawl
278076e609
Include cleanup
10 years ago
scrawl
a33ca75742
Pass AnimPriority by const reference
10 years ago
scrawl
f6f82d433c
Fix bug with loop key assignment
...
Animations with time of "loop start" == time of "loop stop" were not getting their loop times assigned correctly.
This fixes incorrect playing of the jump animation, one aspect of Bug #2286 .
10 years ago
scrawl
3656851750
Remove the now unused changeBlendMask
10 years ago
scrawl
50db6ed396
Use the extended animation priority for weapon animations
10 years ago
scrawl
e93a578f23
Extend the animation priority system to one priority value per bone group / distinct blend mask
10 years ago
scrawl
335ef97cf5
Rename Animation::Group to Animation::BlendMask
...
The old naming is problematic, because the term group was being used for another feature (text key groups) already.
10 years ago
scrawl
24ae1d5ace
Fix some issues found by coverity
10 years ago
scrawl
667c80fb2a
Add brackets around a correct expression to fix coverity warning
10 years ago
scrawl
ebdd5dc993
Fix code that I forgot to uncomment (thanks coverity)
10 years ago
scrawl
49c07de773
Merge pull request #643 from ace13/win-build-fix
...
Fix build error and a pair of warnings
10 years ago
Alexander "Ace" Olofsson
aaaee74a4d
Fix the comments
10 years ago
Marc Zinnschlag
432384d280
Merge remote-tracking branch 'scrawl/aicombat'
10 years ago
scrawl
c90841d649
Fix head tracking for NPCs
10 years ago
scrawl
6724585777
Light magic effect
...
Notable change compared to the old (Ogre) effect: uses the ambient instead of diffuse term (Fixes #2364 )
10 years ago
scrawl
bf9c62fa42
Fix for some coverity scan defects
10 years ago
scrawl
dcb8fbc69c
Accurate handling of fog depth/density ( Fixes #2752 )
10 years ago
Alexander "Ace" Olofsson
5d24091364
Fix build error and a pair of warnings
...
The error was about casting between osg::Callback* and osg::NodeCallback*
The warnings are both about virtual classes with non-virtual destructors
10 years ago
scrawl
4b2391c60f
Ignore effect meshes in getScreenBounds
10 years ago
scrawl
d5a47cfafe
Include cleanup
10 years ago
scrawl
017c9f7ac9
Fading for weather particle effects
10 years ago
scrawl
882e359008
Move attackStrength to the CharacterController, where it should have been to begin with
...
Only relevant for actors in active cells, so doesn't belong in CreatureStats. This change should slightly reduce the game's memory usage.
10 years ago
scrawl
4ef6aa6b7f
Fix weather particles disappearing
10 years ago
scrawl
8a3889a81e
Rain fading
10 years ago
scrawl
3a21f05f6e
Rain effect
10 years ago
scrawl
d7695f2560
Remove unused NpcAnimation visibilityFlags
10 years ago
scrawl
d5b73f2a55
Move HeadAnimationTime to the implementation file
10 years ago
scrawl
24bfb44b13
Move head tracking from NpcAnimation to Animation (Bug #2720 )
10 years ago
scrawl
ad6764fa6a
Fix bug #2715
10 years ago
scrawl
efad4efe19
Star fading (Bug #2693 )
10 years ago
scrawl
74260a9a44
Tweak moon sizes
10 years ago
scrawl
f5c50aa581
Disable FreezeOnCull for effect particles
10 years ago
scrawl
1ed4e33815
Fading for mooncircle texture
10 years ago
scrawl
2b53e5d965
Fix for explosion effects playing when the game is paused
10 years ago
scrawl
e0dfc1425e
Correct moon blending
10 years ago
scrawl
0c4ebee6b3
Cloud opacity & cross-fading
10 years ago
scrawl
fb94395628
Fix atmosphere lighting
10 years ago
scrawl
fabc5126f3
Include cleanup
10 years ago
scrawl
0ffa1f964b
Fix water ripple height
10 years ago
scrawl
3ebfb4e0d9
Ignore particle systems in getScreenBounds
10 years ago
scrawl
b543308e3e
Remove an already resolved todo comment
10 years ago
scrawl
b648722d3b
Don't use the ParticleSystem for computing placeable bounds (Bug #2700 )
10 years ago
scrawl
7b35882814
RemoveParticlesVisitor fix
10 years ago
scrawl
1c151f2f0a
Re-enable some outcommented sky code
10 years ago
scrawl
3da8f6e62e
Water ripples
10 years ago
scrawl
b73947033d
Rotate sky meshes
10 years ago
scrawl
2d072aab2d
Broken bone references from .kf files are no longer a fatal error (Bug #2687 )
10 years ago
scrawl
a5b72a358b
Prune empty nodes in RemoveDrawableVisitor
...
Gets rid of 28 useless transform nodes in base_anim.1st.nif.
10 years ago
scrawl
f017fd6860
Reduce includes in animation.hpp
10 years ago
scrawl
b90fc8ad92
Fix for various Viewer::frame calls resetting the simulationTime
10 years ago
scrawl
76bdf7a5b7
Add night-eye effect
10 years ago
scrawl
c94c87d409
Attach effects to the insert node instead of the object root (Bug #2654 )
10 years ago
scrawl
c7493eb45c
Fix bug with invisibility effect for meshes w/ vertex colors
10 years ago
scrawl
bf02c7f6e4
Sun visibility fix
10 years ago
scrawl
508c57d6e2
addEffect crash fix for objects with no model
10 years ago
scrawl
b33fe8fb62
Fix the inventory listener bug
10 years ago
scrawl
0a411cbd7c
Enable particle lighting
10 years ago
scrawl
ddfed35d1c
Object placement raycasts should use the rendering meshes
10 years ago
scrawl
30ab15e605
Fix -Wunused-private-field clang warnings
10 years ago
scrawl
869f8a329a
Cloud scrolling fix
10 years ago
scrawl
ce0d93caed
Fix for "GlobalMap trying to erase an inactive camera" spam in main menu
10 years ago
scrawl
b70383d127
Remove last remains of Ogre math
10 years ago
scrawl
2a85a22dba
Write savegame screenshot
10 years ago
scrawl
24551c7bab
Fix for savegame incompatibility with master branch
10 years ago
scrawl
41cce5240f
Delete remaining files that won't be of any use
10 years ago
scrawl
974fda5bde
Merge branch 'master' of https://github.com/OpenMW/openmw into osg
...
Conflicts:
extern/sdl4ogre/sdlwindowhelper.cpp
10 years ago
scrawl
cdd0623009
Terrain rendering
10 years ago
scrawl
8c50f8ed26
Fix for lights with no mesh
10 years ago
scrawl
5a7f2a4f1f
Restore light attenuation settings
10 years ago
scrawl
01944c33f5
Basic water rendering
10 years ago
scrawl
c85764b654
Wireframe mode
10 years ago
scrawl
7f9f9a32d2
InitWorldSpaceParticles fix
10 years ago
scrawl
987918ca15
NpcAnimation::setAlpha
10 years ago
scrawl
bed31996c9
Camera raycast
10 years ago
scrawl
2869424847
Fix first person camera for beast races
10 years ago
scrawl
ccd95419e5
Restore various raycasting
10 years ago
scrawl
5b846ebc71
Camera precision fix
10 years ago
scrawl
ed4863ad7d
Restore ranged weapon aiming
10 years ago
scrawl
71bafcb52b
Restore head tracking
10 years ago
Marc Zinnschlag
9f0ccdc37a
Merge remote-tracking branch 'scrawl/master'
10 years ago
scrawl
60f55997fd
Rotate first person meshes, sneak camera offset in first person
10 years ago
scrawl
a066b24303
Restore WeaponAnimation
10 years ago
scrawl
988a9cad58
getHitContact Head exception fix
10 years ago
scrawl
5c7ecb9c1d
string::compare exception fix
10 years ago
scrawl
af2f26d04d
Particle fixes
10 years ago
scrawl
7e715decd3
Color fix
10 years ago
scrawl
6d3528af70
Port global map exploration
10 years ago
scrawl
7a1408cfed
Restore display of global map overlay, no exploration yet
10 years ago
scrawl
5f7a82e0da
Fog of war fix
10 years ago
scrawl
f4ee805e3b
Object animation fix
10 years ago
scrawl
c811ac6afe
Port fog of war
...
Not optimized yet, need to work on fog texture's DataVariance.
10 years ago
scrawl
5628a2b823
Camera zoom fix
10 years ago
scrawl
1f00174c02
Use a btCollisionWorld instead of btDiscreteDynamicsWorld
...
Slightly improves performance, since we no longer need to stepSimulation(). We don't use any Dynamics (yet).
10 years ago
scrawl
fe439e53ff
Bullet include cleanup
10 years ago
scrawl
2f97649540
Fix for cleanup issue when exiting after a failed savegame load ( Fixes #2580 )
10 years ago
scrawl
723beb1cac
Move IncrementalCompileOperation to SceneManager
10 years ago
scrawl
099f93f00d
Sky fixes
10 years ago
scrawl
c4951d1e73
Map rotation fix
10 years ago
scrawl
3dcb167066
Map rendering
10 years ago
scrawl
1fd9fba7a3
Fix debug drawer crash
10 years ago
scrawl
95465a1489
Player raycast fix
10 years ago
scrawl
8b322fcd06
Implement getFacedObject using osgUtil::IntersectionVisitor
10 years ago
scrawl
c2131e7c31
Make near clip distance configurable
10 years ago
scrawl
152d690a7a
Minor cleanup
10 years ago
scrawl
da24e298ee
Fix -Wreorder warnings
10 years ago
scrawl
22f01b1232
Merge branch 'master' of https://github.com/OpenMW/openmw into osg
...
Conflicts:
apps/launcher/graphicspage.cpp
apps/opencs/editor.cpp
apps/opencs/model/doc/document.cpp
apps/opencs/view/render/cell.cpp
apps/opencs/view/render/mousestate.cpp
apps/opencs/view/render/textoverlay.cpp
apps/opencs/view/render/worldspacewidget.cpp
apps/openmw/mwclass/creature.cpp
apps/openmw/mwclass/npc.cpp
apps/openmw/mwgui/inventorywindow.cpp
apps/openmw/mwgui/loadingscreen.cpp
apps/openmw/mwgui/mapwindow.cpp
apps/openmw/mwgui/pickpocketitemmodel.cpp
apps/openmw/mwgui/waitdialog.cpp
apps/openmw/mwmechanics/combat.cpp
apps/openmw/mwmechanics/mechanicsmanagerimp.cpp
apps/openmw/mwrender/globalmap.cpp
apps/openmw/mwworld/physicssystem.cpp
apps/openmw/mwworld/refdata.cpp
apps/openmw/mwworld/scene.cpp
apps/openmw/mwworld/worldimp.cpp
components/sdlutil/sdlinputwrapper.cpp
extern/shiny/Main/Factory.cpp
extern/shiny/Main/MaterialInstance.cpp
extern/shiny/Main/Platform.cpp
extern/shiny/Main/ShaderSet.cpp
10 years ago
scrawl
0b042b75cc
Restore actor visibility mask
10 years ago
scrawl
8092f37ce5
New game crash fix
10 years ago
Rohit Nirmal
396fba7fa9
Silence -Wreorder warnings, and remove -Wno-reorder.
10 years ago
scrawl
85345e663a
Restore getHitContact
10 years ago
scrawl
627fee07bc
Minor cleanup
10 years ago
scrawl
d6da5c8007
Fix for crosshair not showing
10 years ago
scrawl
5ea61af6ac
Fix for applying view distance
10 years ago
scrawl
2235d2978b
Restore animation text key handling
10 years ago
scrawl
9b8e2e9db3
Port MWRender::Camera
10 years ago
scrawl
0fb97bd2e7
Readded baseonly parameter to Animation::setObjectRoot
...
Fixes the first person view.
10 years ago
scrawl
cfe57199d7
Minor cleanup
10 years ago
scrawl
c4452afd89
Inventory item picking
10 years ago
scrawl
72c1f37527
Port CharacterPreview
10 years ago
scrawl
820f4a2688
Fix light direction
10 years ago
scrawl
75ace9f8b5
Global map base layer
10 years ago
scrawl
24bb2e152c
Apply texture filter setting changes
10 years ago
scrawl
3e86dd7df0
Apply runtime changes to field of view & view distance
10 years ago
scrawl
b7258c8d23
Readded Objects::updatePtr
10 years ago