Compare commits

..

No commits in common. "d62e8b0a3a28ab42124ec8e782cbd416ff6ac8a7" and "c1bd3d7619f5b7b1d7c7fa63b8a17883c3d6ea89" have entirely different histories.

22 changed files with 30 additions and 60 deletions

BIN
render/gold/brush2_01_basecolor.png (Stored with Git LFS)

Binary file not shown.

BIN
render/gold/brush2_01_direct.png (Stored with Git LFS)

Binary file not shown.

BIN
render/gold/brush2_01_emissive.png (Stored with Git LFS)

Binary file not shown.

BIN
render/gold/brush2_01_full.png (Stored with Git LFS)

Binary file not shown.

BIN
render/gold/brush2_01_indirect.png (Stored with Git LFS)

Binary file not shown.

BIN
render/gold/brush2_01_indirect_diffuse.png (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

BIN
render/gold/brush2_01_lighting.png (Stored with Git LFS)

Binary file not shown.

BIN
render/gold/brush2_01_ngeom.png (Stored with Git LFS)

Binary file not shown.

BIN
render/gold/brush2_01_nshade.png (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

BIN
render/gold/c2a1b_toxicgrn_672_direct.png (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

BIN
render/gold/c2a1b_toxicgrn_672_full.png (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
render/gold/c2a1b_toxicgrn_672_ngeom.png (Stored with Git LFS)

Binary file not shown.

BIN
render/gold/c2a1b_toxicgrn_672_nshade.png (Stored with Git LFS)

Binary file not shown.

View File

@ -5,7 +5,6 @@ import concurrent.futures
import json
import os
import pathlib
import re
import shutil
import subprocess
@ -14,11 +13,17 @@ imagecompare = f'{ROOT}/imagecompare'
WORKDIR = f'{ROOT}/work'
REPORT_ROOT = f'{ROOT}' # FIXME should be workdir?
# TODO load all saves from the save/ dir
# TODO rename to <map>_<description>_<issue(opt)>
saves = []
for (_, _, files) in os.walk(os.path.join(ROOT, 'save')):
for file in files:
saves.append(file.removesuffix('.sav').removeprefix('rendertest_'))
saves = [
'brush2_01',
'brush_01',
'brush_02',
'c0a0d_emissive',
'light_01',
'additive_cullback',
'c1a3_fan_material_669',
]
channels = {
'full': '',
@ -37,12 +42,10 @@ def test_list(arg: str) -> [str]:
items = arg.split(',')
tests = []
for item in items:
r = re.compile(item)
for save in saves:
if r.match(save):
tests.append(save)
if not tests:
raise argparse.ArgumentTypeError(f'No tests match {item}. Available tests are: {saves}')
# TODO regex?
if not item in saves:
raise argparse.ArgumentTypeError(f'Test {item} is not available. Available tests are: {saves}')
tests.append(item)
return tests
parser = argparse.ArgumentParser(description='Generate scripts and makefiles for rendertest')

Binary file not shown.