RenderSettings(bpy_struct)

base class — bpy_struct

class bpy.types.RenderSettings(bpy_struct)

Rendering settings for a Scene data-block

anisotropic_filter

Quality of anisotropic filtering in materials (default 'FILTER_2')

  • FILTER_0 Off – Turn off anisotropic filtering.

  • FILTER_2 2× – Use 2 samples for anisotropic filtering.

  • FILTER_4 4× – Use 4 samples for anisotropic filtering.

  • FILTER_8 8× – Use 8 samples for anisotropic filtering.

  • FILTER_16 16× – Use 16 samples for anisotropic filtering.

Type:

Literal[‘FILTER_0’, ‘FILTER_2’, ‘FILTER_4’, ‘FILTER_8’, ‘FILTER_16’]

bake

(readonly, never None)

Type:

BakeSettings

border_max_x

Maximum X value for the render region (in [0, 1], default 1.0)

Type:

float

border_max_y

Maximum Y value for the render region (in [0, 1], default 1.0)

Type:

float

border_min_x

Minimum X value for the render region (in [0, 1], default 0.0)

Type:

float

border_min_y

Minimum Y value for the render region (in [0, 1], default 0.0)

Type:

float

compositor_denoise_device

The device to use to process the denoise nodes in the compositor (default 'AUTO')

  • AUTO Auto – Use the same device used by the compositor to process the denoise node.

  • CPU CPU – Use the CPU to process the denoise node.

  • GPU GPU – Use the GPU to process the denoise node if available, otherwise fallback to CPU.

Type:

Literal[‘AUTO’, ‘CPU’, ‘GPU’]

compositor_denoise_final_quality

The quality used by denoise nodes during the compositing of final renders if the nodes’ quality option is set to Follow Scene (default 'HIGH')

  • HIGH High – High quality.

  • BALANCED Balanced – Balanced between performance and quality.

  • FAST Fast – High performance.

Type:

Literal[‘HIGH’, ‘BALANCED’, ‘FAST’]

compositor_denoise_preview_quality

The quality used by denoise nodes during viewport and interactive compositing if the nodes’ quality option is set to Follow Scene (default 'BALANCED')

  • HIGH High – High quality.

  • BALANCED Balanced – Balanced between performance and quality.

  • FAST Fast – High performance.

Type:

Literal[‘HIGH’, ‘BALANCED’, ‘FAST’]

compositor_device

Set how compositing is executed (default 'CPU')

Type:

Literal[‘CPU’, ‘GPU’]

compositor_precision

The precision of compositor intermediate result (default 'AUTO')

  • AUTO Auto – Full precision for final renders, half precision otherwise.

  • FULL Full – Full precision.

Type:

Literal[‘AUTO’, ‘FULL’]

dither_intensity

Amount of dithering noise added to the rendered image to break up banding (in [0, inf], default 1.0)

Type:

float

engine

Engine to use for rendering (default 'BLENDER_EEVEE')

Type:

Literal[‘BLENDER_EEVEE’]

ffmpeg

FFmpeg related settings for the scene (readonly)

Type:

FFmpegSettings

file_extension

The file extension used for saving renders (default “”, readonly, never None)

Type:

str

filepath

Directory/name to save animations, # characters define the position and padding of frame numbers (default “”, never None, blend relative // prefix supported, Supports template expressions)

Type:

str

film_transparent

World background is transparent, for compositing the render over another background (default False)

Type:

bool

filter_size

Width over which the reconstruction filter combines samples (in [0, 500], default 1.5)

Type:

float

fps

Framerate, expressed in frames per second (in [1, 32767], default 24)

Type:

int

fps_base

Framerate base (in [1e-05, 1e+06], default 1.0)

Type:

float

frame_map_new

How many frames the Map Old will last (in [1, 900], default 100)

Type:

int

frame_map_old

Old mapping value in frames (in [1, 900], default 100)

Type:

int

hair_subdiv

Additional subdivision along the curves (in [0, 3], default 0)

Type:

int

hair_type

Curves shape type (default 'STRAND')

Type:

Literal[‘STRAND’, ‘STRIP’, ‘CYLINDER’]

has_multiple_engines

More than one rendering engine is available (default False, readonly)

Type:

bool

image_settings

(readonly, never None)

Type:

ImageFormatSettings

is_movie_format

When true the format is a movie (default False, readonly)

Type:

bool

line_thickness

Line thickness in pixels (in [0, 10000], default 1.0)

Type:

float

line_thickness_mode

Line thickness mode for Freestyle line drawing (default 'ABSOLUTE')

  • ABSOLUTE Absolute – Specify unit line thickness in pixels.

  • RELATIVE Relative – Unit line thickness is scaled by the proportion of the present vertical image resolution to 480 pixels.

Type:

Literal[‘ABSOLUTE’, ‘RELATIVE’]

metadata_input

