Mads Buvik Sandvei
410e8b100a
Elsid comments
2023-05-23 19:30:29 +02:00
psi29a
87b15c22f3
Merge branch 'fixcolladaregression' into 'master'
...
Fix regression with Collada-animated creatures
See merge request OpenMW/openmw!2882
2023-05-23 08:30:02 +00:00
Nelsson Huotari
4abd47f430
Fix regression with Collada-animated creatures
2023-05-23 08:30:02 +00:00
psi29a
a61f955e9f
Merge branch 'case.ext' into 'master'
...
Fix a regression and use more starts_with and ends_with
See merge request OpenMW/openmw!3051
2023-05-23 08:18:41 +00:00
Evil Eye
9728024978
Replace compare with more idiomatic methods
2023-05-22 19:51:27 +02:00
elsid
bb1d040ac8
Use settings values for Cells settings
2023-05-22 17:36:23 +02:00
elsid
5d5e6844d1
Use settings values for Camera settings
2023-05-20 22:23:09 +02:00
glassmancody.info
06676fd623
lua - fix bounding box in active grid
2023-05-19 14:29:01 -07:00
florent.teppe
a3bd6e7e47
ESM::ExteriorCellIndex => ESM::ExteriorCellLocation
2023-05-12 22:05:55 +02:00
florent.teppe
75561abfca
Factorises code and fixes preload bug.
2023-05-12 22:05:54 +02:00
florent.teppe
141878f30d
int x, int y , ESM::RefId worldspace => ESM::ExteriorCellIndex
...
also removed the changeToExteriorCell that only took a position as input, didn't work with esm4.
2023-05-12 22:05:53 +02:00
florent.teppe
d8a782425b
can actually load and teleport to esm4 exterior spaces
2023-05-12 22:05:53 +02:00
elsid
aa9fb33a18
Update cell local map on different neighbour cells
...
Save which neighbour cells were active when local map for a cell is rendered.
Update when intersection of currently loaded cells is different from stored. If
map was rendered when all neighbours were loaded no more updates will happen.
2023-05-11 10:41:15 +02:00
elsid
f7ebd9b9b4
Avoid old C-style cast
2023-05-11 10:27:33 +02:00
elsid
fd249b46c0
Remove redundant member function
...
mActive is public.
2023-05-11 10:27:33 +02:00
elsid
b2f7fc70a6
Remove redundant MapSegment constructor and destructor
2023-05-11 10:27:32 +02:00
elsid
d927aaad14
Avoid redundant getCell()->getGrid* calls
2023-05-11 10:26:41 +02:00
elsid
1324256440
Avoid redundant lookup
2023-05-11 10:26:39 +02:00
elsid
624ffef4fe
Reduce block nesting
2023-05-11 10:26:18 +02:00
AnyOldName3
61712168c6
Make things less readable to appease authoritarian line length limit
2023-04-30 02:05:35 +01:00
AnyOldName3
ab625804ab
Skip adjusting near and far planes for instances that won't affect it
2023-04-30 01:58:43 +01:00
AnyOldName3
f0fcb5e5df
Compute instance matrices once
2023-04-30 00:41:09 +01:00
AnyOldName3
f2fa607f41
Use chunk-relative position
...
Also apply .clang-format
2023-04-24 22:39:18 +01:00
AnyOldName3
f721be90aa
Swap matrix order
...
It still doesn't work, but I think this is more likely to be right.
2023-04-24 22:07:46 +01:00
AnyOldName3
42711089e7
Minor fixes
...
Add CullVisitor include.
Swap return values of cull callback.
2023-04-23 17:40:19 +01:00
AnyOldName3
43eb739313
Maybe compute an accurate near and far plane using primitives for groundcover
...
I couldn't reproduce the original bug, so can't verify whether this
fixes it.
There's a strong chance I've boffed the matrix multiplication order.
If it's the same as GLSL, then everything *should* be fine.
2023-04-23 00:15:45 +01:00
Mads Buvik Sandvei
fe066069d7
/components/ code should not access the stereo manager without checking whether or not stereo is enabled first. Stereo component code should not read settings itself, but rather take settings as parameters.
2023-04-22 16:11:42 +02:00
Petr Mikheev
f1beaa7b8c
Put ESMStore to Environment
2023-04-20 21:45:49 +02:00
Petr Mikheev
f09a689a4f
Merge ESM::RefNum and ESM4::FormId
2023-04-09 00:23:32 +02:00
psi29a
b0a129d6e4
Merge branch 'ripples' into 'master'
...
Implement shader-based water ripples
See merge request OpenMW/openmw!2877
2023-04-02 22:43:22 +00:00
Andrei Kortunov
646148dfc8
Use GL_HALF_FLOAT because we use GL_RGBA16F
2023-04-02 14:19:44 +04:00
Mads Buvik Sandvei
e666f36b60
[Multiview] Fix transparent pass and vertex shader
2023-04-01 20:27:07 +00:00
Andrei Kortunov
e17281ac67
Implement shader-based water ripples (feature 3537)
2023-04-01 17:26:19 +04:00
Evil Eye
99ab08eaef
Rotate blizzard particles
2023-03-30 19:20:00 +02:00
elsid
04d7781424
Support not only StringRefId for checking first person body part
2023-03-19 17:49:41 +01:00
Shi Han
a90e3b8c3b
Move from std::atoi to std::from_char
2023-03-18 09:30:48 +00:00
psi29a
e37860c1dc
Cherry pick 'openmw-48-stereo-fixes' into 'master'
...
Openmw 48 stereo fixes
See merge request OpenMW/openmw!2815
2023-03-12 22:20:23 +01:00
Petr Mikheev
e007dc9d6b
Log reserving texture units
2023-03-04 00:55:34 +01:00
elsid
dfcea389be
Add helper functions for string comparison to RefId
2023-03-03 00:39:55 +01:00
Alexei Dobrohotov
6aef366fd3
Attach shaders to geometry that lacks a stateset if necessary
2023-02-28 20:13:16 +03:00
Cody Glassman
924ba11826
Default shader at root
...
Assign a default shader to the scene root, otherwise objects without an assigned shader will use the FFP. An example of this is a trishape with no material, resulting in an empty stateset on the drawable level.
2023-02-26 09:32:25 -08:00
psi29a
2aac6abb85
Merge branch 'sun_writes' into 'master'
...
Sun flickering on Mac (part of #7052 )
See merge request OpenMW/openmw!2768
2023-02-26 15:32:07 +00:00
Cody Glassman
fb5979312f
fix sunglare flash, make sure all bound render targets have color masks set
2023-02-25 15:14:01 -08:00
Cody Glassman
ac4787aeec
shade refactor
2023-02-25 11:03:39 -08:00
Petr Mikheev
0c3237ad78
Fix #7223
2023-02-18 16:24:10 +01:00
elsid
2c43a8558a
Add option to disable debug log for unsupported nif files
...
It becomes quite extensive and not very useful when loading oblivion content
files.
2023-02-08 22:59:29 +01:00
florent.teppe
486d15b19e
moved light common to its own file
...
moved esm4light to it's own file
2023-02-07 16:29:17 +01:00
florent.teppe
dc961e3189
Adds the light into the scene.
...
Common struct for ESM3 and ESM4 light
2023-02-07 10:07:59 +01:00
psi29a
4032c447e9
Merge branch 'load-ESM4-Cell' into 'master'
...
Can load and coc into an interrior oblivion cell
See merge request OpenMW/openmw!2647
2023-02-06 08:56:23 +00:00
glassmancody.info
e778ffee9b
po2 scaling for average luminance
2023-02-05 12:30:38 -08:00