From 29806314148b5faf49872325521c23b15307a828 Mon Sep 17 00:00:00 2001 From: henrisel Date: Fri, 21 Nov 2025 16:30:56 +0200 Subject: [PATCH] decrease texture baking optimisation total steps --- 3d-generation-pipeline/README.md | 3 +++ 3d-generation-pipeline/generate_model_local.py | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/3d-generation-pipeline/README.md b/3d-generation-pipeline/README.md index d5b53e08..6282a9c3 100644 --- a/3d-generation-pipeline/README.md +++ b/3d-generation-pipeline/README.md @@ -1,3 +1,6 @@ ### TODO * Artikkel text-to-3d prompt engineeringu kohta: "Sel3DCraft: Interactive Visual Prompts for User-Friendly Text-to-3D Generation" * TRELLIS: postprocessing_utils: texture baking mode: 'opt' vs 'fast' - hardcoded 'opt', kui võimaldada 'fast' siis tuleb error + +### Notes +* TRELLIS: added functionality to specify texture baking optimisation total steps as an argument (`texture_opt_total_steps`), to replace the hardcoded 2500. But this is not tracked in Git (because modified this https://github.com/IgorAherne/trellis-stable-projectorz/releases/tag/latest) diff --git a/3d-generation-pipeline/generate_model_local.py b/3d-generation-pipeline/generate_model_local.py index 03c9e7e4..76474287 100644 --- a/3d-generation-pipeline/generate_model_local.py +++ b/3d-generation-pipeline/generate_model_local.py @@ -48,8 +48,9 @@ def generate_no_preview(image_base64: str): 'slat_guidance_strength': 7.5, 'slat_sampling_steps': 10, 'mesh_simplify_ratio': 0.99, - 'texture_size': 512, + 'texture_size': 1024, #'texture_baking_mode': 'opt', + 'texture_opt_total_steps': 1000, 'output_format': 'glb' }