Where to take the metadata from (default 'SCENE')

  • SCENE Scene – Use metadata from the current scene.

  • STRIPS Sequencer Strips – Use metadata from the strips in the sequencer.

Type:

Literal[‘SCENE’, ‘STRIPS’]

motion_blur_position

Offset for the shutter’s time interval, allows to change the motion blur trails (default 'CENTER')

  • START Start on Frame – The shutter opens at the current frame.

  • CENTER Center on Frame – The shutter is open during the current frame.

  • END End on Frame – The shutter closes at the current frame.

Type:

Literal[‘START’, ‘CENTER’, ‘END’]

motion_blur_shutter

Time taken in frames between shutter open and close (in [0, inf], default 0.5)

Type:

float

motion_blur_shutter_curve

Curve defining the shutter’s openness over time (readonly)

Type:

CurveMapping

pixel_aspect_x

Horizontal aspect ratio - for anamorphic or non-square pixel output (in [1, 200], default 1.0)

Type:

float

pixel_aspect_y

Vertical aspect ratio - for anamorphic or non-square pixel output (in [1, 200], default 1.0)

Type:

float

ppm_base

The base unit for pixels per meter. (in [1e-05, 1e+06], default 0.0254)

Type:

float

ppm_factor

The pixel density meta-data written to supported image formats. This value is multiplied by the PPM-base which defines the unit (typically inches or meters) (in [1e-05, 1e+06], default 72.0)

Type:

float

preview_pixel_size

Pixel size for viewport rendering (default 'AUTO')

  • AUTO Automatic – Automatic pixel size, depends on the user interface scale.

  • 1 1× – Render at full resolution.

  • 2 2× – Render at 50% resolution.

  • 4 4× – Render at 25% resolution.

  • 8 8× – Render at 12.5% resolution.

Type:

Literal[‘AUTO’, ‘1’, ‘2’, ‘4’, ‘8’]

resolution_percentage

Percentage scale for render resolution (in [1, 32767], default 100)

Type:

int

resolution_x

Number of horizontal pixels in the rendered image (in [4, 65536], default 1920)

Type:

int

resolution_y

Number of vertical pixels in the rendered image (in [4, 65536], default 1080)

Type:

int

save_output

Write frames to disk for animation renders (default True)

Type:

bool

sequencer_gl_preview

Display method used in the sequencer view (default 'SOLID')

Type:

Literal[Shading Type Items]

simplify_child_particles

Global child particles percentage (in [0, 1], default 1.0)

Type:

float

simplify_child_particles_render

Global child particles percentage during rendering (in [0, 1], default 0.0)

Type:

float

simplify_gpencil

Simplify Grease Pencil drawing (default False)

Type:

bool

simplify_gpencil_antialiasing

Use Antialiasing to smooth stroke edges (default True)

Type:

bool

simplify_gpencil_modifier

Display modifiers (default True)

Type:

bool

simplify_gpencil_onplay

Simplify Grease Pencil only during animation playback (default False)

Type:

bool

simplify_gpencil_shader_fx

Display Shader Effects (default True)

Type:

bool

simplify_gpencil_tint

Display layer tint (default True)

Type:

bool

simplify_gpencil_view_fill

Display fill strokes in the viewport (default True)

Type:

bool

simplify_subdivision

Global maximum subdivision level (in [0, 32767], default 6)

Type:

int

simplify_subdivision_render

Global maximum subdivision level during rendering (in [0, 32767], default 0)

Type:

int

simplify_volumes

Resolution percentage of volume objects in viewport (in [0, 1], default 1.0)

Type:

float

stamp_background

Color to use behind stamp text (array of 4 items, in [0, 1], default (0.0, 0.0, 0.0, 0.25))

Type:

bpy_prop_array[float]

stamp_font_size

Size of the font used when rendering stamp text (in [8, 64], default 12)

Type:

int

stamp_foreground

Color to use for stamp text (array of 4 items, in [0, 1], default (0.8, 0.8, 0.8, 1.0))

Type:

bpy_prop_array[float]

stamp_note_text

Custom text to appear in the stamp note (default “”, never None)

Type:

str

stereo_views

(default None, readonly)

Type:

bpy_prop_collection[SceneRenderView]

threads

Maximum number of CPU cores to use simultaneously while rendering (for multi-core/CPU systems) (in [1, 1024], default 1)

Type:

int

threads_mode

Determine the amount of render threads used (default 'AUTO')

  • AUTO Auto-Detect – Automatically determine the number of threads, based on CPUs.

  • FIXED Fixed – Manually determine the number of threads.

Type:

Literal[‘AUTO’, ‘FIXED’]

use_auto_generate_texture_cache

Automatically create tx files from image files when rendering, if the files do not exist or are outdated. The path to store the texture cache files is configured in the preferences (default False)

Type:

bool

use_border

Render a user-defined render region, within the frame size (default False)

Type:

bool

use_compositing

