Commit Graph

1861 Commits (2061a0b66eb72ddb14b96cfb85511063f143cd42)

Author SHA1 Message Date
Petr Mikheev d1252090a4 Merge branch 'blendtec_tures' into 'master'
Shader-based object texture blending

See merge request OpenMW/openmw!977
3 years ago
Petr Mikheev 0f246e7365 Use a separate instance of Lua i18n for every context 3 years ago
glassmancody.info d5cba38f4b shader-based object texture blending 3 years ago
Petr Mikheev f91a5499d3 Add extern/i18n.lua 3 years ago
Petr Mikheev db72380ba9 Allow Lua scripts to handle input actions when UI is opened. Also fixes #6456. 3 years ago
Petr Mikheev 7549496162 A few small fixes + expose makeReadOnly to Lua + an option to apply makeReadOnly during deserialize 3 years ago
uramer c865114b9b Lua UI Layers 3 years ago
elsid 96eb8d7be9
Write generated navmesh to navmeshdb
Perform all request to db in a single thread to avoid blocking navmesh
generator threads due to slow write operations.

Write to db navmesh for all changes except update as it done for memory cache.

Batch multiple db operations into a single transaction to speed up writing by
not executing fsync after each insert/update query. All reads are performed in
the same transaction so they see uncommited data.
3 years ago
elsid 9e0451c714
Support navmesh generation from launcher 3 years ago
elsid c9b8ba7b46
Read navmesh tile data from database
When tile is not found in memory cache try to find it in the database.
3 years ago
elsid 953a4c5550
Add a binary to generate navmesh from content files
Load content files based on the engine config files. Generate navmesh per cell
for all cells and store into SQLite database.
3 years ago
elsid 01c712d5f1
Split navigator settings into subtypes
Mostly to distinguish settings that affect properties of the generated navmesh.
3 years ago
Bret Curtis 454ddfa304
Merge pull request #3224 from Vulpen/feature-AA-alpha-test
Issue #6019 AA Alpha Test Option In Launcher
3 years ago
Bret Curtis 9336626927 use OPENMW_RESOURCES_ROOT instead 3 years ago
Bret Curtis a9bf53d4ed modified builtin_scripts to be macOS aware; simplified things as the SHADER and MYGUI dir were just pointing to the OpenMW_BINARY_DIR anyway, so removing the code duplication 3 years ago
Petr Mikheev 620748480b Merge branch 'lua_missing_key_codes' into 'master'
Lua binding for SDL_GetKeyName, two missing scan codes

See merge request OpenMW/openmw!1450

(cherry picked from commit d86e7d4c9a28bc96af0a5638b26879fa49b8a847)

9a073baa Add Apostrophe and Period scan codes
d66f3a35 Add getKeyName to Lua input API
ed64add9 Replace mentions of KeyEvent with KEY
3 years ago
Thomas Lowe 3daa716090 Updated button description. 3 years ago
andrew-app 13400b2c5f Bug #5434: Pinned windows shouldn't cover breath progress bar 3 years ago
Thomas Lowe f50cbcad81 * AA combo box no longer disables the AA alpha test checkbox.
* Updated AA alpha test description to be more accurate
3 years ago
Thomas Lowe 95d7bdd0c9 alpha test defaults to false 3 years ago
Thomas Lowe bdb7b6079e Removed a period from the checkbox's display text to conform with other buttons. 3 years ago
Thomas Lowe 5f355a14cd Changed default setting for anti-alias alpha test to true.
Added checkbox in advanced page for anti-alias alpha test, connected to AA combobox in the graphics page.
3 years ago
uramer 4a976a8e23 Use a setting to enable Lua Action tracebacks 3 years ago
glassmancody.info 9389cfaa42 mac os driver workaround and shadervisitor fixes 3 years ago
Petr Mikheev 73821ace94 Update Lua docs 3 years ago
Petr Mikheev f42badd7be Dehardcode camera 3 years ago
Petr Mikheev d5ca091d6e Make util.rotateX, util.rotateY, rotate.Z consistent with morrowind rotation 3 years ago
uramer 68963538ae Lua UI API 3 years ago
psi29a bd694128b9 Merge branch 'lua_input' into 'master'
Update Lua package openmw.input

