Commit Graph

363 Commits

Author SHA1 Message Date
Matjaž Lamut 2d4d28fb8e Documentation how to get an Animated creature in OpenMW 2022-02-13 15:30:21 +00:00
Alexei Dobrohotov 4502569660 Clarify stretch menu background documentation (#5880) 2022-02-12 18:33:18 +03:00
psi29a 0ce338bee7 Merge branch 'rain_ripple_default' into 'master'
Set rain ripples default to sparse

Closes #6422

See merge request OpenMW/openmw!1631
2022-02-08 13:54:10 +00:00
uramer 643c1d6aeb Merge branch 'lua_ai' into 'master'
Control AI packages from Lua

See merge request OpenMW/openmw!1604
2022-02-06 22:43:48 +00:00
Evil Eye 7a7a95407a Merge branch 'lua_pairs' into 'master'
Proper support of `pairs` and `ipairs` in Lua; fix bug in `makeReadOnly`.

See merge request OpenMW/openmw!1628
2022-02-06 22:10:21 +00:00
Petr Mikheev a294adcdaf Proper support of `pairs` and `ipairs` in Lua; fix bug in `makeReadOnly`. 2022-02-06 22:10:20 +00:00
uramer 581c3f4882 Update and document Lua Text and TextEdit widget types, fix some issues with Lua UI 2022-02-06 20:22:38 +00:00
Abdu Sharif 60aa57c8d8 Update water.rst 2022-02-06 18:18:20 +00:00
Petr Mikheev 6c56436809 Control AI packages from Lua 2022-02-06 15:01:51 +01:00
Petr Mikheev 47c37e5849 Lua command `object:activateBy(actor)` and handler `onActivate` 2022-02-01 23:42:56 +00:00
Petr Mikheev ec4adcc5a2 Add better explanation of the `onLoad` engine handler. 2022-01-30 20:27:37 +00:00
Petr Mikheev 53f2dfd1c0 Merge branch 'lua_ui_templates' into 'master'
Lua UI templates

See merge request OpenMW/openmw!1475
2022-01-28 09:31:46 +00:00
uramer 960dd1f708 Lua UI templates 2022-01-28 09:31:45 +00:00
uramer 40a2280261 Update documentation regarding gyroscope 2022-01-24 16:26:24 +01:00
Petr Mikheev a182fdeea1 Permanent storage for Lua data 2022-01-11 11:21:03 +01:00
psi29a 781b014183 Merge branch 'toggable_daynightswitch' into 'master'
Toggable day night switch (#5928)

Closes #5928

See merge request OpenMW/openmw!1549
2022-01-11 09:34:19 +00:00
Cody Glassman 8ec0a52605 Toggable day night switch (#5928) 2022-01-11 09:34:19 +00:00
Petr Mikheev 9fd7630ca0 Add calendar.lua 2022-01-10 21:04:07 +01:00
Petr Mikheev 2d1b100239 Change terminology of gameSecond/gameHour to simulationTime/gameTime 2022-01-10 21:03:35 +01:00
psi29a d8d7a3b372 Merge branch 'softparticles_patch' into 'master'
Shadervisitor adjustments and Mac OS fix for soft particles

See merge request OpenMW/openmw!1380
2022-01-06 13:13:52 +00:00
Petr Mikheev 0f246e7365 Use a separate instance of Lua i18n for every context 2022-01-02 09:58:51 +01:00
Matjaž Lamut 58697d98b2 Fix links in the collada documentation. Exporter now points to OpenMW's official repo and the example suite link now points to the actual place it needs to. 2021-12-24 18:16:34 +00:00
psi29a ef60f2d191 Merge branch 'doc-static-models' into 'master'
Documentation: how to get a static model from Blender to OpenMW.

See merge request OpenMW/openmw!1496
2021-12-20 23:23:12 +00:00
Matjaž Lamut c0d0972379 Some more tweaks and hook up the .rst file so it will show everything properly once on readthedocs. 2021-12-20 20:20:56 +00:00
Matjaž Lamut 02ef6c858d Tutorial on how to get a static model from Blender to OpenMW. The existing article on Blender-OpenMW pipeline via COLLADA will be split into more in-depth articles for static and animated models respectively. 2021-12-19 21:27:00 +00:00
uramer c865114b9b Lua UI Layers 2021-12-14 17:38:06 +00:00
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.
2021-12-11 00:22:04 +01:00
elsid c9b8ba7b46
Read navmesh tile data from database
When tile is not found in memory cache try to find it in the database.
2021-12-11 00:22:04 +01:00
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.
2021-12-11 00:21:56 +01:00
elsid 01c712d5f1
Split navigator settings into subtypes
Mostly to distinguish settings that affect properties of the generated navmesh.
2021-12-10 23:55:03 +01:00
uramer e65c946452 Add a data field to Lua UI layouts 2021-12-02 21:52:29 +00:00
uramer 4a976a8e23 Use a setting to enable Lua Action tracebacks 2021-11-22 19:39:47 +00:00
glassmancody.info 9389cfaa42 mac os driver workaround and shadervisitor fixes 2021-11-20 18:39:20 -08:00
Petr Mikheev 73821ace94 Update Lua docs 2021-11-19 20:37:21 +01:00
Petr Mikheev e56ee2c735 Apply lua handlers for user input in the main thread in order to reduce latency. 2021-11-19 20:37:21 +01:00
uramer 68963538ae Lua UI API 2021-11-18 15:19:54 +00:00
psi29a 68e7a4083e Merge branch 'master' into 'master'
Overhaul raindrop water ripple effect

Closes #6360

See merge request OpenMW/openmw!1316
2021-11-13 21:44:25 +00:00
Alexei Dobrohotov b918135b4b Factor race weight into magic projectile speed (bug #6343) 2021-11-13 17:33:32 +03:00
psi29a 5836d0225f Merge branch 'leave_butter_to_soften' into 'master'
Soft Particles (#6128)

See merge request OpenMW/openmw!980
2021-11-09 14:16:47 +00:00
wareya 6d98866be0 Merge remote-tracking branch 'upstream/master' 2021-11-06 11:44:12 -04:00
Petr Mikheev ae84a0c9d5 Fix most of reStructuredText warnings 2021-11-04 23:21:58 +01:00
glassmancody.info 4461366761 settings update and launcher option 2021-11-01 09:26:50 -07:00
wareya 4f10d5d544 update docs 2021-10-31 16:15:25 -04:00
glassmancody.info 8c3b00164e soft particles 2021-10-30 12:19:31 -07:00
Petr Mikheev dd96eba2b0 Update OpenMW Lua docs 2021-10-26 21:52:42 +02:00
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
Hristos N. Triantafillou bec04c6613
Unbreak the formatting broken by !1208 2021-09-29 11:13:54 -05:00
Cédric Mocquillon 080c909c28 Merge the 'debug chunks' and 'object paging debug batches' settings into a single one 2021-09-11 21:53:05 +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
Hristos N. Triantafillou dc623597b4
This is the right path for saves 2021-09-08 19:19:40 -05: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 cad0b151cb enable shaders path and dehardcode depth formats 2021-08-04 17:39:11 -07:00
Petr Mikheev 3e4c0b775d Add Lua package 'openmw.settings' 2021-07-27 20:06:04 +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
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 85c441ec9a Refactoring and minor fixes related to active/inactive object state 2021-07-09 20:48:54 +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 d5cda61855 Console command "reload lua" 2021-07-09 20:24:56 +02:00
uramer 8facf2952a Documentation for lua package 'openmw.query' 2021-07-09 20:24:56 +02:00
Petr Mikheev 9746800eed Documentation for Lua scripting 2021-07-09 20:24:56 +02:00
elsid 4259f7f230
Add setting to enable/disabled notification for saved screenshots 2021-07-08 21:14:01 +02:00
Matjaž Lamut a582013e95 Initial page to document the Template. Mainly deals with how to install it.... 2021-06-19 12:08:57 +00: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
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
2021-05-13 16:56:39 +00:00
Andrei Kortunov 49a744b65a Make groundcover to use rendering distance in units instead of cells 2021-05-12 09:29:25 +04:00
Andrei Kortunov 08f30e6f50 Temporary increase default near clip distance, until reverse-z depth buffer is implemented 2021-05-11 21:41:29 +04:00
AnyOldName3 92325976e9 Update documentation to refer to defaults.bin 2021-05-09 21:13:34 +01:00
Joakim Berg 60649792ba Add information about DX format being used in normal maps 2021-05-07 12:29:06 +00:00
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.
2021-05-05 19:44:16 +02:00
psi29a 440a6ff45b Merge branch 'dehardcoded-settings-docs' into 'master'
Document the new settings entries under [Models] section, used for dehardcoded mesh paths.

See merge request OpenMW/openmw!764
2021-05-04 22:49:35 +00:00
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.
2021-05-04 13:00:06 +02:00
psi29a d95cd985a4 Merge branch 'fix_settings_doc' into 'master'
Fix default object paging active grid value in the doc

See merge request OpenMW/openmw!797
2021-05-01 23:36:29 +00:00
elsid 43b19c4a46
Fix default object paging active grid value in the doc 2021-05-01 14:42:40 +02:00
Matjaž Lamut 5a238f3c80 Documentation on what the sky system in Morrowind / OpenMW is composed of 2021-04-30 23:01:11 +00:00
Lamoot cbfaab51e7 Mention and link settings for dehardcoded models in index page of custom models section. 2021-04-19 21:21:53 +02:00
Lamoot 55416a57ef Document the newly added settings under [Models] section, used for dehardcoded mesh paths. 2021-04-19 20:11:13 +02:00
psi29a f3354c509e Merge branch 'stomp' into 'master'
Adjustable Stomp

See merge request OpenMW/openmw!575
2021-04-18 21:35:37 +00:00
AnyOldName3 ce3ed28403 Control stomping via settings. 2021-04-18 21:44:23 +01:00
Lamoot 4d4fc5ed0b Finish the section on materials setup. 2021-04-18 21:28:44 +02:00
Matjaž Lamut 8b40128559 Finish the section on how to set up collision shapes in Blender. 2021-04-18 15:14:36 +00:00
Lamoot ee2bcff694 Various improvements to the COLLADA format asset pipeline page. Added images. Added more information on how to define textkeys. Always use all capitals for the COLLADA format name. Barebones subsections for materials and collisions. 2021-04-18 15:52:11 +02:00
Andrei Kortunov 57b501ad13
Merge pull request #3067 from akortunov/master
Limit pointers cache size to avoid possible bad_alloc errors
2021-04-17 10:31:47 +04:00
psi29a d0883f9a0d Merge branch 'light_settings_tweak' into 'master'
Lighting patch

Closes #5957 and #5959

See merge request OpenMW/openmw!752
2021-04-16 19:47:26 +00:00
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.
2021-04-16 11:55:40 -07:00
Andrei Kortunov 5de72c94ab Limit pointers cache size to avoid possible bad_alloc errors 2021-04-16 08:10:31 +04:00
Andrei Kortunov 33b8233887 Validate GUI scaling and place it to the launcher 2021-04-15 15:18:32 +04:00
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
2021-04-13 19:15:08 +00:00
glassmancody.info 531a6e1979 Code review fixes, remove implicit GLSL casts 2021-04-13 11:09:54 -07:00
glassmancody.info 582f7b52cf Merge remote-tracking branch 'upstream/master' into why_are_the_christmas_lights_still_up 2021-04-13 11:09:52 -07:00
glassmancody.info 9e80091aff clear up force shaders and make it less convoluted 2021-04-13 11:09:49 -07:00
glassmancody.info 71c30a31df in-game settings, some require restart 2021-04-13 11:09:49 -07:00
glassmancody.info 3d713e8602 Fix incorrect minimum ambient 2021-04-13 11:09:49 -07:00
glassmancody.info cc31e1eea1 Ambient luminance threshold setting 2021-04-13 11:09:35 -07:00
glassmancody.info 690995988b More formatting, OpenCS cells are unbroken 2021-04-13 11:09:35 -07:00
glassmancody.info 142c6d2993 Enable groundcover lighting for non FFP 2021-04-13 11:09:35 -07:00