Process the render result through the compositing pipeline, if a compositing node group is assigned to the scene (default True)

Type:

bool

use_crop_to_border

Crop the rendered frame to the defined render region size (default False)

Type:

bool

use_file_extension

Add the file format extensions to the rendered file name (eg: filename + .jpg) (default True)

Type:

bool

use_freestyle

Draw stylized strokes using Freestyle (default False)

Type:

bool

use_high_quality_normals

Use high quality tangent space at the cost of lower performance (default False)

Type:

bool

use_lock_interface

Lock interface during rendering in favor of giving more memory to the renderer (default False)

Type:

bool

use_motion_blur

Use multi-sampled 3D scene motion blur (default False)

Type:

bool

use_multiview

Use multiple views in the scene (default False)

Type:

bool

use_overwrite

Overwrite existing files while rendering (default True)

Type:

bool

use_persistent_data

Keep render data around for faster re-renders and animation renders, at the cost of increased memory usage (default False)

Type:

bool

use_placeholder

Create empty placeholder files while rendering frames (similar to Unix ‘touch’) (default False)

Type:

bool

use_render_cache

Save render cache to EXR files (useful for heavy compositing, Note: affects indirectly rendered scenes) (default False)

Type:

bool

use_sequencer

Process the render (and composited) result through the video sequence editor pipeline, if sequencer strips exist (default True)

Type:

bool

use_sequencer_override_scene_strip

Use Workbench render and world settings from the sequencer scene, instead of each strip’s scene (default False)

Type:

bool

use_simplify

Enable simplification of scene for quicker preview renders (default False)

Type:

bool

use_simplify_normals

Skip computing custom normals and face corner normals for displaying meshes in the viewport (default False)

Type:

bool

use_single_layer

Only render the active layer. Only affects rendering from the interface, ignored for rendering from command line. (default False)

Type:

bool

use_spherical_stereo

Active render engine supports spherical stereo rendering (default False, readonly)

Type:

bool

use_stamp

Render the stamp info text in the rendered image (default False)

Type:

bool

use_stamp_camera

Include the name of the active camera in image metadata (default True)

Type:

bool

use_stamp_date

Include the current date in image/video metadata (default True)

Type:

bool

use_stamp_filename

Include the .blend filename in image/video metadata (default True)

Type:

bool

use_stamp_frame

Include the frame number in image metadata (default True)

Type:

bool

use_stamp_frame_range

Include the rendered frame range in image/video metadata (default False)

Type:

bool

use_stamp_hostname

Include the hostname of the machine that rendered the frame (default False)

Type:

bool

use_stamp_labels

Display stamp labels (“Camera” in front of camera name, etc.) (default True)

Type:

bool

use_stamp_lens

Include the active camera’s lens in image metadata (default False)

Type:

bool

use_stamp_marker

Include the name of the last marker in image metadata (default False)

Type:

bool

use_stamp_memory

Include the peak memory usage in image metadata (default True)

Type:

bool

use_stamp_note

Include a custom note in image/video metadata (default False)

Type:

bool

use_stamp_render_time

Include the render time in image metadata (default True)

Type:

bool

use_stamp_scene

Include the name of the active scene in image/video metadata (default True)

Type:

bool

use_stamp_sequencer_strip

Include the name of the foreground sequence strip in image metadata (default False)

Type:

bool

use_stamp_time

Include the rendered frame timecode as HH:MM:SS.FF in image metadata (default True)

Type:

bool

use_texture_cache

Load texture tiles at appropriate resolution on demand to reduce memory usage. This avoids loading all textures into memory, at the cost of extra disk space and some performance (default True)

Type:

bool

views

(default None, readonly)

Type:

RenderViews[SceneRenderView]

views_format

(default 'STEREO_3D')

  • STEREO_3D Stereo 3D – Single stereo camera system, adjust the stereo settings in the camera panel.

  • MULTIVIEW Multi-View – Multi camera system, adjust the cameras individually.

Type:

Literal[‘STEREO_3D’, ‘MULTIVIEW’]

frame_path(*, frame=-2147483648, preview=False, view='')

Return the absolute path to the filename to be written for a given frame

Parameters:
  • frame (int) – Frame number to use, if unset the current frame will be used (in [-inf, inf], optional)

  • preview (bool) – Preview, Use preview range (optional)

  • view (str) – View, The name of the view to use to replace the “%” chars (optional, never None)

Returns:

File Path, The resulting filepath from the scenes render settings (never None)

Return type:

str

classmethod bl_rna_get_subclass(id, default=None, /)
Parameters:
  • id (str) – The RNA type identifier.

  • default (bpy.types.Struct | None) – The value to return when not found.

Returns:

The RNA type or default when not found.

Return type:

bpy.types.Struct

classmethod bl_rna_get_subclass_py(id, default=None, /)
Parameters:
  • id (str) – The RNA type identifier.

  • default (type | None) – The value to return when not found.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties

Inherited Functions

References