feat(ugc): processor=toolbox-blender in the UGC server

The processor setting and toolbox_* settings (Blender, LU-Toolbox-
Standalone, add-ons folder, brick and work folders, device, threads,
timeout). Models asking for toolbox-blender are made by the Blender
worker when it can run, else natively, logged at start, when it changes
and per make. /status has the worker's state; --make-model takes
toolbox-blender too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Aaron Kimbrell
2026-09-29 16:28:36 -05:00
parent 6ae6eac64e
commit 889cc79e94
4 changed files with 134 additions and 7 deletions

View File

@@ -149,6 +149,29 @@ embree_gpu_device=0
denoise=off
denoise_samples=4
# What makes the models: native (the UGC server's own pipeline) or toolbox-blender (LU Toolbox itself in a headless
# Blender, an external program the UGC server starts and keeps running; far slower, one model at a time). Staff can pick
# either for one make. Without Blender, LU Toolbox or niftools (the settings below) toolbox-blender can't be used: models
# are made natively and the UGC server logs why (docs/UgcServer.md, "LU Toolbox in Blender").
# toolbox_blender: the Blender executable (LU Toolbox is made for Blender 3.1).
# toolbox_standalone_dir: the LU-Toolbox-Standalone folder (lu_batch_driver.py).
# toolbox_scripts_dir: a Blender scripts folder whose addons/ has lu_toolbox and io_scene_niftools (empty: the add-ons
# installed in Blender's own user folder).
# toolbox_brickdb_dir, toolbox_work_dir: LU Toolbox's brick folder (made from the client's res the first time) and the
# folder of the model being made and Blender's log, relative to the server binaries.
# toolbox_device: what Cycles bakes on: cpu, cuda, optix, hip or auto. toolbox_threads: Blender's CPU threads (its CPU
# time counts against max_cpu_percent, which pauses it; worker_nice applies to it). toolbox_timeout_seconds: a model
# taking longer fails and Blender is started again.
processor=native
toolbox_blender=
toolbox_standalone_dir=
toolbox_scripts_dir=
toolbox_brickdb_dir=toolbox-brickdb
toolbox_work_dir=toolbox-work
toolbox_device=cpu
toolbox_threads=4
toolbox_timeout_seconds=1800
# Bake ambient occlusion into the vertex colors: rays per vertex, how far they look, strength 0 (none) to 1, and how
# much glowing colors add
bake_ao=1