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_0Off β Turn off anisotropic filtering.FILTER_22Γ β Use 2 samples for anisotropic filtering.FILTER_44Γ β Use 4 samples for anisotropic filtering.FILTER_88Γ β Use 8 samples for anisotropic filtering.FILTER_1616Γ β Use 16 samples for anisotropic filtering.
- Type:
Literal[βFILTER_0β, βFILTER_2β, βFILTER_4β, βFILTER_8β, βFILTER_16β]
- bakeο
(readonly, never None)
- Type:
- 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')AUTOAuto β Use the same device used by the compositor to process the denoise node.CPUCPU β Use the CPU to process the denoise node.GPUGPU β 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')HIGHHigh β High quality.BALANCEDBalanced β Balanced between performance and quality.FASTFast β 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')HIGHHigh β High quality.BALANCEDBalanced β Balanced between performance and quality.FASTFast β High performance.
- Type:
Literal[βHIGHβ, βBALANCEDβ, βFASTβ]
- compositor_deviceο
Set how compositing is executed (default
'GPU')- Type:
Literal[βCPUβ, βGPUβ]
- compositor_precisionο
The precision of compositor intermediate result (default
'AUTO')AUTOAuto β Full precision for final renders, half precision otherwise.FULLFull β 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| None
- 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:
- 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')ABSOLUTEAbsolute β Specify unit line thickness in pixels.RELATIVERelative β 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')SCENEScene β Use metadata from the current scene.STRIPSSequencer 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')STARTStart on Frame β The shutter opens at the current frame.CENTERCenter on Frame β The shutter is open during the current frame.ENDEnd 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| None
- 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')AUTOAutomatic β Automatic pixel size, depends on the user interface scale.11Γ β Render at full resolution.22Γ β Render at 50% resolution.44Γ β Render at 25% resolution.88Γ β 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)
- 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')AUTOAuto-Detect β Automatically determine the number of threads, based on CPUs.FIXEDFixed β 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_compositor_frames_cacheο
Cache the result of the interactive compositor across frames (default False)
- 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:
- views_formatο
(default
'STEREO_3D')STEREO_3DStereo 3D β Single stereo camera system, adjust the stereo settings in the camera panel.MULTIVIEWMulti-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:
- 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