Commit Graph

2023 Commits (openmw-37)

Author SHA1 Message Date
scrawl 622573f494 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 0f347eccbf Flip the origin of global map texture
Now it's consistent with the overlay texture.
9 years ago
scrawl 8b7bdcd127 Fix the global map overlay viewport (Bug #3018) 9 years ago
scrawl a68fd791c8 Remove a stray method declaration 9 years ago
scrawl 79c44d0bfe Style fix 9 years ago
scrawl 02148a43f5 Node mask fix 9 years ago
scrawl 0a52ee17c3 Fix Drawable removal issues 9 years ago
scrawl afa590bddb Leak fix 9 years ago
scrawl c62c1693e9 Disable copy constructor and operator= in PartHolder 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 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 1b52749ae1 Adjust third person camera height based on character height 9 years ago
scrawl 055841e721 Improve cloud lighting 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 c996702b56 Fix some uninitialised variables found by static analysis 9 years ago
scrawl 1cf1c944b7 Don't attempt to render weather particles on the refraction and reflection textures 9 years ago
scrawl 209fa52883 Hide weather particles underwater (Fixes #2701) 9 years ago
scrawl e3b30baff9 clipFudge fix 9 years ago
scrawl c0a81030bb Make use of INI settings for the simple water 9 years ago
scrawl 30c828dff0 Include cleanup 9 years ago
scrawl 8e8f72408d Use diffuse/ambient lighting for the simple water 9 years ago
scrawl 380256977b Fix another renderBin issue with the weather particles
Depth sorting w.r.t. the rest of the scene was broken
9 years ago
scrawl 9902dfc9ef Comment 9 years ago
scrawl ad016da31d Enable fog on weather particles 9 years ago
scrawl fd1ccd21ff Disable freezeOnCull for weather particles 9 years ago
scrawl 5ca0ae5232 Don't add the same AlphaFader to multiple nodes 9 years ago
scrawl d6f45c3390 Fix the renderbin for weather particles
Regression from commit 2ee6b41887
9 years ago
scrawl bd1f3493d7 Fix weather particles not being cleared when changing from one particle effect to another 9 years ago
scrawl 0348b8df1c Fix applying of plane height in ClipCullNode (Fixes #2985) 9 years ago
scrawl 3f988327c7 Destructor fix 9 years ago
scrawl 913bbe347b Don't check the extension string every frame 9 years ago
scrawl c60388afb6 Add fudge factor to move the water mesh away from camera when the camera gets too close 9 years ago
scrawl 4690ec12cc Render the water plane with GL_DEPTH_CLAMP if supported (Fixes #996) 9 years ago
scrawl 8da4530957 Use INI-imported underwater fog settings (Fixes #2907, Fixes #1511) 9 years ago
scrawl bd9dc58560 Use the correct scale for actor swim height (Fixes #2833) 9 years ago
scrawl 7b817ba010 Fix the node masks of water cameras being reset (Bug #2984)
Node mask needs to remain Mask_RenderToTexture so the raytesting visitor won't go through the reflection graph.
9 years ago
scrawl 93f4d31cf9 Raytest mask fix (Fixes #2984) 9 years ago
scrawl b9b154a015 Minor cleanup 9 years ago
scrawl d90fa977e8 GL_DEPTH_COMPONEN24 fix 9 years ago
scrawl 7692ae175a Disable sun rendering on the reflection camera
Not needed, we have specular highlights.
9 years ago
scrawl 9b8e45fc01 Fix ripple particles z-fighting with the water surface 9 years ago
scrawl d394b0793f waterLevel fix 9 years ago
scrawl c9d7078b4b Water: add texture quality setting to the settings window 9 years ago