Search found 83 matches

by urm
26 Mar 2023, 22:01
Forum: General Development
Topic: Lua API for VR
Replies: 10
Views: 2807

Re: Lua API for VR

> Currently openmw-vr Lua only has one use-case for sub-actions, the pointeractive action What pointer actions are there? Is it just the activate , as in the actual visible pointer? Or anything else? > Sadly, i don't think a single VR runtime (not even steamvr) have offered such a framework for Open...
by urm
22 Mar 2023, 21:37
Forum: General Development
Topic: Lua API for VR
Replies: 10
Views: 2807

Re: Lua API for VR

Input Actions and sub-actions I have an ongoing MR for an extendable input action API, it will be easy to add the VR actions with that https://gitlab.com/OpenMW/openmw/-/merge_requests/2628 > The most limiting feature is that bindings cannot be modified after initial setup What if we implement the ...
by urm
30 May 2022, 13:01
Forum: Support
Topic: 40 FPS on an RTX 3080
Replies: 3
Views: 1424

Re: 40 FPS on an RTX 3080

Could you verify that the game is using your 3080, and not an integrated GPU? Judging by the graph, you are GPU limited, but that's almost impossible to actually achieve on 3080, OpenMW is very CPU limited. And at that point you should definitely have more than 60 fps, unless you are rendering at 8k...
by urm
06 Aug 2021, 09:47
Forum: General Development
Topic: Postprocessing: For real
Replies: 21
Views: 17111

Re: Postprocessing: For real

wazabear wrote: 05 Aug 2021, 19:04 but initially I think a polling of last modification time will be more then sufficient.
For Lua scripts we just have a "reloadlua" console command, would something similar not suffice for post processing?
by urm
01 Aug 2021, 11:09
Forum: General Development
Topic: Lua API for GUI
Replies: 30
Views: 25369

Re: Lua API for GUI

Status update: I've thought more about the before mentioned positioning issue, and I don't see any way to make it work without handling it on per-widget basis. It is not actually that much work, as most of the widgets which change position/size of themselves or other widgets have been added by OpenM...
by urm
23 Jul 2021, 17:30
Forum: General Development
Topic: Lua API for GUI
Replies: 30
Views: 25369

Re: Lua API for GUI

Daaaamn that's so useless then, thought it was a property of the widgets. I've implemented a different relative positioning system https://gitlab.com/uramer/openmw/-/commit/fc9153b980ba3eb5eefad3c7b9fca4c00e45704e I'm not sure this approach will work however, since currently it doesn't interact wit...
by urm
02 Jul 2021, 22:19
Forum: General Development
Topic: Lua API for GUI
Replies: 30
Views: 25369

Re: Lua API for GUI

So we either need some approach for running some Lua code in the main thread, simultaneously with MyGUI, or restrict creating widgets to C++. I'm leaning towards the latter, I think we can provide all the necessary widgets ourselves. However that is assuming this is the only issue caused by multipl...
by urm
02 Jul 2021, 08:26
Forum: General Development
Topic: Lua API for GUI
Replies: 30
Views: 25369

Re: Lua API for GUI

I don't see any built-in way to make a widget's width 30% of its parent's. That's what position_real is for, to get 30% width and 100% height you'd do this. position_real="0 0 0.3 1" Forgot to write an update on this. I've tried real position, and it's not great. The main issue is that it...
by urm
01 Jul 2021, 12:36
Forum: General Development
Topic: Lua API for GUI
Replies: 30
Views: 25369

Re: Lua API for GUI

I've considered custom widgets written in Lua more, and realized that they wouldn't be useful unless they run on the main (UI) thread. Even if we accept a one-frame delay on UI functionality, we could have delays of arbitrary amount of frames if multiple custom widgets are nested. That is because on...
by urm
20 May 2021, 21:03
Forum: General Development
Topic: Lua API for GUI
Replies: 30
Views: 25369

Re: Lua API for GUI

I don't see any built-in way to make a widget's width 30% of its parent's. That's what position_real is for, to get 30% width and 100% height you'd do this. position_real="0 0 0.3 1" I see, it's just yes another MyGUI feature which has a nonsensical name and isn't documented :) Will try i...