See merge request OpenMW/openmw!1356
3 years ago
psi29a 68e7a4083e Merge branch 'master' into 'master'
Overhaul raindrop water ripple effect

Closes #6360

See merge request OpenMW/openmw!1316
3 years ago
psi29a 9a00984561 Merge branch 'tabcontrol-button-styles' into 'master'
Add missing controls to OpenMW's TabControl skin

See merge request OpenMW/openmw!1367
3 years ago
psi29a bea8df7dd4 Merge branch 'astoecke-fix-6386-water-reflection' into 'master'
Use `gl_FragCoord`  in `water_fragment.glsl` (fixes #6386)

Closes #6386

See merge request OpenMW/openmw!1347
3 years ago
wareya a1d03d178d Update water_fragment.glsl 3 years ago
Petr Mikheev d285427485 Update Lua package openmw.input 3 years ago
Alexei Dobrohotov 9880c43c86 Add specular strength shader parameter 3 years ago
Andreas Stöckel fbc7cf5e65 Fix #6386
Use `gl_FragCoords` instead passing the normalised screen-space coordinates
to the fragment shader in a numerically unstable way.
3 years ago
psi29a 5836d0225f Merge branch 'leave_butter_to_soften' into 'master'
Soft Particles (#6128)

See merge request OpenMW/openmw!980
3 years ago
uramer 6bcef77433 Add missing controls to OpenMW's TabControl skin 3 years ago
Alexei Dobrohotov 9dd36a345f Fix a typo in nv_default shader 3 years ago
wareya 6d98866be0 Merge remote-tracking branch 'upstream/master' 3 years ago
glassmancody.info 4461366761 settings update and launcher option 3 years ago
wareya 9b030e174f removing this part was a mistake, made the ripples more repetitive 3 years ago
wareya e1378cd290 Replace uniform with define 3 years ago
wareya 226d3eac0d Improve performance, add simpler ripples, add a setting, fix nighttime brightness 3 years ago
glassmancody.info 40b6bbbdf3 use openmw define system 3 years ago
glassmancody.info 8c3b00164e soft particles 3 years ago
psi29a 34b63bf142 Merge branch 'omwscripts' into 'master'
Change format of "*.omwscripts" files

See merge request OpenMW/openmw!1271
3 years ago
Petr Mikheev dd96eba2b0 Update OpenMW Lua docs 3 years ago
glassmancody.info 07e32c0fa6 remove object shader path 3 years ago
glassmancody.info 9cbbd2fff5 better transitions 3 years ago
glassmancody.info 1e40d27318 introduce sky shaders 3 years ago
wareya 1848f7f915 Overhaul raindrop water ripple effect 3 years ago
elsid 144862aa35
Define default actor half extents in settings
Player's half extents may change over time when wolfskin model is used for
example. Having it in settings is a more presistent approach.
3 years ago
psi29a c3f5e8f968 Merge branch 'lua_transform' into 'master'
3D transforms in Lua

See merge request OpenMW/openmw!1235
3 years ago
Bret Curtis e581b61ecb check if FORCE_OPAQUE is available before using it. 3 years ago
Bo Svensson 4b1c009ffd
use StateSet define for translucentFramebuffer (#3138)
With this PR we test out osg's shader define system for a somewhat harmless feature. As we can see, our code becomes more concise and efficient in this case. Most importantly, we no longer create unneeded vertex shader objects.
3 years ago
Petr Mikheev 48538d5cef 3D transforms in Lua 3 years ago
Petr Mikheev fb3917fc1a Lua callbacks 3 years ago
Petr Mikheev 0bd1c22e24 Raycasting in Lua 3 years ago
Bo Svensson d854e247b8
reword warning in settings-default.cfg (#3124)
* reword warning in settings-default.cfg

The warning at the head of settings-default.cfg is somewhat confusing for users, overly verbose and lacking the most crucial piece of information in its first sentence. Hence, it is unsurprising some users fail to heed the warning, as observed through user support requests on Matrix.

* settings-default.cfg
3 years ago
Cédric Mocquillon 98a0819d52 Debug terrain chunks 3 years ago
Bo Svensson 9d661359a1
Groundcover consolidation (#3096)
* chunkmanager.hpp viewdistance

* chunkmanager.cpp viewdistance

* chunkmanager.hpp viewdistance

* quadtreeworld.cpp viewdistance

* quadtreeworld.cpp consolidate

* quadtreeworld.hpp consolidate

* renderingmanager.cpp groundcover consolidate

* renderingmanager.hpp groundcover consolidate

* renderingmanager.cpp updater move

* renderingmanager.hpp updater move

* groundcover.hpp activegrid consolidation

* groundcover.cpp activegrid consolidation

* settings-default.cfg dead settings remove

* viewdata.cpp revert

* wrong file paste mistake

* wrong file paste mistake

* wrong file paste mistake

* renderingmanager.cpp updatecallback fix

* renderingmanager.cpp namespace fix

* groundcover.hpp redefinition fix

* groundcover.cpp redefinition fix

* renderingmanager.cpp crash fix

* renderingmanager.cpp euclidean groundcover distance

* viewdata.hpp getreusedistance

* quadtreeworld.cpp reusedistance

* groundcover.rst [ci skip]
3 years ago
Petr Mikheev 3771e523f1 More object bindings 3 years ago
Petr Mikheev 0e6fbbc126 Lua package 'openmw.input' 3 years ago
Cédric Mocquillon b0e30e4bb6 Change setting to clamp the local viewing distance to fix value (instead of coeff) 3 years ago
glassmancody.info 81267e7be7 add missing centroid to debug vertex shaders 3 years ago
glassmancody.info 09e03fde2e refactor and fix wobbly shores 3 years ago
glassmancody.info cad0b151cb enable shaders path and dehardcode depth formats 3 years ago
glassmancody.info 70fac33940 initial reverse-z depth implementation 3 years ago
Petr Mikheev a94072243b Lua command `core.quit` 3 years ago
Petr Mikheev 0f7f5ce140 Remove Lua command "self:setDirectControl" 3 years ago
glassmancody.info 0b9b724020 correct reflection label for in-game settings menu 3 years ago
psi29a e073969fe1 Merge branch 'editor-icons-svg-source' into 'master'
Source svg file used to generate OpenMW-CS icons.

See merge request OpenMW/openmw!964
3 years ago
Matjaž Lamut 05d349e4a7 Source svg file used to generate OpenMW-CS icons. 3 years ago
psi29a c5d49b44ba Merge branch 'lua_settings' into 'master'
Add Lua package 'openmw.settings'

See merge request OpenMW/openmw!1017
3 years ago
Alexei Dobrohotov 9834fd51af Address shader issues pointed out by AnyOldName3 3 years ago
Alexei Dobrohotov 11694ba87f Correct dark map and detail map alpha handling
Comment texenv usage in NIF loader
3 years ago
Petr Mikheev 2938aaf05c Rename `API_VERSION` -> `API_REVISION` in Lua API. 3 years ago
Petr Mikheev 3e4c0b775d Add Lua package 'openmw.settings' 3 years ago
psi29a 6949dd89c2 Merge branch 'gui_shaders' into 'master'
Add shader path for mygui (#6162)

See merge request OpenMW/openmw!1019
3 years ago
psi29a a7881b9196 Merge branch 'wobblywater' into 'master'
Wobbly Water: make shorelines wavy when refraction is enabled

See merge request OpenMW/openmw!673
3 years ago
Cédric Mocquillon 1051745f29 [Launcher] Add new setting 'allow zooming' to advanced tab in the launcher 3 years ago
CedricMocquillon 8c87defddf [Local map] Use the distance view in the local map 3 years ago
Cédric Mocquillon 3373afcc83 [Settings] Set values 3 years ago
Abdu Sharif 216d91837f Fix #6174 3 years ago
glassmancody.info e8c6f31e0c add shader path for mygui (#6162) 4 years ago
fredzio 643a64cb2f Change some settings for async physics:
- default to 1 thread
- default to always use defered aabb update, remove option
- always keep a cache of LOS request for at least the current frame.
This decreases number of raycast, especially when a lot of actors are
involved and "NPCs avoid collisions" is on
4 years ago
Petr Mikheev 25cc884c17 Integrate Lua doc into sphinx doc (issue #5931) 4 years ago
Petr Mikheev 4eb5841c60 Update OpenMW Lua documentation 4 years ago
Petr Mikheev 403d31313c New setting "lua num threads". Thread syncronization is changed from std:🧵:yield to std::condition_variable. 4 years ago
Petr Mikheev 7087eb1a4e Add built-in Lua library 'openmw_aux' that extends OpenMW Lua API 4 years ago
Petr Mikheev b432a1a1c1 Add a directory for builtin lua scripts. Dehardcoded game mechanics are supposed to live there. 4 years ago
elsid 4259f7f230
Add setting to enable/disabled notification for saved screenshots 4 years ago
Evil Eye eced6f2126 Implement the help command 4 years ago
AnyOldName3 84a9facedf Disable coverage adjustment for blended objects 4 years ago
psi29a f66196588c Merge branch 'object_paging_min_size_combo_box' into 'master'
Adding Object Paging Min Size combo box to Advanced -> Visuals

See merge request OpenMW/openmw!917
4 years ago
psi29a 9058fa9f60 Merge branch 'fix_launcher_ui' into 'master'
Make launcher Advanced/Visuals tab look more like other

See merge request OpenMW/openmw!908
4 years ago
Thunderforge 9f2f5174d4 Adding Object Paging Min Size combo box to Advanced -> Visuals
Requested in Discord by CMAugust and hammered out with a few other users.
4 years ago
psi29a 05c5688e3a Merge branch 'slider' into 'master'
Make the light distance slider de/increment by 128

Closes #6052

See merge request OpenMW/openmw!904
4 years ago
Dobrohotov Alexei f12a52c603 Make the light distance slider de/increment by 128 4 years ago
Thunderforge 4a15868c0e Moving Lighting Method from Advanced -> Visuals to Graphics -> Lighting
The plan is to add additional options to this new tab, and since it's of similar status as the Shaders settings, it makes sense to put them next to them on the Graphics page.
4 years ago
psi29a 4bc7012104 Merge branch 'pack-default-settings' into 'master'
Pack default settings

Closes #5925

See merge request OpenMW/openmw!822
4 years ago
psi29a a8898a3d4c Merge branch 'remove_extra_box' into 'master'
[Launcher] Removing extra box surrounding all main content

See merge request OpenMW/openmw!832
4 years ago
psi29a fd89582e0c Merge branch 'navmesh_wait' into 'master'
Wait until navmesh is generated within given distance around player (#5500)

Closes #5500

See merge request OpenMW/openmw!819
4 years ago
Andrei Kortunov 49a744b65a Make groundcover to use rendering distance in units instead of cells 4 years ago
Andrei Kortunov 08f30e6f50 Temporary increase default near clip distance, until reverse-z depth buffer is implemented 4 years ago
Thunderforge ad6cc6e775 Grouping settings on Advanced -> Visuals
Since we'll be adding additional settings in the near future and the list is already getting very long, I figured I would group these like we do on the "Miscellaneous" tab.
4 years ago
AnyOldName3 92325976e9 Update documentation to refer to defaults.bin 4 years ago
Thunderforge b86356fe13 [Launcher] Removing extra box surrounding all main content
Previously, all main content was in a single box, separated from the bottom containing the version and Help/Close/Play buttons. For pages that already had boxes, that meant there were were boxes within boxes and this looked visually cluttered.

I've removed the box to reduce the amount of visual clutter and added a horizontal line so that the content is still separated from the bottom content.
4 years ago
elsid 7a51d0db18
Wait until navmesh is generated within given distance around player
Add a setting to change this distance.

To prevent situations when there is not enough navmesh generated and actors
can't find path correctly.
4 years ago
psi29a 9b0802f290 Merge branch 'launcher-tooltip-fix' into 'master'
Minor fix in launcher's advanced settings tab

See merge request OpenMW/openmw!754
4 years ago
tess ad7aff4cee Minor fix in launcher's advanced settings tab 4 years ago
elsid ec87b3f8f7
Remove redundant ChunkyTriMesh
This AABB tree required when need to filter out input mesh that has not
influence navmesh tile output. This filtering is already done before. Each
recast mesh corresponds to a single navmesh tile and has appropriate bounds.
4 years ago
Dobrohotov Alexei ad5ee1aa1c Don't flip NV PPL shader Y axis erroneously 4 years ago
glassmancody.info c48eee4eee Clamp vertex lighting before interpolation
Fixes a regression in which pass lighting was clamped after being passed
to fragment shader. For correct FFP emulation, we need to clamp the result
in vertex shader. When clamping after interpolation, negative lights in
particular have a much more drastic effect.
4 years ago
AnyOldName3 ce3ed28403 Control stomping via settings. 4 years ago
AnyOldName3 87ce1a7351 Explain stomp constants 4 years ago
AnyOldName3 a81dfe9ccc MGE XE-like stomping 4 years ago
AnyOldName3 1737f737df Don't use a vec3 if only two components get read 4 years ago
psi29a 4e3f338826 Now that the lighting issue has been fixed, we can now enable active grid by default (which is guarded by distant land). 4 years ago
psi29a d0883f9a0d Merge branch 'light_settings_tweak' into 'master'
Lighting patch

Closes #5957 and #5959

See merge request OpenMW/openmw!752
4 years ago
glassmancody.info 16856d45c5 Lighting Patch
Fixes build errors with older OSG builds and some issues with 'shared' layout.
Bring back ambient in inventory through lightmodel instead of sun ambient, mirrors scene ambient/sunlight relationship.
Forces shaders when certain lighting methods are enabled and finalize settings.
Correctly override sun for localmap.
4 years ago
Andrei Kortunov 33b8233887 Validate GUI scaling and place it to the launcher 4 years ago
psi29a f1cfdafd4d Merge branch 'why_are_the_christmas_lights_still_up' into 'master'
Remove 8 light limit and add configurable lighting enhancements

See merge request OpenMW/openmw!618
4 years ago
glassmancody.info 531a6e1979 Code review fixes, remove implicit GLSL casts 4 years ago
glassmancody.info 582f7b52cf Merge remote-tracking branch 'upstream/master' into why_are_the_christmas_lights_still_up 4 years ago
glassmancody.info 92033bca64 Fixed error in calculating viewspace sun dir, minor cleanup 4 years ago
glassmancody.info 9e80091aff clear up force shaders and make it less convoluted 4 years ago
glassmancody.info d4e7d25d14 Make life not suck for whoever wants to edit lighting shaders 4 years ago
glassmancody.info eecb9886a9 Shader cleanup, fix indicies 4 years ago
glassmancody.info 4ba473b684 Finalize settings, torch fix 4 years ago
glassmancody.info 71c30a31df in-game settings, some require restart 4 years ago
glassmancody.info 3d713e8602 Fix incorrect minimum ambient 4 years ago
glassmancody.info 280fd2b162 Merge remote-tracking branch 'upstream/master' into why_are_the_christmas_lights_still_up 4 years ago
glassmancody.info 71f7f30c0b Don't break NV shaders 4 years ago
glassmancody.info d195602a9d Switch to shared layout, some rewording 4 years ago
glassmancody.info cc31e1eea1 Ambient luminance threshold setting 4 years ago
glassmancody.info 690995988b More formatting, OpenCS cells are unbroken 4 years ago
glassmancody.info 08b5681284 Missed redundant formatting changes 4 years ago
glassmancody.info 328ec85757 Code review cleanup, add setting documentation 4 years ago
glassmancody.info 24454a1698 Switch to integer, uint not reliable in GLSL 120 4 years ago
glassmancody.info ec27e60284 Cutoff conditional in light shader 4 years ago
glassmancody.info 05a5cee132 Brighter point lights and light fade 4 years ago
glassmancody.info 7370acdf54 Merge remote-tracking branch 'upstream/master' into why_are_the_christmas_lights_still_up 4 years ago
glassmancody.info 43ac32921c Rewrite, support different lighting methods 4 years ago
glassmancody.info 9d9074c244 Add shared UBO 4 years ago
glassmancody.info dda735c54a initial commit 4 years ago
elsid 634556be9d
Add setting to allow following creatures to find path over water surface 4 years ago
psi29a 484c46cb58 Merge branch 'hrtf-setting' into 'master'
Add Audio settings to openmw-launcher

See merge request OpenMW/openmw!692
4 years ago
Simon Meulenbeek 75b4871bab Add Audio settings to openmw-launcher 4 years ago