- Implemented `image_plane.py` to build the Image Plane Geometry Nodes group with customizable parameters for geometry, subdivide, and thickness. - Created `image_plane_validation.py` to validate the functionality of the image plane, ensuring correct geometry generation and material assignment. - Developed `material_layers.py` to construct shader node groups for image materials, including depth and normal handling. - Authored `plane_layouts.py` to define node arrangements for image geometry assets. - Introduced `shadeless.py` to create a shadeless shader node group that displays color without scene lighting while preserving shadows and reflections.
38 lines
865 B
Python
38 lines
865 B
Python
from .remove_background import RemoveImageBackground, RunBackgroundRemoval
|
|
from .cutout_tool import (
|
|
CutoutSelectionToShape,
|
|
SelectCutoutSelection,
|
|
)
|
|
from .image_edit_tool import CLASSES as IMAGE_EDIT_TOOL_CLASSES
|
|
from .convert_to_plane import (
|
|
ConvertToDepthPlane,
|
|
ConvertToPlane,
|
|
GenerateDepthPlane,
|
|
)
|
|
from .ai_setup import (
|
|
ClearModels,
|
|
DownloadModel,
|
|
DownloadRequiredModels,
|
|
OpenAIEnvironmentSettings,
|
|
SetupAIEnvironment,
|
|
)
|
|
from .upscale import UpscaleImage
|
|
|
|
|
|
CLASSES = (
|
|
SetupAIEnvironment,
|
|
OpenAIEnvironmentSettings,
|
|
DownloadModel,
|
|
DownloadRequiredModels,
|
|
GenerateDepthPlane,
|
|
CutoutSelectionToShape,
|
|
SelectCutoutSelection,
|
|
RunBackgroundRemoval,
|
|
ClearModels,
|
|
*IMAGE_EDIT_TOOL_CLASSES,
|
|
RemoveImageBackground,
|
|
UpscaleImage,
|
|
ConvertToPlane,
|
|
ConvertToDepthPlane,
|
|
)
|