Newer
Older
SmTIAS-LightSim / configs / scene_baseline.yaml
name: baseline_minitias
description: 'MiniTIAS 基準設計の仮置きシーン(Step 8 - 基準設計のキャリブレーション).

  LED 配置・材料パラメータは現時点では仮置きで、実測値と突合しながら調整する.

  '
geometry:
  meshes:
  - id: housing_front
    path: meshes/前側.stl
    unit: mm
    material: housing_inner
  - id: housing_back
    path: meshes/後側.stl
    unit: mm
    material: housing_inner
  - id: phone_holder
    path: meshes/スマホホルダ.stl
    unit: mm
    material: holder_dark
  - id: led_cover
    path: meshes/LED基板カバー.stl
    unit: mm
    material: led_cover_white
  - id: phone_body
    path: meshes/SH-02M.stl
    unit: mm
    material: phone_body_dark
  - id: evaluation_board
    path: meshes/照明ムラ補正ボード.stl
    unit: mm
    material: white_lambert
materials:
  housing_inner:
    type: diffuse
    reflectance:
    - 0.85
    - 0.85
    - 0.85
  holder_dark:
    type: diffuse
    reflectance:
    - 0.5
    - 0.5
    - 0.5
  led_cover_white:
    # 薄膜誘電体(PMMA 屈折率 1.49).LED 直接光を Fresnel 透過 + 一部反射でディフューザーとして扱う.
    # ※ Mitsuba の thindielectric は鏡面反射 + 透過のみで散乱はしないため,乳白色のディフューザー
    #    本来の挙動とは異なる.より正確には blendbsdf 等で散乱を足す必要があるが Phase 8 では未対応.
    type: thindielectric
    int_ior: 1.49
    ext_ior: 1.0
  phone_body_dark:
    type: diffuse
    reflectance:
    - 0.05
    - 0.05
    - 0.05
  white_lambert:
    type: diffuse
    reflectance: 0.95
lights:
- id: led_bottom_0
  type: area
  shape: rectangle
  center:
  - -21.67
  - -70.2
  - -65.3
  size:
  - 2.8
  - 3.5
  direction:
  - 0.0
  - 1.0
  - 0.0
  radiance:
  - 1.0
  - 1.0
  - 1.0
- id: led_bottom_1
  type: area
  shape: rectangle
  center:
  - -13.0
  - -70.2
  - -65.3
  size:
  - 2.8
  - 3.5
  direction:
  - 0.0
  - 1.0
  - 0.0
  radiance:
  - 1.0
  - 1.0
  - 1.0
- id: led_bottom_2
  type: area
  shape: rectangle
  center:
  - -4.33
  - -70.2
  - -65.3
  size:
  - 2.8
  - 3.5
  direction:
  - 0.0
  - 1.0
  - 0.0
  radiance:
  - 1.0
  - 1.0
  - 1.0
- id: led_bottom_3
  type: area
  shape: rectangle
  center:
  - 4.33
  - -70.2
  - -65.3
  size:
  - 2.8
  - 3.5
  direction:
  - 0.0
  - 1.0
  - 0.0
  radiance:
  - 1.0
  - 1.0
  - 1.0
- id: led_bottom_4
  type: area
  shape: rectangle
  center:
  - 13.0
  - -70.2
  - -65.3
  size:
  - 2.8
  - 3.5
  direction:
  - 0.0
  - 1.0
  - 0.0
  radiance:
  - 1.0
  - 1.0
  - 1.0
- id: led_bottom_5
  type: area
  shape: rectangle
  center:
  - 21.67
  - -70.2
  - -65.3
  size:
  - 2.8
  - 3.5
  direction:
  - 0.0
  - 1.0
  - 0.0
  radiance:
  - 1.0
  - 1.0
  - 1.0
