Files
styletransferandClaude Opus 4.5 5d0cc8aa0a Initial commit: ComfyUI-TRELLIS2_Motion node package
Features:
- 8 ComfyUI nodes for TRELLIS2 video-to-3D processing
- Onion skinning with configurable frame interval
- Multiple rendering modes (PBR, wireframe, cel, normal, depth)
- 4 lighting presets (studio, outdoor, dramatic, flat)
- Post-processing effects (bloom, DoF, motion blur, outlines)
- Progress bars and auto model download
- 5 example workflows

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-20 13:30:04 -05:00

61 lines
1.2 KiB
Python

"""Utility modules for ComfyUI-TRELLIS2_Motion."""
from .camera_utils import (
create_rotation_matrix,
create_orbit_camera,
create_intrinsic_matrix,
interpolate_cameras,
create_camera_trajectory,
estimate_mesh_center,
estimate_mesh_distance,
)
from .video_utils import (
extract_frames,
interpolate_missing_frames,
batch_to_list,
list_to_batch,
resize_frames,
get_video_info,
)
from .download_utils import (
ensure_trellis_model,
is_trellis_model_downloaded,
get_progress_bar,
)
from .mesh_utils import (
load_mesh,
save_mesh,
mesh_to_tensors,
get_mesh_info,
)
__all__ = [
# Camera
"create_rotation_matrix",
"create_orbit_camera",
"create_intrinsic_matrix",
"interpolate_cameras",
"create_camera_trajectory",
"estimate_mesh_center",
"estimate_mesh_distance",
# Video
"extract_frames",
"interpolate_missing_frames",
"batch_to_list",
"list_to_batch",
"resize_frames",
"get_video_info",
# Download
"ensure_trellis_model",
"is_trellis_model_downloaded",
"get_progress_bar",
# Mesh
"load_mesh",
"save_mesh",
"mesh_to_tensors",
"get_mesh_info",
]