# add another two postprocessing presets to the regression suite's database of model minidumps. Totally we have ~1200 test cases now.
git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@954 67173fc5-114c-0410-ac8e-9d2fd5bffc1fpull/1/head
parent
94f8e5fdb0
commit
724b562e6f
Binary file not shown.
|
@ -87,7 +87,7 @@ def process_dir(d, outfile, file_filter):
|
||||||
outf = os.path.join(os.getcwd(), settings.database_name,
|
outf = os.path.join(os.getcwd(), settings.database_name,
|
||||||
utils.hashing(fullp, pp))
|
utils.hashing(fullp, pp))
|
||||||
|
|
||||||
cmd = [utils.assimp_bin_path,"dump",fullp,outf,"-b","-s",pp]
|
cmd = [utils.assimp_bin_path,"dump",fullp,outf,"-b","-s","-l",pp]
|
||||||
outfile.write("assimp dump "+"-"*80+"\n")
|
outfile.write("assimp dump "+"-"*80+"\n")
|
||||||
outfile.flush()
|
outfile.flush()
|
||||||
if subprocess.call(cmd, stdout=outfile, stderr=outfile, shell=False):
|
if subprocess.call(cmd, stdout=outfile, stderr=outfile, shell=False):
|
||||||
|
|
|
@ -64,6 +64,7 @@ exclude_extensions = [".lws",".assbin",".assxml",".txt",".jpeg",".jpg",".png",".
|
||||||
# '-og -om' :run optimize-scenegraph in combination with optimize-meshes.
|
# '-og -om' :run optimize-scenegraph in combination with optimize-meshes.
|
||||||
# '-vds -jiv' :join-identical-vertices alone. This is a hotspot where
|
# '-vds -jiv' :join-identical-vertices alone. This is a hotspot where
|
||||||
# floating-point inaccuracies can cause severe damage.
|
# floating-point inaccuracies can cause severe damage.
|
||||||
|
# '-ptv': transform all meshes to world-space
|
||||||
|
|
||||||
# As you can see, not all possible combinations of pp steps are covered -
|
# As you can see, not all possible combinations of pp steps are covered -
|
||||||
# but at least each step is executed at least once on each model.
|
# but at least each step is executed at least once on each model.
|
||||||
|
@ -71,7 +72,13 @@ exclude_extensions = [".lws",".assbin",".assxml",".txt",".jpeg",".jpg",".png",".
|
||||||
pp_configs_to_test = [
|
pp_configs_to_test = [
|
||||||
"-cfull",
|
"-cfull",
|
||||||
"-og -om -vds",
|
"-og -om -vds",
|
||||||
"-vds -jiv"
|
"-vds -jiv",
|
||||||
|
"-ptv -gsn -cts -db",
|
||||||
|
|
||||||
|
# this is especially important: if no failures are present with this
|
||||||
|
# preset, the regression is most likely caused by the post
|
||||||
|
# processing pipeline.
|
||||||
|
""
|
||||||
]
|
]
|
||||||
# -------------------------------------------------------------------------------
|
# -------------------------------------------------------------------------------
|
||||||
# Name of the regression database file to be used
|
# Name of the regression database file to be used
|
||||||
|
|
Loading…
Reference in New Issue