BakeSettings
human/process/bake.pyThe human.process.baking API of earlier versions.
Use human.process.bake_textures and human.process.was_baked instead.
| Methods | ||
|---|---|---|
| bake_all() | list[bpy.types.Image] | Bakes every material of this human, see `ProcessSettings.bake_textures`. |
| is_baked() | bool | Whether the materials of this human were baked, see `ProcessSettings.was_baked`. |
Methods
human.process.baking.bake_all(folder_path: Optional[str] = None, samples: int = 4, settings: Optional[TextureBakeSettings] = None, context: C = None) → list[bpy.types.Image]
sourceBakes every material of this human, see ProcessSettings.bake_textures.
| Parameter | Type | Description |
|---|---|---|
| folder_path | Optional[str] default None | Folder to write the images to, None packs them in the blend file. |
| samples | int default 4 | Cycles samples of the bakes. |
| settings | Optional[TextureBakeSettings] default None | Passes, resolution and packing. Defaults to separate maps at 2k. |
| context | C default None | Blender context. bpy.context if not provided. |
Returns list[bpy.types.Image] — list[bpy.types.Image]: The baked images.
Whether the materials of this human were baked, see ProcessSettings.was_baked.
Returns bool