Add new node asset scripts for geometry and shader operations
- Implemented `build_mesh_plane.py` to create a geometry node group for mesh planes with customizable parameters. - Created `build_shadeless.py` for a shader node group that displays color without scene lighting while preserving shadows and reflections. - Added `validate.py` to validate the integrity of the newly created node groups and their inputs. - Introduced `validate_cutout.py` to ensure the functionality of cutout node groups and their dependencies. - Developed `validate_mesh_plane.py` to test the mesh plane creation and its modifier settings.
This commit is contained in:
@@ -1,14 +1,19 @@
|
||||
from .background import ProcessImageBackground, RemoveImageBackground
|
||||
from .cutout import ActivateCutoutTool, SelectCutoutRegion
|
||||
from .debug import DebugBen2, DebugDa3, DebugMoge2, DebugUpscale
|
||||
from .image_edit import CLASSES as IMAGE_EDIT_CLASSES
|
||||
from .mesh import (
|
||||
from .remove_background import RemoveImageBackground, RunBackgroundRemoval
|
||||
from .cutout_tool import (
|
||||
ActivateCutoutTool,
|
||||
ConvertCutoutShape,
|
||||
GenerateCutoutShape,
|
||||
SelectCutoutRegion,
|
||||
)
|
||||
from .debug import DebugBen2, DebugDa3, DebugMoge2, DebugUpscale
|
||||
from .image_tool import CLASSES as IMAGE_TOOL_CLASSES
|
||||
from .convert_to_plane import (
|
||||
ConvertToDepthPlane,
|
||||
ConvertToPlane,
|
||||
GenerateMesh,
|
||||
GenerateDepthPlane,
|
||||
)
|
||||
from .models import (
|
||||
from .perspective_tool import CLASSES as PERSPECTIVE_CLASSES
|
||||
from .ai_setup import (
|
||||
ClearModels,
|
||||
DownloadModel,
|
||||
DownloadRequiredModels,
|
||||
@@ -27,13 +32,15 @@ CLASSES = (
|
||||
DebugMoge2,
|
||||
DebugBen2,
|
||||
DebugUpscale,
|
||||
GenerateMesh,
|
||||
GenerateDepthPlane,
|
||||
GenerateCutoutShape,
|
||||
SelectCutoutRegion,
|
||||
ConvertCutoutShape,
|
||||
ActivateCutoutTool,
|
||||
ProcessImageBackground,
|
||||
RunBackgroundRemoval,
|
||||
ClearModels,
|
||||
*IMAGE_EDIT_CLASSES,
|
||||
*IMAGE_TOOL_CLASSES,
|
||||
*PERSPECTIVE_CLASSES,
|
||||
RemoveImageBackground,
|
||||
UpscaleImage,
|
||||
ConvertToPlane,
|
||||
|
||||
Reference in New Issue
Block a user