This commit is contained in:
syuilo 2026-05-25 12:33:17 +09:00
commit 9a44c69177
8 changed files with 1383 additions and 100 deletions

View file

@ -3599,7 +3599,7 @@ _miRoom:
bezelMat: "ベゼルの素材"
bodyMat: "本体の素材"
image: "画面の画像"
"image:desktop": "デスクトップ"
image_desktop: "デスクトップ"
screenBrightness: "画面の明るさ"
aquarium: "水槽"
aromaReedDiffuser: "アロマリードディフューザー"
@ -3625,11 +3625,6 @@ _miRoom:
books: "本の束"
_books:
variation: "バリエーション"
"variation:A": "A"
"variation:B": "B"
"variation:C": "C"
"variation:D": "D"
"variation:E": "E"
boxWallShelf: "ボックス型ウォールシェルフ"
_boxWallShelf:
bodyMat: "本体の素材"
@ -3642,9 +3637,9 @@ _miRoom:
cardboardBox: "段ボール箱"
_cardboardBox:
variation: "バリエーション"
"variation:aizon": "アイゾン"
"variation:default": "デフォルト"
"variation:mikan": "みかん"
variation_aizon: "Aizon"
variation_default: "デフォルト"
variation_mikan: "みかん"
ceilingFanLight: "シーリングファンライト"
_ceilingFanLight:
shadeMat: "シェードの素材"
@ -3652,10 +3647,10 @@ _miRoom:
_chair:
primaryMat: "メインの素材"
secondaryMat: "サブの素材"
clippedPicture: "切り抜き画像"
clippedPicture: "留められた写真"
_clippedPicture:
height: "高さ"
image: "カスタム画像"
image: "画像"
width: "幅"
coffeeCup: "コーヒーカップ"
colorBox: "カラーボックス"
@ -3669,10 +3664,8 @@ _miRoom:
z: "Z"
cupNoodle: "カップ麺"
curtain: "カーテン"
custardPudding: "カスタードプリン"
debugHipoly: "デバッグ高ポリ"
debugMetal: "デバッグメタル"
descriptionPlate: "説明プレート"
custardPudding: "プリン"
descriptionPlate: "説明が書かれたプレート"
desk: "デスク"
_desk:
boardMat: "板の素材"
@ -3693,13 +3686,13 @@ _miRoom:
image: "画像"
"image:waveform": "波形"
screenBrightness: "画面の明るさ"
ductRailSpotLights: "ダクトレールスポットライト"
ductRailSpotLights: "スポットライト付きダクトレール"
_ductRailSpotLights:
angleH: "横方向の角度"
angleV: "縦方向の角度"
bodyMat: "本体の素材"
light: "照明"
ductTape: "ダクトテープ"
ductTape: "ガムテープ"
electronicDisplayBoard: "電光掲示板"
_electronicDisplayBoard:
frameMat: "フレームの素材"
@ -3736,8 +3729,6 @@ _miRoom:
issyoubin: "一升瓶"
_issyoubin:
variation: "バリエーション"
"variation:ai": "AI"
"variation:misuki": "ミスキ"
keyboard: "キーボード"
_keyboard:
bodyMat: "本体の素材"
@ -3759,13 +3750,13 @@ _miRoom:
lavaColor: "ラバの色"
lightColor: "光の色"
letterCase: "レターケース"
lowPartitionBar: "ローパーティションバー"
lowPartitionBar: "低いパーティションバー"
_lowPartitionBar:
bodyMat: "本体の素材"
width: "幅"
miObjet: "Miオブジェ"
miPlate: "Miプレート"
miPlateDisplayed: "Miプレート(展示)"
miPlateDisplayed: "飾られたMiプレート"
milk: "牛乳"
mixer: "ミキサー"
monitor: "モニター"
@ -3780,7 +3771,7 @@ _miRoom:
_monstera:
potMat: "鉢の素材"
mug: "マグカップ"
newtonsCradle: "ニュートンのゆりかご"
newtonsCradle: "ニュートンクレードル"
_newtonsCradle:
frameMat: "フレームの素材"
openedCardboardBox: "開いた段ボール箱"
@ -3791,8 +3782,8 @@ _miRoom:
_petBottle:
empty: "空"
variation: "バリエーション"
"variation:green-tea": "緑茶"
"variation:mineral-water": "ミネラルウォーター"
variation_greenTea: "緑茶"
variation_mineralWater: "ミネラルウォーター"
withCap: "キャップあり"
withLabel: "ラベルあり"
piano: "ピアノ"
@ -3825,14 +3816,14 @@ _miRoom:
seed: "シード"
stackVertically: "縦に積む"
variation: "バリエーション"
"variation:mix": "ミックス"
"variation:mix-plain": "ミックス(無地)"
variation_mix: "いろいろ"
variation_mixPlain: "いろいろ(無地)"
recordPlayer: "レコードプレーヤー"
rolledUpPoster: "丸めたポスター"
roundRug: "円形ラグ"
roundRug: "円形ラグ"
router: "ルーター"
siphon: "サイフォン"
snakeplant: "サンベリア"
snakeplant: "サンベリア"
_snakeplant:
potMat: "鉢の素材"
sofa: "ソファ"
@ -3853,29 +3844,18 @@ _miRoom:
bodyMat: "本体の素材"
light: "照明"
sprayer: "霧吹き"
stanchionPole: "ガイドポール"
stanchionPole: "スタンションポール"
_stanchionPole:
bodyMat: "本体の素材"
ropeMat: "ロープの素材"
steelRack: "スチールラック"
_steelRack:
height: "高さ"
numberOfShelfs: "棚板の数"
poleMat: "支柱の素材"
shelf10Position: "棚板10の位置"
shelf1Position: "棚板1の位置"
shelf2Position: "棚板2の位置"
shelf3Position: "棚板3の位置"
shelf4Position: "棚板4の位置"
shelf5Position: "棚板5の位置"
shelf6Position: "棚板6の位置"
shelf7Position: "棚板7の位置"
shelf8Position: "棚板8の位置"
shelf9Position: "棚板9の位置"
shelfMat: "棚板の素材"
widthAndDepthVariation: "幅 x 奥行き"
"widthAndDepthVariation:60-35": "60 x 35"
"widthAndDepthVariation:90-35": "90 x 35"
numberOfShelfs: "シェルフの数"
poleMat: "ポールの素材"
shelfPositionOf: "シェルフの位置"
shelfMat: "シェルフの素材"
widthAndDepthVariation: "W x D"
stormGlass: "ストームグラス"
tableSalt: "食卓塩"
tabletopCalendar: "卓上カレンダー"
@ -3923,9 +3903,9 @@ _miRoom:
_tv:
bodyMat: "本体の素材"
screenBrightness: "画面の明るさ"
twistedCubeObjet: "ねじれ立方体オブジェ"
twistedCubeObjet: "ねじれ立方体オブジェ"
usedTissue: "使用済みティッシュ"
wallCanvas: "ウォールキャンバス"
wallCanvas: "壁掛けキャンバス"
_wallCanvas:
height: "高さ"
image: "画像"
@ -3933,18 +3913,18 @@ _miRoom:
wallClock: "壁掛け時計"
_wallClock:
frameMat: "フレームの素材"
wallGlassPictureFrame: "壁掛けガラスフォトフレーム"
wallGlassPictureFrame: "ガラスの壁掛けフォトフレーム"
_wallGlassPictureFrame:
height: "高さ"
image: "画像"
width: "幅"
wallMirror: "壁掛け"
wallMirror: "壁掛けミラー"
_wallMirror:
frameMat: "フレームの素材"
frameThickness: "フレームの厚み"
height: "高さ"
width: "幅"
wallMountSpotLight: "壁付けスポットライト"
wallMountSpotLight: "ウォールマウントスポットライト"
_wallMountSpotLight:
angleH: "横方向の角度"
angleV: "縦方向の角度"
@ -3957,10 +3937,6 @@ _miRoom:
"boardStyle:color": "単色"
"boardStyle:wood": "木目"
style: "スタイル"
"style:A": "A"
"style:B": "B"
"style:C": "C"
"style:D": "D"
wireBasket: "ワイヤーバスケット"
_wireBasket:
bodyMat: "本体の素材"

