mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Cycles tests: Add baking features tests
This commit is contained in:
parent
4aee701f00
commit
e7b5bbae6a
2 changed files with 17 additions and 0 deletions
|
|
@ -534,6 +534,7 @@ if(WITH_CYCLES)
|
|||
if(WITH_OPENGL_TESTS)
|
||||
add_cycles_render_test(opengl)
|
||||
endif()
|
||||
add_cycles_render_test(bake)
|
||||
add_cycles_render_test(denoise)
|
||||
add_cycles_render_test(displacement)
|
||||
add_cycles_render_test(image_data_types)
|
||||
|
|
|
|||
|
|
@ -77,6 +77,22 @@ def render_file(filepath):
|
|||
'--python', os.path.join(basedir,
|
||||
"util",
|
||||
"render_opengl.py")]
|
||||
elif subject == 'bake':
|
||||
command = [
|
||||
BLENDER,
|
||||
"-b",
|
||||
"-noaudio",
|
||||
"--factory-startup",
|
||||
"--enable-autoexec",
|
||||
filepath,
|
||||
"-E", "CYCLES"]
|
||||
command += custom_args
|
||||
command += [
|
||||
"-o", TEMP_FILE_MASK,
|
||||
"-F", "PNG",
|
||||
'--python', os.path.join(basedir,
|
||||
"util",
|
||||
"render_bake.py")]
|
||||
else:
|
||||
command = [
|
||||
BLENDER,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue