Commit Graph

15059 Commits (0a52ee17c31851a3c9ad4ea576d0782a1f8feb2c)
 

Author SHA1 Message Date
scrawl 0a52ee17c3 Fix Drawable removal issues 9 years ago
scrawl 1edcb219a7 Leak fix 9 years ago
scrawl afa590bddb Leak fix 9 years ago
scrawl c62c1693e9 Disable copy constructor and operator= in PartHolder 9 years ago
scrawl fc93dc6195 Remove a stray method declaration 9 years ago
scrawl 2e9805fa0e Leak fix 9 years ago
scrawl b840c68f0c Do not create a depth buffer for the global map 2d rendering 9 years ago
scrawl 8e3bc981a2 Fix self-referencing camera 9 years ago
scrawl 7776c49fc1 GraphicsWindowSDL2: adjust the log levels 9 years ago
scrawl 0409e5a043 Use OSG_VERSION_GREATER_EQUAL / LESS_THAN rather than MIN_VERSION_REQUIRED (cosmetic change) 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 35459f20d5 Refactor lighting mask 9 years ago
scrawl 91583fc027 Fix MWRender::Mask_ParticleSystem 9 years ago
scrawl 637cd3a628 Adjust the FirstPersonNeckController to follow the camera with a reduced factor (Fixes #1784) 9 years ago
scrawl 3c338b9da9 ObstacleCheck: tweak the stuck detection parameters
The netch_betty wander animation starts up so slowly that the creature thought it was stuck, even though it's not.
9 years ago
scrawl d233bc483d ObstacleCheck: fix evasion issue
The check if (samePosition... would not work as intended because actors do not move in every frame when the framerate is higher than the physics framerate. In that case the actor would change its evasion direction almost every frame.
9 years ago
scrawl caa523a959 ObstacleCheck: fix the framerate not being taken into account 9 years ago
scrawl 801dc8eee3 ObstacleCheck: fix weird distance calculation 9 years ago
scrawl bd8332d2b0 Remove default copyop argument for nodecallback copy constructors
Works around a compiler warning with OSG 3.4:

warning: base class 'class osg::Callback' should be explicitly initialized in the copy constructor [-Wextra]

With no default argument for osg::CopyOp&, the compiler no longer sees the function as a real copy constructor and stops warning about the missing virtual initializations.

We don't care about this warning because there is nothing interesting to initialize in the osg::NodeCallback base anyway.

A proper fix for the warning would require to inserting OSG_VERSION conditional compiling all over the place, that is as long as we are still supporting OSG 3.2.
9 years ago
scrawl 1200ff9186 RigGeometry: fix incorrect bounding box in the first frame
The default computeBound() was overriding the manually set bounding box.
9 years ago
scrawl 1b52749ae1 Adjust third person camera height based on character height 9 years ago
scrawl 64abdbabe3 Small refactor of controllers handling, print warning messages for unhandled controllers 9 years ago
scrawl 35f5be680b Support for NiVisController on trishape nodes 9 years ago
Marc Zinnschlag af5a1bc16b Merge remote-tracking branch 'origin/master' 9 years ago
Marc Zinnschlag b61b732207 fixed an interference with script warning mode and error downgrading (Fixes #2990) 9 years ago
scrawl b89945804c BookPage: implement hit test with margin for error 9 years ago
scrawl 055841e721 Improve cloud lighting 9 years ago
scrawl f0a1434578 Dead actors underwater will float to the surface 9 years ago
scrawl 66925be440 Partially revert 682f30ef9c
This change made dead netch fall through the floor, because the animation moves the creature *below* its external collision box.
9 years ago
scrawl 75f11f781c Use the ScalingLayer for Scroll window 9 years ago
scrawl 79b3f1e6a8 Small cleanup 9 years ago
scrawl 516f2765a1 Use the ScalingLayer for journal, books and scrolls 9 years ago
scrawl a7ad45e73e WindowBase::center use the layer size instead of render window size 9 years ago
scrawl f9932130da Work around MyGUI bug with mouse event coordinates (fixed in git) 9 years ago
scrawl 59aee04ddb Implement ScalingLayer, for layouting of widgets in screen-relative coordinates 9 years ago
scrawl 08a55febc8 Adjust Scroll window layout to better match MW 9 years ago
scrawl 231570f091 travis.yml fix 9 years ago
scrawl 6c12c9a467 Layer renaming fix 9 years ago
scrawl d85d74e615 Use AdditiveLayer for the hit fader 9 years ago
scrawl a90ef8afd0 layer renaming 9 years ago
scrawl 57b9eafa0f osgMyGUI: implement AdditiveLayer 9 years ago
scrawl 51f3a8fec6 osgMyGUI: move Platform methods to the .cpp file 9 years ago
scrawl 7ff168b787 osgMyGUI: add support for layers to insert custom rendering state 9 years ago
scrawl 13c7235b6b Remove old FPS setting code 9 years ago
scrawl 47664e1370 Hide the defunct FPS checkbox in settings menu, added hint text for f3 binding 9 years ago
scrawl a41ebd6695 Comment out object shaders in the settings menu 9 years ago
scrawl 4cc200680c Comment out shadows tab in settings menu 9 years ago
scrawl 2407f393ce Fix double update traversal in screenshot function 9 years ago
scrawl 6e69808129 Fix the frameNumber not being incremented in certain frames 9 years ago
scrawl 0210b87ffc Revert "Fix LightSource crash"
This reverts commit f336c6db87.

Root cause should be fixed in next commit.
9 years ago