- id: led_right_0
  type: area
  shape: rectangle
  center:
  - 70.2
  - -21.67
  - -65.3
  size:
  - 2.8
  - 3.5
  direction:
  - -1.0
  - 0.0
  - 0.0
  radiance:
  - 1.0
  - 1.0
  - 1.0
- id: led_right_1
  type: area
  shape: rectangle
  center:
  - 70.2
  - -13.0
  - -65.3
  size:
  - 2.8
  - 3.5
  direction:
  - -1.0
  - 0.0
  - 0.0
  radiance:
  - 1.0
  - 1.0
  - 1.0
- id: led_right_2
  type: area
  shape: rectangle
  center:
  - 70.2
  - -4.33
  - -65.3
  size:
  - 2.8
  - 3.5
  direction:
  - -1.0
  - 0.0
  - 0.0
  radiance:
  - 1.0
  - 1.0
  - 1.0
- id: led_right_3
  type: area
  shape: rectangle
  center:
  - 70.2
  - 4.33
  - -65.3
  size:
  - 2.8
  - 3.5
  direction:
  - -1.0
  - 0.0
  - 0.0
  radiance:
  - 1.0
  - 1.0
  - 1.0
- id: led_right_4
  type: area
  shape: rectangle
  center:
  - 70.2
  - 13.0
  - -65.3
  size:
  - 2.8
  - 3.5
  direction:
  - -1.0
  - 0.0
  - 0.0
  radiance:
  - 1.0
  - 1.0
  - 1.0
- id: led_right_5
  type: area
  shape: rectangle
  center:
  - 70.2
  - 21.67
  - -65.3
  size:
  - 2.8
  - 3.5
  direction:
  - -1.0
  - 0.0
  - 0.0
  radiance:
  - 1.0
  - 1.0
  - 1.0
- id: led_left_0
  type: area
  shape: rectangle
  center:
  - -70.2
  - -21.67
  - -65.3
  size:
  - 2.8
  - 3.5
  direction:
  - 1.0
  - 0.0
  - 0.0
  radiance:
  - 1.0
  - 1.0
  - 1.0
- id: led_left_1
  type: area
  shape: rectangle
  center:
  - -70.2
  - -13.0
  - -65.3
  size:
  - 2.8
  - 3.5
  direction:
  - 1.0
  - 0.0
  - 0.0
  radiance:
  - 1.0
  - 1.0
  - 1.0
- id: led_left_2
  type: area
  shape: rectangle
  center:
  - -70.2
  - -4.33
  - -65.3
  size:
  - 2.8
  - 3.5
  direction:
  - 1.0
  - 0.0
  - 0.0
  radiance:
  - 1.0
  - 1.0
  - 1.0
- id: led_left_3
  type: area
  shape: rectangle
  center:
  - -70.2
  - 4.33
  - -65.3
  size:
  - 2.8
  - 3.5
  direction:
  - 1.0
  - 0.0
  - 0.0
  radiance:
  - 1.0
  - 1.0
  - 1.0
- id: led_left_4
  type: area
  shape: rectangle
  center:
  - -70.2
  - 13.0
  - -65.3
  size:
  - 2.8
  - 3.5
  direction:
  - 1.0
  - 0.0
  - 0.0
  radiance:
  - 1.0
  - 1.0
  - 1.0
- id: led_left_5
  type: area
  shape: rectangle
  center:
  - -70.2
  - 21.67
  - -65.3
  size:
  - 2.8
  - 3.5
  direction:
  - 1.0
  - 0.0
  - 0.0
  radiance:
  - 1.0
  - 1.0
  - 1.0
sensor:
  type: perspective
  position:
  - 0.0
  - 0.0
  - 100.0
  target:
  - 0.0
  - 0.0
  - 4.0
  up:
  - 0.0
  - 1.0
  - 0.0
  fov_deg: 60.0
  film:
    width: 512
    height: 512
    rfilter: gaussian
render:
  variant: llvm_ad_rgb
  integrator: path
  max_depth: 8
  spp: 128