Commit Graph

153 Commits (move)

Author SHA1 Message Date
scrawl f898bf493f Don't use Geodes 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 d11c2864df Introduce UnrefQueue to handle the deleting of no longer needed objects in the background thread 9 years ago
scrawl 7a8a7e3dd6 Add const version of getAnimation 9 years ago
scrawl 62169a7039 Use a single-precision PositionAttitudeTransform in speed critical places 9 years ago
scrawl 8c268f239e Set the object node scale before inserting model
This fixes initWorldSpaceParticles not taking object scale into account. Still not taking into account object rotation or node animations. Ideally the initWorldSpaceParticles needs to run in an updateCallback.
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 d7695f2560 Remove unused NpcAnimation visibilityFlags 10 years ago
scrawl 7b35882814 RemoveParticlesVisitor fix 10 years ago
scrawl f4ee805e3b Object animation fix 10 years ago
scrawl 723beb1cac Move IncrementalCompileOperation to SceneManager 10 years ago
scrawl 3dcb167066 Map rendering 10 years ago
scrawl 8b322fcd06 Implement getFacedObject using osgUtil::IntersectionVisitor 10 years ago
scrawl da24e298ee Fix -Wreorder warnings 10 years ago
scrawl 0b042b75cc Restore actor visibility mask 10 years ago
scrawl 2235d2978b Restore animation text key handling 10 years ago
scrawl b7258c8d23 Readded Objects::updatePtr 10 years ago
scrawl 77f733362c Add stats graphs for Script, Mechanics and Physics timings 10 years ago
scrawl 9de575ad42 Use IncrementalCompileOperation to incrementally upload OpenGL objects during the loading screen
For now, not much difference, but should result in a sizable speed up once MyGUI no longer needs the DYNAMIC flag (i.e. the loading screen truly renders in the background).
10 years ago
scrawl 9cf9c2876e Pathgrid rendering 10 years ago
scrawl bd8f0248f0 Player rendering 10 years ago
scrawl 0ff7b2ff11 MechanicsManager, frame update 10 years ago
scrawl 1c0e3a6488 rotateObject, scaleObject 10 years ago
scrawl 86b4a610cb Movement accumulation works 10 years ago
scrawl 09742d5b95 Animation playback works, no movement accumulation yet 10 years ago
scrawl 68f93294da Port EffectManager 10 years ago
scrawl fcc7aa02ab Port addExtraLight 10 years ago
scrawl 9c4b2ea61a CreatureAnimation compiles 10 years ago
scrawl edc5cad79e Port Animation::addEffect 10 years ago
scrawl 083c41c950 Environment map for enchanted objects 10 years ago
scrawl 5b8c28f641 NpcAnimation compiles 10 years ago
scrawl 246b06ca27 Forgot to add 10 years ago
scrawl 61aaf0cf70 Attach light lists to the object base nodes instead of each renderable
Apparently that is how Ogre worked (on the SceneNode) so let's roll with it for now. Have not tested yet what MW does.
10 years ago
scrawl c92592493e OpenMW: create a window and render the starting cell(s) 10 years ago
scrawl 4e69e7cc0f OpenMW compiles and runs w/o render window 10 years ago
dteviot ca8c8c6aa4 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
scrawl 5d7eb11596 Fix lights being rendered on the map (broken by d55fe43fc9) 10 years ago
scrawl d55fe43fc9 Support animation groups for Light and Door objects (Fixes #2039) 10 years ago
scrawl 28fe81df90 Make Lights with OffDefault flag not emit light nor particles when placed in a cell (Fixes #1796) 11 years ago
scrawl 823ccb1b3d Don't batch statics that have "references persist" set (temporary fix for Arkngthand door - Fixes #1386) 11 years ago
scrawl a6788cfb0e Support lights that do not have a model (Fixes #1361) 11 years ago
scrawl 039398c8ae Basic RefData and CellRef change tracking
Wrapped item charge handling in getItemHealth function
11 years ago
Thoronador 1b8c975d5b minor performance improvements in apps/openmw
Checking for emptiness using size() might be inefficient, because
it can take linear time, while empty() is guaranteed to take only
constant time.

For non-primitive types, postfix ++ operators are inefficient
compared to prefix ++ operators, because post-increment usually
involves keeping a copy of the previous value around.
11 years ago
scrawl 2a4e99c069 Set StaticGeometry origin
Fixes an exception for coordinates far away from (0,0,0).
11 years ago
Marc Zinnschlag 367919200f moved CellRefList into a separate file 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 5931fdcbde Implement NiBillboardNode. Flags not handled yet. 11 years ago
Marc Zinnschlag 030c733e2d Merge branch 'master' into savedgame
Conflicts:
	apps/openmw/mwmechanics/actors.cpp
	apps/openmw/mwworld/worldimp.cpp
	files/settings-default.cfg
11 years ago
Marc Zinnschlag e818d43bc3 removed an outdated typedef and some dead code 11 years ago