Preserve homestead context and garden-centred Blender design
This commit is contained in:
9
source/samford-modular/render_detail.py
Normal file
9
source/samford-modular/render_detail.py
Normal file
@@ -0,0 +1,9 @@
|
||||
import bpy,os
|
||||
s=bpy.context.scene
|
||||
s.camera=bpy.data.objects['Alternate - living pavilion and open veranda']
|
||||
s.render.resolution_x=2560; s.render.resolution_y=1440; s.render.resolution_percentage=100
|
||||
prefs=bpy.context.preferences.addons['cycles'].preferences; prefs.compute_device_type='METAL'; prefs.get_devices()
|
||||
for d in prefs.devices: d.use=d.type=='METAL'
|
||||
s.cycles.device='GPU'; s.cycles.samples=32; s.cycles.adaptive_threshold=.04; s.cycles.use_denoising=True
|
||||
s.render.filepath=os.path.join(os.path.dirname(__file__),'samford-living-pavilion-detail.png')
|
||||
bpy.ops.render.render(write_still=True)
|
||||
Reference in New Issue
Block a user