← ClaudeAtlas

blender-render-automationlisted

Automate Blender rendering from the command line. Use when the user wants to set up renders, batch render scenes, configure Cycles or EEVEE, set up cameras and lights, render animations, create materials and shaders, or build a render pipeline with Blender Python scripting.
trku052-png/social-media-youtube-skills · ★ 1 · AI & Automation · score 68
Install: claude install-skill trku052-png/social-media-youtube-skills
# Blender Render Automation ## Overview Automate Blender's rendering pipeline from the terminal. Configure render engines (Cycles/EEVEE), set up cameras and lighting, create materials, and batch render scenes or animations — all headlessly via Python scripts. ## Instructions ### 1. Configure the render engine ```python import bpy scene = bpy.context.scene # Cycles (ray-traced, production quality) scene.render.engine = 'CYCLES' cycles = scene.cycles cycles.samples = 256 cycles.use_denoising = True cycles.denoiser = 'OPENIMAGEDENOISE' cycles.device = 'GPU' prefs = bpy.context.preferences.addons['cycles'].preferences prefs.compute_device_type = 'OPTIX' # or 'CUDA', 'HIP', 'ONEAPI', 'METAL' prefs.get_devices() for device in prefs.devices: device.use = device.type != 'CPU' # GPU only; leave CPU on to add it as a helper # EEVEE (fast, real-time). The engine id changed: 'BLENDER_EEVEE_NEXT' in # Blender 4.2-4.5, 'BLENDER_EEVEE' again from 5.0. Reading the accepted # values avoids hardcoding either. ids = [e.identifier for e in scene.render.bl_rna.properties['engine'].enum_items] scene.render.engine = 'BLENDER_EEVEE' if 'BLENDER_EEVEE' in ids else 'BLENDER_EEVEE_NEXT' scene.eevee.taa_render_samples = 64 ``` `blender -E help` lists the engines your build accepts. EEVEE in background mode still needs a working OpenGL context; on a server without a display use Cycles, or run Blender under a virtual display. ### 2. Output resolution and format ```python render = bpy.cont