update xynova texture generation yaml

This commit is contained in:
ykcheungab
2026-09-19 19:44:04 +08:00
parent a883288c13
commit 55bab861c3
3 changed files with 49 additions and 12 deletions
+48 -11
View File
@@ -6,23 +6,60 @@ status: draft
authoring_unit: mm authoring_unit: mm
meters_per_source_unit: 0.001 meters_per_source_unit: 0.001
source_blend: source/assembly.blend source_blend: source/geometry.blend
# Expected sensing surface topology for r01 (from shipped 30fps-0703 runtime). # Expected sensing surface topology for r01 (from shipped 30fps-0703 runtime).
# First exports from geometry.blend may differ until topology is locked.
expected: expected:
sensing_vertices: 1032 sensing_vertices: 2595
sensing_triangles: 1974 sensing_triangles: 5005
frames: frames:
world: world sensor: origin_sensor
camera: camera
objects:
sensing_surface: sensing_surface
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 maps already stored in source_blend and never creates or unwraps one.
# One PNG/SVG/PDF set is written per UV map below. All maps and formats share
# the settings and patch colours, so they differ only by UV layout.
# These are the revision defaults; CLI flags override every value.
texture_patch:
mesh: sensing_surface
camera: cam_sensor
uv_outputs:
produce: patch_texture_produce.png # hardware production layout
compute: patch_texture_compute.png # compute/runtime layout
width: 3700 # 1850*2
height: 3280 # 1640*2
# Camera frame is square (1000x1000), so equal counts make camera-space
# elements square. The original 80x45 grid was copied from a 16:9 camera.
nx: 80
ny: 80
color_r: 0.05
edge_sample_grid: 5
seed: 7 # fixed so PNG/SVG/PDF share one reproducible colour set
vector:
width_mm: 18.5 # editable SVG/PDF production page width
height_mm: 16.4 # editable SVG/PDF production page height
cross:
enabled: true
length_px: 40
thickness_px: 3
color: [1.0, 0.0, 0.0, 1.0] # red reference cross
collections: collections:
sensing_surface: SENSOR_SURFACE frames: FRAMES
housing: SENSOR_HOUSING export_compute: EXPORT_COMPUTE
marker_pattern: MARKER_PATTERN assembly: ASSEMBLY
camera_rig: CAMERA_RIG design_sim: DESIGN_SIM
exclude: EXCLUDE
notes: | notes: |
Legacy bootstrap blend is vtbs-blender/thumb.blend copied to source/assembly.blend. Canonical source is geometry.blend with named collections and objects.
Split into sensing-surface.blend + housing.blend when two people edit geometry. Compute export uses sensing_surface + cam_sensor relative to origin_sensor.
Studio observation cameras are derived from mesh bounds; no cam_viz required.
Binary file not shown.
+1 -1
View File
@@ -1,6 +1,6 @@
sensor: finger sensor: finger
revision: r01 revision: r01
status: draft status: experimental
# Authoring unit in Blender (mm). Export converts using meters_per_source_unit. # Authoring unit in Blender (mm). Export converts using meters_per_source_unit.
authoring_unit: mm authoring_unit: mm