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 committed 2024-02-01 12:16:36 -05:00
1 parent 42a2d778e3
commit 6e809543f3
71 files changed
+217

No files matched your search

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