View file

@ -17,19 +17,19 @@ export const books = defineObject({
type: 'enum',
label: i18n.ts._miRoom._objects._books.variation,
enum: [{
label: i18n.ts._miRoom._objects._books.variation_a,
label: 'A',
value: 'A',
}, {
label: i18n.ts._miRoom._objects._books.variation_b,
label: 'B',
value: 'B',
}, {
label: i18n.ts._miRoom._objects._books.variation_c,
label: 'C',
value: 'C',
}, {
label: i18n.ts._miRoom._objects._books.variation_d,
label: 'D',
value: 'D',
}, {
label: i18n.ts._miRoom._objects._books.variation_e,
label: 'E',
value: 'E',
}],
},

View file

@ -4,11 +4,10 @@
*/
import { defineObject } from '../object.js';
import { i18n } from '@/i18n.js';
export const debugHipoly = defineObject({
id: 'debugHipoly',
name: i18n.ts._miRoom._objects.debugHipoly,
name: 'Debug Hipoly',
options: {
schema: {},
default: {},

View file

@ -4,11 +4,10 @@
*/
import { defineObject } from '../object.js';
import { i18n } from '@/i18n.js';
export const debugMetal = defineObject({
id: 'debugMetal',
name: i18n.ts._miRoom._objects.debugMetal,
name: 'Debug Metal',
options: {
schema: {},
default: {},

View file

@ -16,10 +16,10 @@ export const issyoubin = defineObject({
type: 'enum',
label: i18n.ts._miRoom._objects._issyoubin.variation,
enum: [{
label: i18n.ts._miRoom._objects._issyoubin.variation_misuki,
label: 'A',
value: 'misuki',
}, {
label: i18n.ts._miRoom._objects._issyoubin.variation_ai,
label: 'B',
value: 'ai',
}],
},

View file

@ -25,10 +25,10 @@ export const steelRack = defineObject({
type: 'enum',
label: i18n.ts._miRoom._objects._steelRack.widthAndDepthVariation,
enum: [{
label: i18n.ts._miRoom._objects._steelRack['widthAndDepthVariation:60-35'],
label: '60cm x 35cm',
value: '60-35',
}, {
label: i18n.ts._miRoom._objects._steelRack['widthAndDepthVariation:90-35'],
label: '90cm x 35cm',
value: '90-35',
}],
},
@ -48,70 +48,70 @@ export const steelRack = defineObject({
},
shelf1Position: {
type: 'range',
label: i18n.ts._miRoom._objects._steelRack.shelf1Position,
label: i18n.ts._miRoom._objects._steelRack.shelfPositionOf + ' #1',
min: 0,
max: 1,
step: 0.01,
},
shelf2Position: {
type: 'range',
label: i18n.ts._miRoom._objects._steelRack.shelf2Position,
label: i18n.ts._miRoom._objects._steelRack.shelfPositionOf + ' #2',
min: 0,
max: 1,
step: 0.01,
},
shelf3Position: {
type: 'range',
label: i18n.ts._miRoom._objects._steelRack.shelf3Position,
label: i18n.ts._miRoom._objects._steelRack.shelfPositionOf + ' #3',
min: 0,
max: 1,
step: 0.01,
},
shelf4Position: {
type: 'range',
label: i18n.ts._miRoom._objects._steelRack.shelf4Position,
label: i18n.ts._miRoom._objects._steelRack.shelfPositionOf + ' #4',
min: 0,
max: 1,
step: 0.01,
},
shelf5Position: {
type: 'range',
label: i18n.ts._miRoom._objects._steelRack.shelf5Position,
label: i18n.ts._miRoom._objects._steelRack.shelfPositionOf + ' #5',
min: 0,
max: 1,
step: 0.01,
},
shelf6Position: {
type: 'range',
label: i18n.ts._miRoom._objects._steelRack.shelf6Position,
label: i18n.ts._miRoom._objects._steelRack.shelfPositionOf + ' #6',
min: 0,
max: 1,
step: 0.01,
},
shelf7Position: {
type: 'range',
label: i18n.ts._miRoom._objects._steelRack.shelf7Position,
label: i18n.ts._miRoom._objects._steelRack.shelfPositionOf + ' #7',
min: 0,
max: 1,
step: 0.01,
},
shelf8Position: {
type: 'range',
label: i18n.ts._miRoom._objects._steelRack.shelf8Position,
label: i18n.ts._miRoom._objects._steelRack.shelfPositionOf + ' #8',
min: 0,
max: 1,
step: 0.01,
},
shelf9Position: {
type: 'range',
label: i18n.ts._miRoom._objects._steelRack.shelf9Position,
label: i18n.ts._miRoom._objects._steelRack.shelfPositionOf + ' #9',
min: 0,
max: 1,
step: 0.01,
},
shelf10Position: {
type: 'range',
label: i18n.ts._miRoom._objects._steelRack.shelf10Position,
label: i18n.ts._miRoom._objects._steelRack.shelfPositionOf + ' #10',
min: 0,
max: 1,
step: 0.01,

View file

@ -16,30 +16,19 @@ export const wallShelf = defineObject({
type: 'enum',
label: i18n.ts._miRoom._objects._wallShelf.style,
enum: [{
label: i18n.ts._miRoom._objects._wallShelf['style:A'],
label: 'A',
value: 'A',
}, {
label: i18n.ts._miRoom._objects._wallShelf['style:B'],
label: 'B',
value: 'B',
}, {
label: i18n.ts._miRoom._objects._wallShelf['style:C'],
label: 'C',
value: 'C',
}, {
label: i18n.ts._miRoom._objects._wallShelf['style:D'],
label: 'D',
value: 'D',
}],
},
boardStyle: {
type: 'enum',
label: i18n.ts._miRoom._objects._wallShelf.boardStyle,
enum: [{
label: i18n.ts._miRoom._objects._wallShelf['boardStyle:wood'],
value: 'wood',
}, {
label: i18n.ts._miRoom._objects._wallShelf['boardStyle:color'],
value: 'color',
}],
},
boardMat: {
type: 'material',
label: i18n.ts._miRoom._objects._wallShelf.boardMat,
@ -47,7 +36,6 @@ export const wallShelf = defineObject({
},
default: {
style: 'A',
boardStyle: 'wood',
boardMat: { color: [1, 1, 1], roughness: 0.5, metallic: 0 },
},
},
@ -85,12 +73,6 @@ export const wallShelf = defineObject({
bodyMaterial.albedoColor = new BABYLON.Color3(options.boardMat.color[0], options.boardMat.color[1], options.boardMat.color[2]);
bodyMaterial.roughness = options.boardMat.roughness;
bodyMaterial.metallic = options.boardMat.metallic;
if (options.boardStyle === 'color') {
bodyMaterial.albedoTexture = null;
} else {
bodyMaterial.albedoTexture = bodyTexture;
}
};
applyBoardMat();
@ -99,7 +81,6 @@ export const wallShelf = defineObject({
onOptionsUpdated: ([k, v]) => {
switch (k) {
case 'style': applyStyle(); break;
case 'boardStyle':
case 'boardMat': applyBoardMat(); break;
}
},

File diff suppressed because it is too large Load diff