mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-05-10 07:36:52 +02:00
[blender] preview: use cycles render engine
This commit is contained in:
parent
61c96a8b96
commit
7118298eb0
1 changed files with 5 additions and 0 deletions
|
@ -116,6 +116,11 @@ def initScene():
|
|||
bpy.data.objects.remove(bpy.data.objects['Light'])
|
||||
# Set output format
|
||||
bpy.context.scene.render.image_settings.file_format = 'JPEG'
|
||||
# Setup rendering engine
|
||||
bpy.context.scene.render.engine = 'CYCLES'
|
||||
bpy.context.scene.cycles.samples = 1
|
||||
bpy.context.scene.cycles.use_adaptative_sampling = False
|
||||
bpy.context.scene.cycles.use_denoising = False
|
||||
|
||||
|
||||
def initCompositing():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue