pyvale.render.blender.adapter module

Unified Blender renderer adapter.

class Blender(config)[source]

Bases: IRenderer3D

Render common scene data and deformation frames in Blender.

capabilities = RenderCapabilities(element_types=frozenset({<EElemType.TRI3: 'tri3'>}), supports_lights=True, supports_camera_distortion=False, supports_psf=False)
__init__(config)[source]

Store configuration used by subsequent requests.

verify_input(scene)[source]

Validate a complete Blender request before scene construction.

raise_if_blender_unavailable()[source]

Raise RenderInputError if the optional Blender backend is missing.

blender_available()[source]

Return whether this interpreter can execute the Blender backend.

blender_gpu_available()[source]

Return whether Blender reports a supported Cycles GPU device.

Returns:

boolTrue when Blender’s Cycles preferences report a CUDA, OptiX, HIP, Metal, or oneAPI device. False if Blender is unavailable.