1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 21:59:55 +00:00
openmw/components/sceneutil
Bo Svensson 98f8295765
allows to skip ComputeLightSpaceBounds traversal (#3152)
Currently, we always traverse the scene graph an additional time with a ComputeLightSpaceBounds visitor during shadow casting. ComputeLightSpaceBounds is only useful when the shadow casting mask allows us to shrink the bounds of the rendered scene, so we guard its traversal with a check against getCastsShadowTraversalMask. In practice, this guard never works because we build the traversal mask inclusively.

With this PR we limit the getCastsShadowTraversalMask check to relevant masks. This new check allows us to skip a superfluous ComputeLightSpaceBounds traversal with most settings.
2021-10-11 11:27:50 +02:00
..
actorutil.cpp Move base_anim settings to settings-default.cfg 2021-01-27 13:41:02 +02:00
actorutil.hpp Move common stuff to scene util, fix errors with 1st person meshes 2018-09-27 13:14:59 +04:00
agentpath.cpp refactor and fix wobbly shores 2021-08-04 17:49:57 -07:00
agentpath.hpp Add command and settings option to enable actors paths render 2018-10-13 22:16:32 +03:00
attach.cpp return if source is null in mergeUserData 2021-09-10 14:04:11 +00:00
attach.hpp This PR solves a crash with Robert's bodies logged on your bugtracker. (#3095) 2021-09-09 22:56:57 +02:00
clone.cpp clone.cpp remove dynamic_cast (#3097) 2021-09-09 23:04:11 +02:00
clone.hpp Mark overrided methods by override keyword 2020-10-16 22:18:54 +04:00
controller.cpp Replace all NULLs to nullptr 2018-10-09 10:21:12 +04:00
controller.hpp Mark overrided methods by override keyword 2020-10-16 22:18:54 +04:00
detourdebugdraw.cpp Remove unused macro 2020-04-24 20:38:55 +02:00
detourdebugdraw.hpp Move makeOsgVec3f() to settingsutils.hpp 2019-02-28 20:03:42 +00:00
keyframe.hpp adds a replacement for osg::NodeCallback (#3144) 2021-10-04 10:56:55 +02:00
lightcontroller.cpp converts remaining osg::NodeCallback (#3147) 2021-10-05 14:21:12 +02:00
lightcontroller.hpp converts remaining osg::NodeCallback (#3147) 2021-10-05 14:21:12 +02:00
lightmanager.cpp discard off-screen lights (#3120) 2021-10-06 11:53:24 +02:00
lightmanager.hpp discard off-screen lights (#3120) 2021-10-06 11:53:24 +02:00
lightutil.cpp Finalize settings, torch fix 2021-04-13 11:09:49 -07:00
lightutil.hpp Finalize settings, torch fix 2021-04-13 11:09:49 -07:00
morphgeometry.cpp profiling 2020-06-13 00:22:28 +02:00
morphgeometry.hpp Mark overrided methods by override keyword 2020-10-16 22:18:54 +04:00
mwshadowtechnique.cpp allows to skip ComputeLightSpaceBounds traversal (#3152) 2021-10-11 11:27:50 +02:00
mwshadowtechnique.hpp allows to skip ComputeLightSpaceBounds traversal (#3152) 2021-10-11 11:27:50 +02:00
navmesh.cpp refactor and fix wobbly shores 2021-08-04 17:49:57 -07:00
navmesh.hpp Add command to enable NavMesh render 2018-10-13 22:16:28 +03:00
nodecallback.hpp adds a replacement for osg::NodeCallback (#3144) 2021-10-04 10:56:55 +02:00
optimizer.cpp speeds up optimizer (#3162) 2021-10-10 18:09:15 +02:00
optimizer.hpp speeds up optimizer (#3162) 2021-10-10 18:09:15 +02:00
osgacontroller.cpp cleans up osgacontroller.cpp (#3142) 2021-10-04 12:20:33 +02:00
osgacontroller.hpp cleans up osgacontroller.cpp (#3142) 2021-10-04 12:20:33 +02:00
pathgridutil.cpp refactor and fix wobbly shores 2021-08-04 17:49:57 -07:00
pathgridutil.hpp Drag indicator. 2016-05-18 12:17:26 -04:00
positionattitudetransform.cpp Remove redundant includes 2019-02-23 08:02:12 +04:00
positionattitudetransform.hpp Mark overrided methods by override keyword 2020-10-16 22:18:54 +04:00
recastmesh.cpp Use different colors for walkable and non-walkable triangles 2021-10-09 17:44:25 +02:00
recastmesh.hpp Support recast mesh rendering 2020-03-14 09:38:24 +01:00
riggeometry.cpp optimises riggeometry.cpp (#3165) 2021-10-10 18:37:34 +02:00
riggeometry.hpp Mark overrided methods by override keyword 2020-10-16 22:18:54 +04:00
rtt.cpp converts remaining osg::NodeCallback (#3147) 2021-10-05 14:21:12 +02:00
rtt.hpp Stereo friendly StateSetUpdater 2021-07-26 14:01:02 +02:00
screencapture.cpp Manage work item lifetime on the client side 2021-07-12 11:41:14 +02:00
screencapture.hpp Manage work item lifetime on the client side 2021-07-12 11:41:14 +02:00
serialize.cpp Serialize NifOsg::MatrixTransform children properly 2021-08-12 18:33:06 +03:00
serialize.hpp Add 'showSceneGraph' command to export the scene or a particular object to .osgt for debugging purposes 2017-02-01 06:00:14 +01:00
shadow.cpp allows to skip ComputeLightSpaceBounds traversal (#3152) 2021-10-11 11:27:50 +02:00
shadow.hpp allows to skip ComputeLightSpaceBounds traversal (#3152) 2021-10-11 11:27:50 +02:00
shadowsbin.cpp shadowsbin.cpp uniform 2021-09-12 09:21:10 +00:00
shadowsbin.hpp Allow shadowsbin to optimise clockwise-wound meshes when face culling is off 2020-12-23 01:24:15 +00:00
skeleton.cpp optimises skeleton.cpp (#3158) 2021-10-09 11:14:22 +02:00
skeleton.hpp optimises skeleton.cpp (#3158) 2021-10-09 11:14:22 +02:00
statesetupdater.cpp converts remaining osg::NodeCallback (#3147) 2021-10-05 14:21:12 +02:00
statesetupdater.hpp resets state updater to apply light settings (#3141) 2021-10-06 11:21:30 +02:00
textkeymap.hpp Separate keyframes logic to provide basis for osgAnimation integration. 2020-11-18 22:48:47 +02:00
unrefqueue.cpp Use emplace_back instead of push_back 2020-10-18 10:27:35 +04:00
unrefqueue.hpp Mark overrided methods by override keyword 2020-10-16 22:18:54 +04:00
util.cpp converts remaining osg::NodeCallback (#3147) 2021-10-05 14:21:12 +02:00
util.hpp converts remaining osg::NodeCallback (#3147) 2021-10-05 14:21:12 +02:00
visitor.cpp Merge branch 'string_view' into 'master' 2021-09-09 20:41:16 +00:00
visitor.hpp Don't use FreezeOnCull for any particle system (#4744) 2021-08-08 03:36:35 +03:00
waterutil.cpp refactor and fix wobbly shores 2021-08-04 17:49:57 -07:00
waterutil.hpp refactor and fix wobbly shores 2021-08-04 17:49:57 -07:00
workqueue.cpp Reset mIsReleased before starting threads 2021-08-08 02:28:59 +02:00
workqueue.hpp Stop engine work queue before destructing environment 2021-07-08 21:14:01 +02:00
writescene.cpp Something changed in OSG 3.6 that makes the command "showscenegraph" less useful; it writes out raw data of images to the debug output file openmw.ogst. This commit adds the hint and restores default behaviour found in OSG 3.4 2020-04-27 11:40:49 +02:00
writescene.hpp Add 'showSceneGraph' command to export the scene or a particular object to .osgt for debugging purposes 2017-02-01 06:00:14 +01:00