# Step 8-14 感度分析用: 内壁の非 Lambertian 性(光沢成分混合)テンプレート
#
# scene_baseline.yaml から `printer_white` 材料のみを blendbsdf に変更したもの.
# 他の設定(geometry / lights / sensor / render)は scene_baseline.yaml と完全に同じ.
#
# blendbsdf 構成:
# component[0]: diffuse (reflectance=0.85) ... 純粋 Lambertian 拡散反射
# component[1]: roughconductor (alpha=0.3) ... GGX マイクロファセット鏡面反射
# weight=0.15: component[1](鏡面)の混合比 = 15% specular
#
# スイープ対象パラメータ:
# weight ∈ {0.05, 0.15, 0.30} × alpha ∈ {0.1, 0.3, 0.6} の 9 組合せ
# → scripts/sweep_blend_bsdf.py が本ファイルを読んで weight/alpha を書き換えて実行する
#
# 参考: TECH_10 残差主因候補 §A1「内壁の非 Lambertian 性(光沢成分混合 BSDF)」
name: baseline_minitias_blend
description: >
MiniTIAS 基準設計シーン(Step 8-14 感度分析).
printer_white を diffuse + roughconductor の blendbsdf に変更して
内壁の光沢成分が輝度分布「形」に与える影響を観察する.
weight=0.15, alpha=0.3 はスイープの中間値(起点).
LED 位置・センサ・レンダリング設定は scene_baseline.yaml と同一.
geometry:
meshes:
- id: housing_front
path: meshes/前側.stl
unit: mm
material: printer_white
- id: housing_back
path: meshes/後側.stl
unit: mm
material: printer_white
- id: phone_holder
path: meshes/スマホホルダ.stl
unit: mm
material: holder_dark
- id: led_cover_bottom
path: meshes/LED基板カバー下.stl
unit: mm
material: printer_white
- id: led_cover_right
path: meshes/LED基板カバー右.stl
unit: mm
material: printer_white
- id: led_cover_left
path: meshes/LED基板カバー左.stl
unit: mm
material: printer_white
- id: phone_body
path: meshes/SH-02M.stl
unit: mm
material: phone_body_dark
- id: evaluation_board
path: meshes/照明ムラ補正ボード.stl
unit: mm
material: printer_white
materials:
printer_white:
type: blendbsdf
weight: 0.15 # specular 比(sweep 対象): 0=全 diffuse, 1=全 roughconductor
components:
- type: diffuse
reflectance:
- 0.85
- 0.85
- 0.85
- type: roughconductor
alpha: 0.3 # GGX 粗さ(sweep 対象): 0=鏡面, 1=マット
distribution: ggx
holder_dark:
type: diffuse
reflectance:
- 0.5
- 0.5
- 0.5
phone_body_dark:
type: diffuse
reflectance:
- 0.05
- 0.05
- 0.05
lights:
- id: led_bottom_0
type: area
shape: rectangle
center:
- -10.0
- -71.0
- -66.1
size:
- 2.8
- 3.5
direction:
- 0.0
- 0.0
- -1.0
radiance:
- 2807.2469840551203
- 2807.2469840551203
- 2807.2469840551203
- id: led_bottom_1
type: area
shape: rectangle
center:
- -5.8
- -71.0
- -66.1
size:
- 2.8
- 3.5
direction:
- 0.0
- 0.0
- -1.0
radiance:
- 2807.2469840551203
- 2807.2469840551203
- 2807.2469840551203
- id: led_bottom_2
type: area
shape: rectangle
center:
- -1.6
- -71.0
- -66.1
size:
- 2.8
- 3.5
direction:
- 0.0
- 0.0
- -1.0
radiance:
- 2807.2469840551203
- 2807.2469840551203
- 2807.2469840551203
- id: led_bottom_3
type: area
shape: rectangle
center:
- 9.2
- -71.0
- -66.1
size:
- 2.8
- 3.5
direction:
- 0.0
- 0.0
- -1.0
radiance:
- 2807.2469840551203
- 2807.2469840551203
- 2807.2469840551203
- id: led_bottom_4
type: area
shape: rectangle
center:
- 13.4
- -71.0
- -66.1
size:
- 2.8
- 3.5
direction:
- 0.0
- 0.0
- -1.0
radiance:
- 2807.2469840551203
- 2807.2469840551203
- 2807.2469840551203
- id: led_bottom_5
type: area
shape: rectangle
center:
- 17.6
- -71.0
- -66.1
size:
- 2.8
- 3.5
direction:
- 0.0
- 0.0
- -1.0
radiance:
- 2807.2469840551203
- 2807.2469840551203
- 2807.2469840551203
- id: led_right_0
type: area
shape: rectangle
center:
- 65.9987
- -24.9738
- -66.0243
size:
- 3.5
- 2.8
direction:
- 0.0
- 0.0
- -1.0
radiance:
- 2807.2469840551203
- 2807.2469840551203
- 2807.2469840551203
- id: led_right_1
type: area
shape: rectangle
center:
- 65.9987
- -20.7738
- -66.0243
size:
- 3.5
- 2.8
direction:
- 0.0
- 0.0
- -1.0
radiance:
- 2807.2469840551203
- 2807.2469840551203
- 2807.2469840551203
- id: led_right_2
type: area
shape: rectangle
center:
- 65.9987
- -16.5738
- -66.0243
size:
- 3.5
- 2.8
direction:
- 0.0
- 0.0
- -1.0
radiance:
- 2807.2469840551203
- 2807.2469840551203
- 2807.2469840551203
- id: led_right_3
type: area
shape: rectangle
center:
- 65.9987
- -5.7738
- -66.0243
size:
- 3.5
- 2.8
direction:
- 0.0
- 0.0
- -1.0
radiance:
- 2807.2469840551203
- 2807.2469840551203
- 2807.2469840551203
- id: led_right_4
type: area
shape: rectangle
center:
- 65.9987
- -1.5738
- -66.0243
size:
- 3.5
- 2.8
direction:
- 0.0
- 0.0
- -1.0
radiance:
- 2807.2469840551203
- 2807.2469840551203
- 2807.2469840551203
- id: led_right_5
type: area
shape: rectangle
center:
- 65.9987
- 2.6262
- -66.0243
size:
- 3.5
- 2.8
direction:
- 0.0
- 0.0
- -1.0
radiance:
- 2807.2469840551203
- 2807.2469840551203
- 2807.2469840551203
- id: led_left_0
type: area
shape: rectangle
center:
- -66.0067
- -32.5952
- -66.0243
size:
- 3.5
- 2.8
direction:
- 0.0
- 0.0
- -1.0
radiance:
- 2807.2469840551203
- 2807.2469840551203
- 2807.2469840551203
- id: led_left_1
type: area
shape: rectangle
center:
- -66.0067
- -28.3952
- -66.0243
size:
- 3.5
- 2.8
direction:
- 0.0
- 0.0
- -1.0
radiance:
- 2807.2469840551203
- 2807.2469840551203
- 2807.2469840551203
- id: led_left_2
type: area
shape: rectangle
center:
- -66.0067
- -24.1952
- -66.0243
size:
- 3.5
- 2.8
direction:
- 0.0
- 0.0
- -1.0
radiance:
- 2807.2469840551203
- 2807.2469840551203
- 2807.2469840551203
- id: led_left_3
type: area
shape: rectangle
center:
- -66.0067
- -13.3952
- -66.0243
size:
- 3.5
- 2.8
direction:
- 0.0
- 0.0
- -1.0
radiance:
- 2807.2469840551203
- 2807.2469840551203
- 2807.2469840551203
- id: led_left_4
type: area
shape: rectangle
center:
- -66.0067
- -9.1952
- -66.0243
size:
- 3.5
- 2.8
direction:
- 0.0
- 0.0
- -1.0
radiance:
- 2807.2469840551203
- 2807.2469840551203
- 2807.2469840551203
- id: led_left_5
type: area
shape: rectangle
center:
- -66.0067
- -4.9952
- -66.0243
size:
- 3.5
- 2.8
direction:
- 0.0
- 0.0
- -1.0
radiance:
- 2807.2469840551203
- 2807.2469840551203
- 2807.2469840551203
sensor:
type: orthographic
position:
- 0.0
- 0.0
- -50.0
target:
- 0.0
- 0.0
- 0.0
up:
- 0.0
- 1.0
- 0.0
ortho_scale:
- 50.0
- 52.0
film:
width: 512
height: 512
rfilter: gaussian
render:
variant: llvm_ad_rgb
integrator: path
max_depth: 8
spp: 1024