Commit Graph

4571 Commits

Author SHA1 Message Date
Ivan Avdeev 2986e128c4
Merge pull request #683 from 0x4E69676874466F78/0x4E69676874466F78-rad-2
Added new rad files
2023-12-04 08:13:15 -08:00
Ivan Avdeev 9fed89a835
Merge pull request #682 from 0x4E69676874466F78/CI_test
Create for_ignored.yml (pass through for ignored files)
2023-12-04 07:15:09 -08:00
NightFox 4f988fcb78
Create for_ignored.yml (pass through for ignored files)
Added pass through for ignored files
2023-12-04 12:17:07 +03:00
NightFox cdb1532979
Added new rad files
c2a* maps
2023-12-04 00:31:37 +03:00
Ivan Avdeev b06081047a
Merge pull request #675 from w23/stream-E339
Things done during stream E339

- [x] Fix dynamic polylights for func_water entities; fixes #672
- [x] Reuse GPU scope names; fixes #667 
- [x] Support changing resolution; fixes #343 
  - [x] Make max resolution grow gradually
2023-12-01 08:01:10 -08:00
Ivan Avdeev 4fd70777b7 vk: rt: increase max frame size gradually when needed 2023-12-01 10:55:58 -05:00
Ivan Avdeev 4d1b64bb19 vk: update TODO.md 2023-11-30 13:20:03 -05:00
Ivan Avdeev 605647aecc vk: rt: support changing screen resolution
Fixes #343
2023-11-30 13:01:40 -05:00
Ivan Avdeev bde036fc45 vk: find existing gpu scope with the same name
fixes #667
2023-11-30 11:57:15 -05:00
Ivan Avdeev 32f05816e1 vk: rt: extract dynamic polylight to brush model
They don't really belong to neither rt_model_t, nor render model.
Allows having dynamic polylights for func_water entities without "main"
render model, and only water submodels.
2023-11-30 11:20:32 -05:00
Ivan Avdeev c9b485f8a7
Merge pull request #671 from w23/stream-E338
Things committed during streams E338-E339

- [x] Allow patching rendermode for func_* entities, fixes #663
- [x] Print out screenshot timings
- [x] Unsuccessfully reset denoiser statistics on discontinuities
2023-11-30 08:09:07 -08:00
Ivan Avdeev 7417cfa06f vk: rt: try to clear denoiser statistics on frame discontinuities
Somehow doesn't fix the teleport/levelchange glitches, but still feels
like a step in the right direction.
2023-11-30 10:27:47 -05:00
Ivan Avdeev 73d320f51f vk: print how long it took to make a screenshot 2023-11-30 10:26:52 -05:00
Ivan Avdeev d5f8b593f9 vk: make rendermode patching a bit less ugly 2023-11-30 10:20:47 -05:00
Ivan Avdeev 40a270cff8
Merge pull request #673 from 0x4E69676874466F78/0x4E69676874466F78-rad-1
Update rad files

add c2a1, c2a1a, c2a1b
2023-11-30 07:05:57 -08:00
Ivan Avdeev a0fbb12efb
Merge pull request #674 from 0x4E69676874466F78/0x4E69676874466F78-github-actions
Update c-cpp.yml (add paths-ignore)

For CI/GH Actions: ignore things that do not participate in builds
2023-11-30 07:05:26 -08:00
NightFox 8d5638ef6b
Update c-cpp.yml (add paths-ignore)
add paths-ignore:
      - '**.md'
      - 'ref/vk/data/**'
2023-11-30 15:59:34 +03:00
NightFox 36a6e56ee1
Update rad files
add c2a1, c2a1a, c2a1b
2023-11-30 15:37:22 +03:00
Ivan Avdeev dd21e665b1 vk: patch rendermode for entities
Probably not the best way to do it, but this is an attempt.

Issue #663
2023-11-28 13:01:14 -05:00
Ivan Avdeev e9dc10a503
Merge pull request #659 from w23/comparender
Stuff done during streams E333-E337

