From 0af7a460f9c177c27570f3986143daa63ebacf75 Mon Sep 17 00:00:00 2001 From: Terry Jia Date: Tue, 19 Nov 2024 22:37:57 -0500 Subject: [PATCH] add depth display --- comfy_extras/nodes_load_3d.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/comfy_extras/nodes_load_3d.py b/comfy_extras/nodes_load_3d.py index 322890aa..ac098e20 100644 --- a/comfy_extras/nodes_load_3d.py +++ b/comfy_extras/nodes_load_3d.py @@ -22,7 +22,7 @@ class Load3D(): "show_grid": ([True, False],), "camera_type": (["perspective", "orthographic"],), "view": (["front", "right", "top", "isometric"],), - "material": (["original", "normal", "wireframe"],), + "material": (["original", "normal", "wireframe", "depth"],), "bg_color": ("INT", {"default": 0, "min": 0, "max": 0xFFFFFF, "step": 1, "display": "color"}), "light_intensity": ("INT", {"default": 10, "min": 1, "max": 20, "step": 1}), "up_direction": (["original", "-x", "+x", "-y", "+y", "-z", "+z"],), @@ -57,7 +57,7 @@ class Load3DAnimation(): "show_grid": ([True, False],), "camera_type": (["perspective", "orthographic"],), "view": (["front", "right", "top", "isometric"],), - "material": (["original", "normal", "wireframe"],), + "material": (["original", "normal", "wireframe", "depth"],), "bg_color": ("INT", {"default": 0, "min": 0, "max": 0xFFFFFF, "step": 1, "display": "color"}), "light_intensity": ("INT", {"default": 10, "min": 1, "max": 20, "step": 1}), "up_direction": (["original", "-x", "+x", "-y", "+y", "-z", "+z"],), @@ -85,7 +85,7 @@ class Preview3D(): "show_grid": ([True, False],), "camera_type": (["perspective", "orthographic"],), "view": (["front", "right", "top", "isometric"],), - "material": (["original", "normal", "wireframe"],), + "material": (["original", "normal", "wireframe", "depth"],), "bg_color": ("INT", {"default": 0, "min": 0, "max": 0xFFFFFF, "step": 1, "display": "color"}), "light_intensity": ("INT", {"default": 10, "min": 1, "max": 20, "step": 1}), "up_direction": (["original", "-x", "+x", "-y", "+y", "-z", "+z"],),