Commit Graph

119 Commits (520e65f82205480a6286d6c51129c0715ec13149)

Author SHA1 Message Date
scrawl ac8abd3398 assert -> exception to gracefully handle corrupted savegames 11 years ago
scrawl c39a0368cf Bug #618: Make local map textures static in an attempt to fix the disappearing maps with D3D.
Also removed problematic DISCARDABLE flag for fog of war textures.
11 years ago
scrawl c98bea2a88 Moved local map update to LocalMap::updatePlayer to fix a brief desync on cell transitions due to sFogOfWarSkip 11 years ago
scrawl a4a9794417 Savegame: store fog of war (Closes #1177) 11 years ago
megaton 50af9bc0d3 General perfomance optimizations. 11 years ago
scrawl edb5a54092 Include some more required Ogre headers explicitely. 11 years ago
Marc Zinnschlag 367919200f moved CellRefList into a separate file 11 years ago
Marc Zinnschlag 7693f712bc started making CellStore into a proper class; encapsulated mCell member 11 years ago
scrawl 62774fcc4a Merge branch 'master' into HEAD
Conflicts:
	apps/openmw/mwbase/world.hpp
	apps/openmw/mwinput/inputmanagerimp.cpp
	apps/openmw/mwmechanics/actors.cpp
	apps/openmw/mwworld/worldimp.cpp
	apps/openmw/mwworld/worldimp.hpp
	components/esm/loadtes3.cpp
11 years ago
scrawl 5729672262 Show marked position on map. Implement Detect X magic effects. 11 years ago
Marc Zinnschlag e818d43bc3 removed an outdated typedef and some dead code 11 years ago
scrawl 3ddeb075fb Fix a cell border seam on the map 12 years ago
scrawl e27437f8ed New terrain renderer - improvements:
- Consistent triangle alignment, fixes a noticable crack near the census and excise office. Note that alignment is still not the same as vanilla. Vanilla uses a weird diagonal pattern. I hope there aren't more trouble spots that will force us to replicate vanilla, but at least we can do that now.
 - Fixes several blending issues and cell border seams
 - Fix map render to use the terrain bounding box instead of an arbitrary height
 - Different LODs are now properly connected instead of using skirts
 - Support self shadowing
 - Normals and colors are stored in the vertices instead of a texture, this enables per-vertex lighting which should improve performance, fix compatibility issues due to the PS getting too large and mimic vanilla better
 - Support a fixed function fallback (though the splatting shader usually performs better)
 - Designed for distant land support - test: https://www.youtube.com/watch?v=2wnd9EuPJIY - we can't really enable this yet due to depth precision issues when using a large view distance
12 years ago
scrawl 4983d08fe4 Fix a problem with statics disappearing sometimes on the map
Ogre::StaticGeometry doesn't seem to like materials being changed at runtime. It stores raw pointers to Ogre::Technique objects also, which conflicts with shiny's way of managing "unloaded" materials as having zero techniques. If a static geometry object is baked from an unloaded material, it won't find any techniques to use and can't render. By moving the unload call afterwards, it will be detected as in use by a renderable and won't be unloaded. Ideally this needs fixing of Ogre::StaticGeometry to not hold on to Technique objects (they also currently need to be rebuilt whenever user settings are changed, which also causes "unloading" of materials)
12 years ago
scrawl bcdab2aeab Fix wrong padding breaking local map for cells where the bounds center is far from the origin 12 years ago
scrawl 0f6fd80294 Merge branch 'master' of git://github.com/zinnschlag/openmw into graphics
Conflicts:
	apps/openmw/mwgui/windowmanagerimp.cpp
	apps/openmw/mwrender/npcanimation.cpp
	files/mygui/openmw_settings_window.layout
12 years ago
scrawl 1d988676fe Local map: the obtained bounding box wasn't exactly accurate, getWorldBoundingBox seems to solve this. 12 years ago
scrawl 3efbb5e728 Don't try to render a map in empty cells 12 years ago
scrawl 9b0ac4e299 NPCs / creatures can now emit ripples 12 years ago
scrawl d4264353a3 Merge branch 'z-up' into graphics
Conflicts:
	apps/openmw/mwrender/localmap.cpp
	apps/openmw/mwrender/renderingmanager.cpp
	apps/openmw/mwrender/water.cpp
	files/materials/water.shader
12 years ago
scrawl 341f9b96e2 Local map: restore zHigh 12 years ago
scrawl 2e7bc1a368 Z-up conversion: local map, fix tcg 12 years ago
scrawl 42883ec64b cleanup 12 years ago
scrawl a29919d02d restored global map 12 years ago
scrawl fa07288b15 tweaked map light color 12 years ago
scrawl 5cc8af0f14 fix map positions 12 years ago
scrawl 15e51b76de Experimental: Directional shading on local map, separated out refraction render, no longer uses screen depth 12 years ago
scrawl e4f140841e Make OpenMW work with Ogre 1.9 12 years ago
greye d205723a17 resolving m prefix/ESMStore movement 12 years ago
greye 2057f5619e move ESMStore to MWWorld 12 years ago
greye 3c2ce25f5f m prefix for mwworld/cellstore.hpp 12 years ago
greye 7606ebafd6 resolving conflicts, minor update 12 years ago
scrawl 5834b4baa5 door markers on the local map 13 years ago
greye fe1a9ac3c5 poor camera with some fixes 13 years ago
Marc Zinnschlag 6534c2a55a Issue #107: WindowManager is accessed only through the interface class from now on 13 years ago
Marc Zinnschlag 484cce12a8 Issue #107: removed redundant getStore function from window manager 13 years ago
scrawl 07fd9986ef accidently removed the map. 13 years ago
scrawl b803d0e949 converted shadow caster shader 13 years ago
scrawl 81d30ff63a temp commit 13 years ago
scrawl 33c48b9481 update 13 years ago
Marc Zinnschlag c85aaafac2 more include cleanup (most removing Ogre.h) 13 years ago
Marc Zinnschlag 4c39fefd1e Issue #107: World is accessed only through the interface class from now on; some include cleanup 13 years ago
scrawl 3daf1ebc3f small map tweak 13 years ago
scrawl a7e6a142f9 blend fog of war into adjacent cells 13 years ago
Marc Zinnschlag 35f478071e Issue #255: deleted the old environment class and using the new one instead 13 years ago
scrawl 2a4fcf42a3 basic shadows 13 years ago
scrawl b3a186e729 simple water without shaders that uses original MW textures 13 years ago
scrawl c1693a0c63 Merge branch 'minimap' into water 13 years ago
scrawl 51e33cc090 fixed map of some interiors 13 years ago
scrawl 8aea311797 added visibility flags for everything 13 years ago
scrawl 342464530d rotated map working 13 years ago
scrawl fc5cd703bb maps are now rendered with correct rotation, however for interiors the arrow is wrong 13 years ago
scrawl 8d224f009f toggleFogOfWar script command 13 years ago
scrawl 0c2317ce9d player arrow works again 13 years ago
scrawl 01ecf3e0be attempt at rotation (BROKEN) 13 years ago
scrawl 35f40b99ad remove the bounding box hack, not needed because calculation is correct now 13 years ago
scrawl bf421d2873 use vector instead of array 13 years ago
scrawl 28dfba55e0 delete fix 13 years ago
scrawl a6259a1b0d bugfixes 13 years ago
scrawl 06fa310e29 player arrow rotated correctly 13 years ago
scrawl 9c3e1f48f0 player arrow 13 years ago
scrawl 2dd329938a automatically zoom in on the player while moving 13 years ago
scrawl 1907e21207 removed preprocessor constants 13 years ago
scrawl 5e939e4818 map window now works for interiors 13 years ago
scrawl 91d2031eb7 first attempt at map window 13 years ago
scrawl 2edd7e59f4 some fixes and facilities for saving the fog of war to disk 13 years ago
scrawl 5a46d58da5 fully working fog of war 13 years ago
scrawl 583a25f634 fog of war rendering (incomplete) 13 years ago
scrawl 5b38b17baf local map rendering (nothing to see yet, as it is not displayed in GUI) 13 years ago