- [x] Engine/rendering support for reproducible rendering and testing:
  - [x] `screenshot filename.png`
  - [x] `wait NUM`
  - [x] ~~`imagecompare`~~ -> moved to [HLRTest](https://rtxash.omgwtf.ru/Half-Life-RTX/HLRTest) repo
  - [x] ~~example rendertest script~~ -> moved to HLRTest repo
  - [x] how to organize saves, rendertest.script, golden images? -> I KNOW HOW -> HLRTest repo
  - [ ] how to run these in CI? -- we just don't know
- [x] Consolidate all bindings to shader tops
- [x] fixup per-model material mapping, fix #669
2023-11-27 10:28:17 -08:00
Ivan Avdeev 735260a3c5 vk: brush: fixup per-model material mapping
fixes #669
2023-11-27 13:20:06 -05:00
Ivan Avdeev bbd96b3e0e vk: consolidate all bindings to the top of shaders
That way it is more clear what we declare, why and how.
2023-11-23 12:25:24 -05:00
Ivan Avdeev 016cdeaa6c vk: tools: speedup imagecompare 16x
Use -O3 -march=native
Save into tga, not png
2023-11-21 12:50:29 -05:00
Ivan Avdeev 2fbe477dd2 vk: renderscript: add arguments 2023-11-21 12:11:01 -05:00
Ivan Avdeev 2139b32f75 vk: rt: allow disabling temporal denoiser 2023-11-21 12:10:14 -05:00
Ivan Avdeev 036379707d vk: imagecompare: highlight with green the desired zero-difference image 2023-11-21 11:01:39 -05:00
Ivan Avdeev f11461772a vk: add rt_debug_fixed_random_seed cvar
Needed to pin random seed to a known value to make sure that frames are
reproducible for regression testing purposes.
2023-11-21 11:00:45 -05:00
Ivan Avdeev 4897f97726 vk: add rendertest maker script 2023-11-21 10:45:25 -05:00
Ivan Avdeev 1ac00a8792 vk: imagecompare: highlight total difference > 1% 2023-11-21 10:43:39 -05:00
Ivan Avdeev 27ed4b157a vk: rt: fixup `rt_debug_display_only lighting` 2023-11-21 10:27:58 -05:00
Ivan Avdeev 9953a47397 vk: add example rendertest script 2023-11-20 13:04:48 -05:00
Ivan Avdeev 4897da4f45 vk: document frame comparison effort 2023-11-20 13:02:21 -05:00
Ivan Avdeev 2a2aaecd92 engine: allow specifying amount of frames to wait on `wait` command 2023-11-20 13:01:37 -05:00
Ivan Avdeev a6fe7cc3a6 engine: allow specifying screenshot filenames in command directly 2023-11-20 13:01:01 -05:00
Ivan Avdeev 17267fd8c3 vk: tools: add imagecompare tool to compare screenshots
Produces diff image file and total difference.
2023-11-20 12:59:32 -05:00
Ivan Avdeev 6b1eeee26b
Merge pull request #658 from 0x4E69676874466F78/rad&patches
Rad&patches
2023-11-20 06:41:22 -08:00
NightFox 5a3912dcb0
update c2a5.patch
more smooth
2023-11-20 16:30:21 +03:00
NightFox 7e3e847b43
update patches
fix wagonchik texture coordinates and more correct textures/materials
other minor changes (I'd already forgotten)
2023-11-20 00:36:31 +03:00
NightFox acc103221a
add ba_security2.patch 2023-11-20 00:32:34 +03:00
NightFox e67232e4bf
update c1a0c.rad
fix ~LIGHT3F for c1a0c
2023-11-20 00:23:13 +03:00
Ivan Avdeev 7c3448cd15
Merge pull request #657 from 0x4E69676874466F78/readme
Update README.md

fix build instructions link for README.md
fix upstream CONTRIBUTING.md (vulkan->master branch)
2023-11-18 10:13:52 -08:00
NightFox 38fa218340
Update CONTRIBUTING.md
fix upstream CONTRIBUTING.md (vulkan->master branch)
2023-11-18 20:58:48 +03:00
NightFox cc764e66d7
Update README.md
fix build instructions link
2023-11-18 20:37:22 +03:00
Ivan Avdeev f57a7feea0
Merge pull request #656 from w23/stream-E332
Things done during stream E332

- [x] comment on no light under emissive acid
- [x] normalmaps for water, fix #655 
- [x] add docs regarding regression tests
2023-11-17 09:42:03 -08:00
Ivan Avdeev 16de17527a vk: document regression testing approaches
ref: #646
2023-11-17 12:29:53 -05:00
Ivan Avdeev f0b80887e8 vk: brush: support normalmaps for water surfaces
Adds missing tangents.

Fixes #655
2023-11-17 11:06:09 -05:00
Ivan Avdeev de80c0da64 vk: comment on no light under emissive acid
ref: #56
2023-11-17 10:22:53 -05:00
Ivan Avdeev 7d8d59d338
Merge pull request #653 from 0x4E69676874466F78/vulkan
Update patches&rads
2023-11-17 07:08:39 -08:00
NightFox 174d601ba6
add c1a4g.rad 2023-11-17 13:08:34 +03:00
Ivan Avdeev 414c43f7a2
Merge pull request #652 from w23/stream-E331b
Thing done during stream E331

- [x] add `trihash` option to  `rt_debug_display_only` cvar
- [x] fix #465 
  - [x] update UVs
  - [ ] fix validation woes -- cannot reproduce anymore
2023-11-16 10:10:33 -08:00