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
This commit is contained in:
Ivan Avdeev
2024-02-01 12:16:36 -05:00
parent 42a2d778e3
commit 6e809543f3
71 changed files with 217 additions and 0 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
render/gold/brush2_01_diffuse.png LFS Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
render/gold/brush_01_diffuse.png LFS Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
render/gold/brush_01_material.png LFS Normal file

Binary file not shown.

BIN
render/gold/brush_01_specular.png LFS Normal file

Binary file not shown.

BIN
render/gold/brush_02_diffuse.png LFS Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
render/gold/brush_02_material.png LFS Normal file

Binary file not shown.

BIN
render/gold/brush_02_specular.png LFS Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
render/gold/light_01_diffuse.png LFS Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
render/gold/light_01_material.png LFS Normal file

Binary file not shown.

BIN
render/gold/light_01_specular.png LFS Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -21,6 +21,7 @@ for (_, _, files) in os.walk(os.path.join(ROOT, 'save')):
saves.append(file.removesuffix('.sav').removeprefix('rendertest_')) saves.append(file.removesuffix('.sav').removeprefix('rendertest_'))
channels = { channels = {
# channel name: rt_debug_display_only value
'full': '', 'full': '',
'basecolor': 'basecolor', 'basecolor': 'basecolor',
'emissive': 'emissive', 'emissive': 'emissive',
@@ -28,6 +29,11 @@ channels = {
'ngeom': 'ngeom', 'ngeom': 'ngeom',
'lighting': 'lighting', 'lighting': 'lighting',
'direct': 'direct', 'direct': 'direct',
'direct_diffuse': 'direct_diff',
'direct_specular': 'direct_spec',
'diffuse': 'diffuse',
'specular': 'specular',
'material': 'material',
'indirect': 'indirect', 'indirect': 'indirect',
'indirect_specular': 'indirect_spec', 'indirect_specular': 'indirect_spec',
'indirect_diffuse': 'indirect_diff', 'indirect_diffuse': 'indirect_diff',
@@ -110,6 +116,7 @@ def render():
env['LD_LIBRARY_PATH'] = '.' env['LD_LIBRARY_PATH'] = '.'
subprocess.run([f'{args.xash_dir}/xash3d', '-ref', 'vk', subprocess.run([f'{args.xash_dir}/xash3d', '-ref', 'vk',
'-nowriteconfig', '-nosound', '-log', '-nowriteconfig', '-nosound', '-log',
#'-dev', '2', '-vkverboselogs',
'-width', '1280', '-height', '800', '-width', '1280', '-height', '800',
'+exec', 'rendertest.script'], '+exec', 'rendertest.script'],
env=env, check=True) env=env, check=True)