Commit Graph

255 Commits (8c7e06293fbe6d0ed1dd7dd0f424b9f1b6f92162)

Author SHA1 Message Date
scrawl da24e298ee Fix -Wreorder warnings 10 years ago
scrawl 627fee07bc Minor cleanup 10 years ago
scrawl e1f4a7f647 Merge branch 'master' of https://github.com/OpenMW/openmw into osg
Conflicts:
	apps/openmw/engine.cpp
	apps/openmw/mwgui/mainmenu.cpp
	apps/openmw/mwgui/windowmanagerimp.cpp
	apps/openmw/mwinput/inputmanagerimp.cpp
	apps/openmw/mwrender/animation.cpp
	apps/openmw/mwrender/debugging.cpp
	apps/openmw/mwrender/npcanimation.cpp
	apps/openmw/mwrender/renderingmanager.cpp
	apps/openmw/mwrender/sky.cpp
	components/nif/nifkey.hpp
	components/nif/nifstream.hpp
	components/nifbullet/bulletnifloader.cpp
	components/nifogre/ogrenifloader.hpp
	libs/openengine/bullet/physic.cpp
	libs/openengine/gui/manager.cpp
10 years ago
scrawl 9cf9c2876e Pathgrid rendering 10 years ago
scrawl 62847f0489 Use node masks to separate Scene and GUI 10 years ago
Rohit Nirmal 997347b01e Silence -Wreorder warnings. 10 years ago
scrawl 8971a200f7 Sky fix 10 years ago
scrawl 8c810e3620 Move rng to components 10 years ago
scrawl 42f6d9e15b Port video player 10 years ago
scrawl c334a76a6f Fix skinning bug 10 years ago
scrawl 13a1ba0aab Moon rendering 10 years ago
scrawl c516e897ee Move Controller base classes to SceneUtil, add visitor to assign ControllerSources 10 years ago
scrawl 5dd1ab24fe More efficient StateSetController, beginnings of sky rendering 10 years ago
dteviot 3f28634d1f consolidate random number logic
Note, I suspect Rng::rollClosedProbability() is not needed.  The only difference between it and rollProbability() is that one time in 37k (on Windows), it will give an output of 1.0.
On some versions of Linux, the value of 1.0 will occur about 1 time in 4 billion.
10 years ago
dteviot e197f5318b fixing MSVC 2013 warning C4244: & C4305
conversion from 'const float' to 'int', possible loss of data
conversion from 'double' to 'int', possible loss of data
conversion from 'float' to 'int', possible loss of data
10 years ago
Jordan Ayers 2d17eaa5ea Fix argument name for setSunDirection. 10 years ago
scrawl 417f60f467 Use the mooncircle textures (Fixes #1624, Fixes #1743) 10 years ago
scrawl dc5ed5b861 Remove weather particles underwater (Fixes #2010) 10 years ago
scrawl 6f747df713 Remove an unused constructor 10 years ago
Thoronador 526fb1b37b fix uninitialized value in BillboardObject 10 years ago
scrawl f931ba2efc Fix some static analysis issues (coverity) 10 years ago
scrawl fadbb5ad21 Add particle and sound fading for weather transitions (Fixes #2130) 10 years ago
Thoronador 8361019456 fix uninitialized (pointer) vars in more classes 10 years ago
scrawl 85f5754bb6 Apply third person camera distance to the camera node instead of only the camera itself (Fixes #1705) 10 years ago
scrawl 7252cb63a6 Fix cppcheck issues 10 years ago
MiroslavR baa14511cf Use ResourceHelpers to replace DDS hacks scattered throughout the code, fix prefix comparision 11 years ago
scrawl 45f0f0e4c3 Use sky_night_02.nif if available (Fixes #1744) 11 years ago
scrawl 07d0f4458d Rotate clouds/particles to come from red mountain (Fixes #245) 11 years ago
scrawl e5254ff8ef Set render queue for rain 11 years ago
scrawl 7b1e1d03d8 Merge branch 'master' of https://github.com/OpenMW/openmw
Conflicts:
	apps/openmw/mwrender/sky.hpp
11 years ago
scrawl f6a568c995 Implement rain (Feature #41) 11 years ago
Marc Zinnschlag 85965bfd47 Merge remote-tracking branch 'scrawl/master' 11 years ago
scrawl 693a097b21 Implement idlestorm animation (Feature #41) 11 years ago
scrawl 36132e054a Implement ashstorm, blightstorm, snow and blizzard effects (Feature #41) 11 years ago
Fil Krynicki cfea7736d9 WIP fix
Bug is fixed, but appears to have broken vision underwater. Notes:

+ basically fixed by darkening the colour of water such that it is
darker than refracted terrain
+ also disabled sunlight scattering at night. This may actually be
desirable, but given there is no visible moon it seems unlikely to make
much sense, and blends a lot of green into the water colour appearing
luminescent at night
11 years ago
scrawl edb5a54092 Include some more required Ogre headers explicitely. 11 years ago
scrawl 1624e0fd8a Rename ObjectList to ObjectScene. Wrap it in a SharedPtr so we can automate the destruction routine. 11 years ago
scrawl c7805e7dd2 Fix sun glare persisting after changing to an interior cell 12 years ago
Glorf 39c7bc8363 Corrected celestical object sizes 12 years ago
scrawl 301efb411e Fix exit crash 12 years ago
scrawl 8845c0cee1 Camera relative sky rendering. Now we no longer need to keep sky position in sync with camera. 12 years ago
Chris Robinson d17e1e83d5 Rename MWRender's Player to Camera 12 years ago
Chris Robinson 2db72ae607 Rename EntityList to ObjectList 12 years ago
Marc Zinnschlag 08f6d04960 constness fixes 12 years ago
Glorf 6165cd2c6b Moons fallbacks partially implemented 12 years ago
scrawl 05bd94effb Merge branch 'master' of git://github.com/zinnschlag/openmw into graphics 12 years ago
Nathan Jeffords 109dff2d29 renamed high level NIF files... 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 cc9b72b9b1 Removing some leftovers of mwRoot node 12 years ago
scrawl 2e7bc1a368 Z-up conversion: local map, fix tcg 12 years ago
scrawl 3ef952172d Z-up conversion: water, sky 12 years ago
scrawl 8aff033a0c Atmosphere no longer does "real" alpha blending to blend with the horizon, this is in preparation for proper underwater viewport BG / fog 12 years ago
scrawl cacdb33b42 Merge branch 'master' into graphics
Conflicts:
	apps/openmw/CMakeLists.txt
	apps/openmw/mwrender/npcanimation.cpp
	apps/openmw/mwrender/sky.cpp
12 years ago
scrawl 791d16bbdb Use infinite AAB for sky meshes to fix them from disappearing from underwater refraction, while still taking advantage of CPU culling for other meshes 12 years ago
scrawl 7ffcfa3622 Water and clouds no longer depend on timescale. 12 years ago
Chris Robinson bd4fdf47a3 Merge remote-tracking branch 'zini/master' into animation2
Conflicts:
	apps/openmw/mwrender/sky.cpp
12 years ago
scrawl 0f37c24d5f Merge branch 'master' of git://github.com/zinnschlag/openmw into graphics 12 years ago
scrawl bf037b7d29 Removed problematic ModVertexAlpha method, now done in shader 12 years ago
scrawl 15e51b76de Experimental: Directional shading on local map, separated out refraction render, no longer uses screen depth 12 years ago
Chris Robinson e8ac3976b5 Fix some subentity assumptions 12 years ago
Chris Robinson c4c8295e0b Rename NIFLoader to Loader, and update some comments 12 years ago
Chris Robinson 99769879e3 Fix some createEntities calls 12 years ago
scrawl 2f0b47fc38 test 12 years ago
scrawl b97b3d7b71 fix sky position when reflection is enabled, fix delay in sky reflection 13 years ago
greye 575244bd35 fix SkaManager issue 13 years ago
Chris Robinson 36be1536d9 Return text keys from NIFs when creating entities 13 years ago
Chris Robinson 44975854e5 Merge remote branch 'zini/master' into nif-cleanup
Conflicts:
	apps/openmw/mwrender/sky.cpp
13 years ago
Chris Robinson f67983bbee Don't assume one sub-entity for the night sky entities 13 years ago
scrawl a70f93b024 fix "Crash when running openmw with --start="XYZ", remove HLSL for windows 13 years ago
scrawl ab35bfa32c fixed a sky issue 13 years ago
scrawl f8d6a36196 Merge branch 'master' into nif-cleanup
Conflicts:
	apps/openmw/mwrender/sky.cpp
	apps/openmw/mwrender/sky.hpp
	components/nifogre/ogre_nif_loader.cpp
	components/nifogre/ogre_nif_loader.hpp
13 years ago
scrawl acc5c3bbbf some fixes 13 years ago
scrawl e077814a8c water 13 years ago
Chris Robinson 92546ca18d Move the last bits of code to createEntities 13 years ago
Chris Robinson 939d0d2fc5 Return a list of meshes and the skeleton from NIFLoader::load 13 years ago
scrawl 7731e9a6fa finished cleaning up sky 13 years ago
scrawl ad7383be43 sky 13 years ago
scrawl 865bfc6f47 sync mrt_output setting 13 years ago
scrawl 07fd9986ef accidently removed the map. 13 years ago
scrawl a095572205 fixed some textures, started with sky 13 years ago
scrawl 4ea6530772 hello world. 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 f6a6684685 when the resolution changes, adjust camera aspect ratio and recreate compositors 13 years ago
scrawl 02dad448fe make the wireframe mode not affect sky 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 c49d5dd40b another sky tweak 13 years ago
scrawl 8316a4c2ec add mrt dummy output to sky shaders 13 years ago
scrawl ec3fe1ef00 no sun glare in the reflection 13 years ago
scrawl 393530e671 more or less fixed the sky for normal viewing angles, still disappears at a certain height though 13 years ago
scrawl 1b89a9e203 various fixes 13 years ago
scrawl e1bde415f5 typo 13 years ago
scrawl 43fd0352f4 removed unneeded lines 13 years ago
scrawl 5664d879a5 fixed some sky objects 13 years ago
scrawl 6442d49e16 render queue groups, sky fix 13 years ago
scrawl 8aea311797 added visibility flags for everything 13 years ago
scrawl d4a2bdfa3d fix crash when hardware occlusion queries unsupporetd 13 years ago
scrawl 9a261a02aa changed the cloud movement direction like suggested on the forum 13 years ago
scrawl ee754eda6c don't create sky until entering an exterior cell 13 years ago
scrawl 72ff7ec030 Merge branch 'next' into occlusionquery
Conflicts:
	apps/openmw/mwrender/sky.cpp
13 years ago
Lukasz Gromanowski be94da1527 Issue #225: Initialize class members in constructor. 13 years ago
scrawl bb3f3ce1db bugfix 13 years ago
scrawl 743ea0c9be use hardware occlusion query for sun glare effect 13 years ago
scrawl b8f962a68d Merge branch 'next' into shaders 13 years ago
scrawl c2329b7027 removed preprocessor constants 13 years ago
scrawl 3e4cf64a77 Merge branch 'master' into shaders 13 years ago
scrawl 5ea2122f79 sun gradually disappears 13 years ago
scrawl a67cc8e73b more fixes 13 years ago
scrawl 877cb2aca7 much better looking moons 13 years ago
scrawl e354203c21 stars rotation 13 years ago
scrawl 8421fd2670 fixed a visual issue with the stars 13 years ago
scrawl 118250171d Merge branch 'master' of https://github.com/zinnschlag/openmw into shaders
Conflicts:
	apps/openmw/mwrender/objects.cpp
13 years ago
scrawl 8910b0d471 use shaders for all NIF materials. this has numerous advantages:
- vertex colours are now working as they should (and they have a huge impact on the look)
 - the lighting is per pixel and looks a lot better
 - by using shaders, we can use more lights at a time (fixed function has max of 8)
13 years ago
scrawl d74b78a302 very minor performance improvement 13 years ago
Marc Zinnschlag 3c5f8a4a23 void pointer workaround 13 years ago
scrawl b3db4f1c27 slightly improved moon fading 13 years ago
scrawl 8b0ef8f98c improvements to sun glare 13 years ago
scrawl 932983c2fa fix toggleSky 13 years ago
scrawl c1d39bb35f tweaked cloud color 13 years ago
scrawl f79bf1f300 fog 13 years ago
scrawl 8d5783d75d - set moon phase using (day%32)/4 (not really correct, but good for now)
- added all weather patterns from morrowind.ini
13 years ago
scrawl e31ad90802 moon positions and fading 13 years ago
scrawl 4650672bb1 thunderstorm 13 years ago
scrawl 0ebdce543a - added night sky rendering with stars, nebulas, and fading in/out to sunset / sunrise
- changed WeatherGlobals members to static
13 years ago
scrawl 9560904d8a visibility fixes 13 years ago
scrawl 67c7b965f0 calculate a sun position depending on time of day 13 years ago
scrawl 811c4a41b7 fade in/out for sunrise and sunset 13 years ago
scrawl aad8f6605e send a raycast through the physics engine to check if sun is visible 13 years ago
scrawl af83742e6f - disable the sky renderer completely in interior cells
- SkyManager update (initial sun glare effect, no raycast)
13 years ago
scrawl d9c02ca526 - added isCellExterior / isCellQuasiExterior methods to World
- interior now have the sun disabled properly (and ambient managed by cell, not sky)
13 years ago
scrawl 90af78e3b8 attempt to fix openmw's lighting (restored the sun, set proper ambient value outside)
- the fix should remain in this branch since the main branch still has the lighting by caelum
13 years ago
scrawl a5720e9a4f set sky colors according to time of day 13 years ago
scrawl 41a8b22ebd implemented weather transitions (currently only blends the clouds) 13 years ago
scrawl b2de9e8f45 allow setting the clouds opacity 13 years ago
scrawl 83753dc384 tweaked the cloud animation speed 13 years ago
scrawl 91ffacbb6d added moon phases 13 years ago
scrawl 10ca67c0a5 fixed the sky elements positioning delay (nodes are now children of the camera node) 13 years ago
scrawl 2d8b0a4ac0 merged the sky manager implementation with its interface 13 years ago
scrawl 694a537b57 - removed caelum sources, resources, build scripts 13 years ago
scrawl 04d7db2860 moved the SkyManager implementation to a new source file (sky_impl.cpp) for convenience 13 years ago
scrawl 6aac3d4b77 - removed caelum (we can get it from the git history, if needed)
- added code for moon rendering (they are not visible by default)
13 years ago
scrawl 090c0586a0 leak fix 13 years ago
scrawl 6d37f53fa2 - abstracted the sun creation code into a CelestialBody class to be reused for the moons
- fixed render queue problem
13 years ago
scrawl ad0f9f4bcf fixed the sun rendering (rendered without depth check) 13 years ago
scrawl 3b3218d907 fixed 3 gcc warnings in sky.cpp 13 years ago
scrawl 8b5da06fce Merge branch 'next' into weather
Conflicts:
	apps/openmw/mwrender/renderingmanager.cpp
13 years ago
scrawl c884f70a61 added sun rendering (unfinished) 13 years ago
scrawl 1d9f0f4813 added MWSkyManager; already has atmosphere and moving clouds (although their colour is static) 13 years ago
Jan-Peter Nilsson 429775d485 Store configuration in /etc/openmw/ and ~/.openmw/ on linux
Requires new openengine version.
14 years ago