Alexei Kotov
5433ecf861
Change default depth test mode to <= ( #7040 )
2024-11-23 08:32:25 +03:00
Alexei Kotov
b71ec84004
Sprinkle const-correctness in NifLoader
2024-10-30 17:10:08 +03:00
Alexei Kotov
964dafd42c
Share texture type attributes
2024-10-29 12:48:54 +03:00
elsid
1fd6ac6438
Use normalized path in ImageManager
2024-09-17 00:49:57 +02:00
Sam Hellawell
13e1df3bf0
Grammar cleanup, code cleanup, reduce logging, revert mRotation change
2024-07-19 00:04:16 +01:00
Max Yari
55ffb6d7d2
Animation blending implementation for NIF and osgAnimation through YAML files
...
Signed-off-by: Sam Hellawell <sshellawell@gmail.com>
2024-07-19 00:04:15 +01:00
Alexei Kotov
162ac6a75e
Avoid copying shader material shared_ptr in NifLoader
2024-06-22 14:34:09 +03:00
Alexei Kotov
4f8856f887
Don't let the optimizer mess with collision switch nodes (again)
2024-06-13 22:24:40 +03:00
Alexei Kotov
84f4ba4ca1
Support defining the texture type with a state attribute ( #6240 )
...
Named textures are still supported for easier native format compatibility (and so that I don't have to edit the documentation)
2024-05-18 23:11:20 +03:00
Alexei Kotov
c29ceb7f7f
Unbork glow maps
2024-05-06 23:32:35 +03:00
Alexei Kotov
7f13f6a4e9
Use osg::Fog::compare in NifOsg::Fog::compare
2024-04-25 03:09:04 +03:00
Alexei Kotov
745be2e91b
Implement NifOsg::Fog::compare()
2024-04-24 01:45:09 +03:00
Alexei Kotov
a513049129
Adjust drawable property state changes
...
Reset shininess and specular strength when specular lighting is supposed to be disabled
Don't add the material redundantly if a sorter is pushed
Don't discard non-default emissive and specular multipliers if there's no sorter or material
2024-04-24 00:40:54 +03:00
Alexei Kotov
713e741f9c
Share fog state attributes
2024-04-23 23:53:34 +03:00
Alexei Kotov
d7bd5e76ca
Move wrapping flag handling to relevant properties
2024-04-23 23:40:14 +03:00
Alexei Kotov
77c3cd4467
More BGSM cleanup
2024-04-20 19:43:42 +03:00
Alexei Kotov
ea5e101821
Handle glow maps for BGSM files
2024-04-20 19:43:42 +03:00
Alexei Kotov
8325e100df
More decal deduplication
2024-04-20 19:43:42 +03:00
Alexei Kotov
5789eb73b1
Deduplicate decal and alpha handling in NifLoader
2024-04-20 19:43:42 +03:00
Alexei Kotov
4ccf9c1917
Deduplicate NifLoader texture attachment
...
Handle non-existent shader materials more gracefully
Deduplicate shader material drawable property handling
2024-04-20 19:43:42 +03:00
Alexei Kotov
e680123482
NifLoader: Make the image manager a member
2024-04-20 19:43:42 +03:00
Alexei Kotov
8997bd6854
Apply shader material transparency parameters, get rid of unwanted shiny
2024-04-20 19:43:42 +03:00
Alexei Kotov
1d65aaee71
Formatting
2024-04-20 19:43:42 +03:00
Alexei Kotov
96f5ae5a8d
Handle BGSM decal flag, hide visibility editor markers
2024-04-20 19:43:41 +03:00
Alexei Kotov
1a961f3021
Extremely early handling for BGSM/BGEM files
2024-04-20 19:43:41 +03:00
Andrei Kortunov
251d01304f
Use move semantics for osg::ref_ptr
2024-01-21 13:48:33 +04:00
psi29a
21f177daac
Merge branch 'shininess' into 'master'
...
Silence OSG shininess limit warnings
See merge request OpenMW/openmw!3725
2024-01-06 11:26:40 +00:00
psi29a
459aa69b87
Merge branch 'clampunclamped' into 'master'
...
Manually clamp controller time (#7523 )
Closes #7523
See merge request OpenMW/openmw!3713
2024-01-05 09:43:23 +00:00
Alexei Kotov
3ba03782c0
Silence OSG shininess limit warnings
2024-01-04 01:02:33 +03:00
Andrei Kortunov
8d3efd27ba
Add missing initialization
2024-01-03 19:25:33 +04:00
Alexei Kotov
04b714198a
Manually clamp controller time ( #7523 )
2024-01-01 20:59:33 +03:00
psi29a
5d53eb7566
Merge branch 'russianroulette' into 'master'
...
BulletNifLoader: Handle NiSkinPartition, reduce false-positive collision generation for NiSwitchNode children
See merge request OpenMW/openmw!3634
2023-12-26 10:33:20 +00:00
Cody Glassman
187f63d3d3
support postprocess distortion
2023-12-21 10:56:38 -08:00
jvoisin
abbb620ea2
Merge branch 'nifogproperty' into 'master'
...
Handle NiFogProperty (feature #5173 )
Closes #5173
See merge request OpenMW/openmw!3642
2023-12-12 18:30:11 +00:00
Alexei Kotov
9cdaf2c29b
Handle NiFogProperty (feature #5173 )
2023-12-09 17:13:16 +03:00
Alexei Kotov
c1088e5f70
Streamline passing influence data to skinning
2023-12-08 20:58:34 +03:00
Alexei Kotov
b93291840e
BulletNifLoader: Handle NiSkinPartition
...
Add NiSkinPartition recovery helper method
2023-12-04 15:53:24 +03:00
Alexei Kotov
9c94058727
Support Oblivion parallax setup
2023-11-27 03:41:51 +03:00
Alexei Kotov
1e0d549d1d
NifLoader: Only handle editor marker extra data for the root node
2023-11-16 15:18:28 +03:00
Alexei Kotov
116ef1c62b
Depth flag handling fixes (bug #7380 )
...
Properly disable depth test while allowing depth writes to happen
Remove NiStencilProperty interaction
Don't set up depth flags for BSShaderPPLightingProperty
2023-11-06 02:19:56 +03:00
Alexei Kotov
af08205f19
Support BSShader/BSLightingShader depth flags
2023-11-03 18:38:01 +03:00
Cody Glassman
09928ba265
use a dynamic falloff range for soft effect and use shader flags
2023-10-28 10:23:55 -07:00
Alexei Kotov
715efe6cb1
Handle NiParticleBomb (feature #7634 )
2023-10-22 16:26:46 +03:00
Alexei Kotov
981e482171
Read BSSubIndexTriShape
...
It's currently handled exactly like BSTriShape, which works ok enough for our purposes
2023-10-20 17:02:46 +03:00
Alexei Kotov
79e6c9a92a
Add more comments to handleBSGeometry
2023-10-04 16:46:26 +03:00
Alexei Kotov
284129b9ec
Support Fallout 4 skinning
...
Convert the skinning data into NiSkinData-compatible format
2023-10-04 15:54:28 +03:00
Alexei Kotov
b4f81fb4fa
Fix formatting
2023-10-04 15:54:28 +03:00
Alexei Kotov
0497fd111f
Handle BSTriShape basic geometry
2023-10-04 15:54:28 +03:00
Alexei Kotov
af24d3fd3c
Nth revision of NifLoader geometry handling
...
Handle BSSegmentedTriShape
2023-10-04 15:54:28 +03:00
Petr Mikheev
63d5bd6f8a
Apply soft effect to nifs marked with soft effect flag (developed by Cody Glassman)
2023-09-27 20:41:52 +02:00