Commit Graph

1709 Commits

Author SHA1 Message Date
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.
2021-10-11 19:41:43 +02:00
psi29a c3f5e8f968 Merge branch 'lua_transform' into 'master'
3D transforms in Lua

See merge request OpenMW/openmw!1235
2021-10-06 09:21:21 +00:00
Bret Curtis e581b61ecb check if FORCE_OPAQUE is available before using it. 2021-10-06 08:05:10 +02:00
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.
2021-10-05 14:37:08 +02:00
Petr Mikheev 48538d5cef 3D transforms in Lua 2021-09-28 20:37:47 +02:00
Petr Mikheev fb3917fc1a Lua callbacks 2021-09-28 09:36:23 +02:00
Petr Mikheev 0bd1c22e24 Raycasting in Lua 2021-09-28 09:36:23 +02:00
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
2021-09-28 08:25:12 +02:00
Cédric Mocquillon 98a0819d52 Debug terrain chunks 2021-09-11 21:53:04 +02:00
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]
2021-09-09 23:10:22 +02:00
Petr Mikheev 3771e523f1 More object bindings 2021-08-21 17:18:11 +02:00
Petr Mikheev 0e6fbbc126 Lua package 'openmw.input' 2021-08-10 19:00:52 +03:00
Cédric Mocquillon b0e30e4bb6 Change setting to clamp the local viewing distance to fix value (instead of coeff) 2021-08-09 19:43:34 +02:00
glassmancody.info 81267e7be7 add missing centroid to debug vertex shaders 2021-08-07 18:04:11 -07:00
glassmancody.info 09e03fde2e refactor and fix wobbly shores 2021-08-04 17:49:57 -07:00
glassmancody.info cad0b151cb enable shaders path and dehardcode depth formats 2021-08-04 17:39:11 -07:00
glassmancody.info 70fac33940 initial reverse-z depth implementation 2021-08-04 17:39:11 -07:00
Petr Mikheev a94072243b Lua command `core.quit` 2021-08-04 19:14:24 +03:00
Petr Mikheev 0f7f5ce140 Remove Lua command "self:setDirectControl" 2021-08-03 14:36:51 +03:00
glassmancody.info 0b9b724020 correct reflection label for in-game settings menu 2021-08-01 18:19:39 -07:00
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
2021-07-30 12:14:22 +00:00
Matjaž Lamut 05d349e4a7 Source svg file used to generate OpenMW-CS icons. 2021-07-30 12:14:21 +00:00
psi29a c5d49b44ba Merge branch 'lua_settings' into 'master'
Add Lua package 'openmw.settings'

See merge request OpenMW/openmw!1017
2021-07-30 10:47:15 +00:00
Alexei Dobrohotov 9834fd51af Address shader issues pointed out by AnyOldName3 2021-07-29 22:28:05 +03:00
Alexei Dobrohotov 11694ba87f Correct dark map and detail map alpha handling
Comment texenv usage in NIF loader
2021-07-29 04:48:59 +03:00
Petr Mikheev 2938aaf05c Rename `API_VERSION` -> `API_REVISION` in Lua API. 2021-07-27 20:06:04 +02:00
Petr Mikheev 3e4c0b775d Add Lua package 'openmw.settings' 2021-07-27 20:06:04 +02:00
psi29a 6949dd89c2 Merge branch 'gui_shaders' into 'master'
Add shader path for mygui (#6162)

See merge request OpenMW/openmw!1019
2021-07-25 21:37:39 +00:00
psi29a a7881b9196 Merge branch 'wobblywater' into 'master'
Wobbly Water: make shorelines wavy when refraction is enabled

See merge request OpenMW/openmw!673
2021-07-25 21:35:52 +00:00
Cédric Mocquillon 1051745f29 [Launcher] Add new setting 'allow zooming' to advanced tab in the launcher 2021-07-25 14:17:10 +02:00
CedricMocquillon 8c87defddf [Local map] Use the distance view in the local map 2021-07-25 14:17:08 +02:00
Cédric Mocquillon 3373afcc83 [Settings] Set values 2021-07-25 14:17:07 +02:00
Abdu Sharif 216d91837f Fix #6174 2021-07-25 07:20:00 +00:00
glassmancody.info e8c6f31e0c add shader path for mygui (#6162) 2021-07-22 15:55:30 -07:00
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
2021-07-11 17:07:39 +02:00
Petr Mikheev 25cc884c17 Integrate Lua doc into sphinx doc (issue #5931) 2021-07-09 20:48:54 +02:00
Petr Mikheev 4eb5841c60 Update OpenMW Lua documentation 2021-07-09 20:48:54 +02:00
Petr Mikheev 403d31313c New setting "lua num threads". Thread syncronization is changed from std:🧵:yield to std::condition_variable. 2021-07-09 20:48:54 +02:00
Petr Mikheev 7087eb1a4e Add built-in Lua library 'openmw_aux' that extends OpenMW Lua API 2021-07-09 20:48:54 +02:00
Petr Mikheev b432a1a1c1 Add a directory for builtin lua scripts. Dehardcoded game mechanics are supposed to live there. 2021-07-09 20:03:27 +02:00
elsid 4259f7f230
Add setting to enable/disabled notification for saved screenshots 2021-07-08 21:14:01 +02:00
Evil Eye eced6f2126 Implement the help command 2021-07-07 18:48:25 +02:00
AnyOldName3 84a9facedf Disable coverage adjustment for blended objects 2021-07-04 23:29:22 +01:00
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
2021-06-19 00:20:29 +00:00
psi29a 9058fa9f60 Merge branch 'fix_launcher_ui' into 'master'
Make launcher Advanced/Visuals tab look more like other

See merge request OpenMW/openmw!908
2021-05-30 11:53:18 +02:00
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.
2021-05-29 16:17:30 -05:00
psi29a 05c5688e3a Merge branch 'slider' into 'master'
Make the light distance slider de/increment by 128

Closes #6052

See merge request OpenMW/openmw!904
2021-05-23 23:59:54 +00:00
Dobrohotov Alexei f12a52c603 Make the light distance slider de/increment by 128 2021-05-24 01:57:08 +03:00
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.
2021-05-18 18:05:54 -05:00
psi29a 4bc7012104 Merge branch 'pack-default-settings' into 'master'
Pack default settings

Closes #5925

See merge request OpenMW/openmw!822
2021-05-18 08:11:13 +00:00