migrated texture generation script to cli

This commit is contained in:
ykcheungab
2026-09-16 21:34:59 +08:00
parent a29ca6846c
commit 026f495f77
12 changed files with 1292 additions and 124 deletions
+21
View File
@@ -22,6 +22,27 @@ objects:
cam_sensor: cam_sensor
origin_sensor: origin_sensor
# Headless colored-patch texture generation (`orisys-design texture`).
# UV unwrapping is still done in the Blender GUI: the headless run consumes the
# UV map already stored in source_blend and never creates or unwraps one.
# These are the revision defaults; CLI flags override every value.
texture_patch:
mesh: sensing_surface
camera: cam_sensor
filename: patch_texture.png
width: 3280 # 1640*2
height: 3200 # 1600*2
nx: 80
ny: 45
color_r: 0.05
edge_sample_grid: 5
seed: null # set an integer for reproducible colours
cross:
enabled: true
length_px: 40
thickness_px: 3
color: [1.0, 0.0, 0.0, 1.0] # red reference cross
collections:
frames: FRAMES
export_compute: EXPORT_COMPUTE