Commit Graph

278 Commits (f5b144ef774364d0571d5d58c4ca65b0eaa475bb)

Author SHA1 Message Date
AnyOldName3 f5b144ef77 Improve bounds calculation for shadow casters outside of the viewing frustum 7 years ago
AnyOldName3 50fdd0be99 Resolve computed near plane issues with extremely high viewing distances. 7 years ago
AnyOldName3 2c30bc1b4f Accidentally fix the one remaing case where shadows look awful while refactoring some stuff. 7 years ago
AnyOldName3 9f0a49c303 Disable CSM when disabled in the settings. 7 years ago
AnyOldName3 84284a60a7 Make CSM shader changes controllable by the setting. 7 years ago
AnyOldName3 5d05aadb37 Begin to let settings toggle between CSM and PSSM 7 years ago
AnyOldName3 7255c266ba Merge branch 'osgshadow-test-vdsm' into osgshadow-test-dicking-around-with-cascading-shadow-maps 7 years ago
AnyOldName3 fc1aee10f4 Remove function declaration that somehow snuck in. 7 years ago
AnyOldName3 1b30d47d7f Add a hacky temporary version of cascading shadow maps 7 years ago
AnyOldName3 44b2cf2b7f Merge upstream. 7 years ago
AnyOldName3 166e7df778 Improve debug HUD frustum 7 years ago
AnyOldName3 4547151863 Add the view frustum to the debug HUD (in the most annoying way possible) 7 years ago
scrawl 6c79c0fb35
Add an empty compileGLObjects implementation to Rig/MorphGeometry to avoid unnecessary creation of display list done by osg 7 years ago
elsid 14daadded7
Add virtual destructors
To fix warnings:
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/shared_ptr_base.h:588:8: warning: delete called on non-final 'NifOsg::ControllerFunction' that has virtual functions but non-virtual destructor
      [-Wdelete-non-virtual-dtor]
              delete __p;
              ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/shared_ptr_base.h:595:4: note: in instantiation of function template specialization
      'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count<NifOsg::ControllerFunction *>' requested here
        : __shared_count(__p)
          ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/shared_ptr_base.h:1079:17: note: in instantiation of function template specialization
      'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count<NifOsg::ControllerFunction *>' requested here
        : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
                       ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/shared_ptr.h:129:25: note: in instantiation of function template specialization 'std::__shared_ptr<NifOsg::ControllerFunction,
      __gnu_cxx::_S_atomic>::__shared_ptr<NifOsg::ControllerFunction, void>' requested here
        shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
                               ^
/home/elsid/dev/openmw/components/nifosg/nifloader.cpp:242:39: note: in instantiation of function template specialization 'std::shared_ptr<NifOsg::ControllerFunction>::shared_ptr<NifOsg::ControllerFunction, void>' requested here
                callback->setFunction(std::shared_ptr<NifOsg::ControllerFunction>(new NifOsg::ControllerFunction(key)));
                                      ^

/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/unique_ptr.h:78:2: warning: delete called on non-final 'MWGui::ResponseCallback' that has virtual functions but non-virtual destructor
      [-Wdelete-non-virtual-dtor]
        delete __ptr;
        ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/unique_ptr.h:268:4: note: in instantiation of member function 'std::default_delete<MWGui::ResponseCallback>::operator()' requested here
          get_deleter()(__ptr);
          ^
/home/elsid/dev/openmw/apps/openmw/mwgui/dialogue.cpp:58:23: note: in instantiation of member function 'std::unique_ptr<MWGui::ResponseCallback, std::default_delete<MWGui::ResponseCallback> >::~unique_ptr' requested here
    PersuasionDialog::PersuasionDialog(ResponseCallback* callback)
                      ^
7 years ago
AnyOldName3 e885612bd7 Make a dynamic cast static 7 years ago
AnyOldName3 b553b58de5 Fix another compiler warning 7 years ago
AnyOldName3 3bed2a7b01 Fix some copiler warnings (hopefully) 7 years ago
AnyOldName3 fc41902798 Replace a dynamic cast with string comarison 7 years ago
AnyOldName3 bc4b4c66e4 (Hopefully) add include which G++ requires even though VC++ doesn't. 7 years ago
AnyOldName3 d1a2955fa1 Merge upstream 7 years ago
AnyOldName3 66a114d6ec Fix a couple of warnings 7 years ago
AnyOldName3 f9cf1ac94b Separate indoor and outdoor shadow casting masks. 7 years ago
AnyOldName3 35eb71052e Tidy up the shadow manager 7 years ago
AnyOldName3 882b63cba9 Make split point control parameters configurable with the new shadow technique. 7 years ago
AnyOldName3 e233dae1cd Hook up the new shadow technique 7 years ago
AnyOldName3 97b607fc66 Make whitespace match upstream OSG 7 years ago
AnyOldName3 99db93510c Undo minor cockup where the same file appeared twice 7 years ago
AnyOldName3 639a4f5e8c Remove TODO left in by accident. Also, become 100 commits ahead of upstream. 7 years ago
AnyOldName3 478367bef3 Ensure the debug HUD won't crash if settings are changed at runtime. 7 years ago
AnyOldName3 7b52091a82 Make the debug hud enableable 7 years ago
AnyOldName3 5d719e9d5f Add the debug HUD to the new shadow technique 7 years ago
AnyOldName3 76f23c28b1 Make shadows disableable. 7 years ago
AnyOldName3 0f1e770c53 Transfer changes to cull to new shadow technique 7 years ago
AnyOldName3 4c31b38f77 Move CLSB changes to new shadow technique 7 years ago
AnyOldName3 06b2ce6646 Fix alignment issues caused by renaming classes 7 years ago
AnyOldName3 02d0ee3485 Rename old shadow class to shadow manager 7 years ago
AnyOldName3 ce02c83089 Copy debug shader source into new shadow technique 7 years ago
AnyOldName3 7bd4c5e4b3 Change class name 7 years ago
AnyOldName3 c815366044 Move to the correct namespace part 2 7 years ago
AnyOldName3 11e59d3c11 Move to the correct namespace. 7 years ago
AnyOldName3 324b398d29 Add a notice clarifying the source of the shadow technique files. 7 years ago
AnyOldName3 7467248555 Undo a modification from the upstream shadow technique which breaks compatibiltiy with OSG 3.4 7 years ago
AnyOldName3 273914aba8 Add osgShadow ViewDependentShadowMaps as they can be found in OSG's GitHub Repository 7 years ago
AnyOldName3 9ec59783ba Add basic support for distant terrain CLSB
(cherry picked from commit 0f9dc3e65b72e6fff762f7a0933bae6f861e5fd4)
7 years ago
AnyOldName3 cb6767b4fc Move the declaration of ComputeLightSpaceBounds to the header so that it can be accessed from other compilation units.
(cherry picked from commit 8ac4fb208897a18da4934dd6f2fe84560b44ba9d)
7 years ago
AnyOldName3 6251e0519e Use CLSB results to reduce maximum shadow map distance when sensible. 7 years ago
scrawl 25a6a67508
Fix the optimizer messing up LOD node's children (Fixes #4301) 7 years ago
AnyOldName3 9f20aaccfb Add some more advanced settings to control shadows. 7 years ago
AnyOldName3 6ec893b618 Merge remote-tracking branch 'refs/remotes/upstream/master' 7 years ago
scrawl bba9a8dd91
Don't update off-screen animations
Make flying creatures animate in-place when out of processing range
7 years ago