Commit Graph

52 Commits

Author SHA1 Message Date
Ivan Avdeev 3aeae2e81e fixup building imagecompare inside a container 2026-04-12 15:10:27 -04:00
Ivan Avdeev 75fa9cae18 pass extra metadata (repo refs, timestamps) to test results 2026-04-09 15:24:54 -04:00
Ivan Avdeev c6edc9f3fe embed steam Half-Life data into the image itself
allows also adding hlsdk libs to the image
makes it easier to build, manage, and run
2026-04-08 01:17:49 -04:00
Ivan Avdeev eecca09544 add initial hermetic container build-and-test support 2026-04-07 17:51:32 -04:00
Ivan Avdeev 4a1a79f206 lookup imagemagick tool, and loudly fail if it doesn't work 2026-04-05 13:04:54 -04:00
Ivan Avdeev 2f30db6a52 update gold images, remove prev frame leaks
Follows commit b53e7b1d in main xash3d-fwgs repo.
2025-03-04 12:19:43 -05:00
Ivan Avdeev b857a04c4a update rendering cvars and gold images accordingly 2025-02-10 13:17:15 -05:00
Ivan Avdeev c70b78a347 update glitched gold images 2025-02-10 12:44:54 -05:00
Ivan Avdeev 72facfb61e explicitly use xash dir for libraries path 2025-02-10 12:44:28 -05:00
Ivan Avdeev 8c3aa04318 update gold images for latest denoiser
NOTE that this gold is not fully correct itself. It has following
issues:
- indirect channel is incorrect
- missing indirect diffuse
- missing specular fresnel

See https://github.com/w23/xash3d-fwgs/issues/759

Committing it as a new gold for the sole reason of detecting changes
compared to current vulkan branch state. More correct gold will be
submitted when the issues above are fixed.

