Rendering Utils

Some useful untilities for Blender.

threedb.rendering.utils.sample_upper_sphere()Vector
threedb.rendering.utils.lookat_viewport(target: Vector, location: Vector)Vector
class threedb.rendering.utils.ControlsApplier(control_list: List[Tuple[str, str]], render_args: Dict[Tuple[str, str], Any], controls_args: Dict[str, Dict[str, Any]], root_folder: str)

Bases: object

__init__(control_list: List[Tuple[str, str]], render_args: Dict[Tuple[str, str], Any], controls_args: Dict[str, Dict[str, Any]], root_folder: str)

Initialize self. See help(type(self)) for accurate signature.

apply_pre_controls(context: Dict[str, Any])None
unapply(context: Dict[str, Any])None
apply_post_controls(img)