Also, changes rendertest script to use the new denoiser, and remove some
extra text messages things from the frame.
2025-02-06 14:05:01 -05:00
Ivan Avdeev 32acc7d835 write engine logs, and also json report
also, RADV_PERFTEST=rt is no longer needed, mesa enables rt by default
now
2025-02-06 14:03:30 -05:00
Ivan Avdeev 9d4dfa472a do not write flip gifs, it's handled by web stuff now 2025-02-06 14:02:48 -05:00
Ivan Avdeev c7970f9952 improve status reporting 2025-02-06 14:00:08 -05:00
Ivan Avdeev 6e31a068ee use magick instead of legacy convert 2025-02-06 13:59:02 -05:00
Ivan Avdeev 6995a4cc46 force RGB components for all images in imagecompare
Imagemagick produces 1-bit grayscale pngs for fully black pictures. This
makes imagecompare unhappy. Enforce the 3-component RGB type for
consistency.
2025-02-06 13:55:58 -05:00
Ivan Avdeev ceae5141c1 update stb_image.h 2025-02-06 13:55:38 -05:00
provod 3d86ab2697 Merge pull request 'some fixes' (#17) from NightFox/HLRTest:master into master
Reviewed-on: #17
2024-12-18 03:44:24 +01:00
NightFox 20d02c28e4 add focus for the selected comparison in the list; fix light theme 2024-12-18 01:03:24 +03:00
NightFox 6ad2f816df fix vertical padding issue (last-child bottom padding) 2024-02-16 14:11:15 +03:00
provod 697978420e Merge pull request 'fix #9' (#15) from NightFox/HLRTest:master into master
Reviewed-on: #15
2024-02-16 01:30:17 +01:00
NightFox 2f4cf5c3be title for filter 2024-02-16 02:40:39 +03:00
NightFox 3da9283b42 bonus ALT+F for focus at filter input 2024-02-16 02:38:37 +03:00
NightFox a25dee6640 fix #9 2024-02-16 02:27:50 +03:00
NightFox 25faf8b0e1 new design for rendertest (#8)
Что сделано:
* Удалёны gif, тесты заметно ускорились из-за этого, даже не смотря что делаются png из tga форсировано теперь.
* Добавлены темы, но светлой уделялось мало внимания. С костылём на автотёмную тему не знаю как будет тёмная тема работать, не проверял.
* Изменён дизайн, теперь таблица-список картинок вынесена в отдельную боковую панель.
* Появились разные режимы и настройки (лень перечислять там и так всё видно).
* Исправлена ошибка сортировки которая проявлялась на chrome-подобных браузерах.
* Исправлена ошибка с ориентацией картинок (поймал у себя что они оказались перевёрнутые).
* Произошла некоторая реорганизация кодовой базы, некоторые функции были расширены, а что-то исправлено по мелочи.

Reviewed-on: #8
Co-authored-by: NightFox <nightfox@dev.null>
Co-committed-by: NightFox <nightfox@dev.null>
2024-02-15 23:35:40 +01:00
Ivan Avdeev d20af78fa7 render: add white furnace test for c2a5a 2024-02-01 12:45:42 -05:00
Ivan Avdeev 55b7e1fc21 render: replace "diff" with Δ|δ to not mistake it for diffuse 2024-02-01 12:21:50 -05:00
Ivan Avdeev 6e809543f3 render: add a bunch of new channels to compare
New channels:
- material: red = roughness, green = metalness
- direct_diffuse: direct lighting diffuse channel
- direct_specular: direct lighting specular channel
- diffuset: direct + indirect diffuse, spatially denoised
- specular: direct + indirect specular, spatially denoised
2024-02-01 12:16:36 -05:00
Ivan Avdeev 42a2d778e3 render: add blenoversky test
This test is meant to make sure that legacy blending works for bounce
rays over skybox
2024-02-01 11:58:25 -05:00
Ivan Avdeev 1329c030cc render: update gold images with the new brdf+denoiser
See https://github.com/w23/xash3d-fwgs/pull/726
2024-02-01 11:49:56 -05:00
Ivan Avdeev da6978f798 render: fan_material: update materials 2024-01-01 11:41:48 -05:00
Ivan Avdeev 9e31240581 render: brush_02: backface culling, legacy blending 2024-01-01 11:40:22 -05:00
Ivan Avdeev 97ed968e1a render: update brush_01 state for backface culling and legacy blending 2024-01-01 11:34:06 -05:00
Ivan Avdeev cef6f972ee render: update additive_cullback gold state after a bunch of fixes 2024-01-01 11:26:36 -05:00
Ivan Avdeev 5b0928c164 render: add blendmode01 test
The idea was to test for gauss cannon particles, but apparently
they aren't encoded in the save file.
2024-01-01 11:20:54 -05:00
Ivan Avdeev e8edd45ccd render: add no-accidental translucency test
https://github.com/w23/xash3d-fwgs/issues/721
2024-01-01 11:09:29 -05:00
Ivan Avdeev fb61f081dd render: add simple skybox test 2023-12-19 10:33:14 -05:00
Ivan Avdeev 13bedb9286 render: update up to pbr fix
https://github.com/w23/xash3d-fwgs/issues/666
2023-12-11 13:59:05 -05:00
Ivan Avdeev e1a9b17569 render: hide logo ℱ𝒜𝒮𝒯ℰℛ 2023-12-05 10:57:02 -05:00
Ivan Avdeev 4409bd18db render: update gold images after ref_vk fixes 2023-12-05 10:56:06 -05:00
Ivan Avdeev 7c6fa9627d render: add test for double switchable lights
https://github.com/w23/xash3d-fwgs/issues/679
2023-12-04 13:50:54 -05:00
Ivan Avdeev d62e8b0a3a render: update brush2 gold images
Supposedly fixing the dynamic polylight shifted polylight array a bit,
thus affecting random seed for samples.

The new gold images are stable, but different from the old ones
numerically.
2023-11-30 11:50:06 -05:00
Ivan Avdeev f7a3134ed4 render: add test for dynamic func_water polygon lights
https://github.com/w23/xash3d-fwgs/issues/672
2023-11-30 11:42:40 -05:00
Ivan Avdeev c40bfde9c7 render: determine available tests from present save files
also, filter tests to run by regular expressions
2023-11-30 11:40:53 -05:00
Ivan Avdeev c1bd3d7619 render: add html report generation 2023-11-28 12:32:40 -05:00
provod bb5c04efd8 render: add test for c1a3 fan material
https://github.com/w23/xash3d-fwgs/issues/669
2023-11-27 13:15:54 -05:00
provod bcd3e91e68 remove old rendertest.sh 2023-11-27 12:49:49 -05:00
provod 2b19a8d196 render: add additive_cullback test
https://github.com/w23/xash3d-fwgs/issues/665
2023-11-27 12:49:29 -05:00
provod 7654142cdc add .gitignore 2023-11-27 12:46:28 -05:00
provod e064d3d8d6 parallelize diffing and conversion; add command for to png conversion 2023-11-27 12:31:41 -05:00
provod 8d67f409bc move all rendertest.sh functionality into .py 2023-11-27 12:01:11 -05:00