livingroom.yaml
The space you will be generating has two bedrooms and one living room. This is the configuration for one of the living rooms.
[
{
"parent": {"name": "wall"},
"child": {"category": "credenza"},
"settings":{},
"rules": [
["mount", {"parent_side": "any", "child_side": "back", "uv": [0.5, 0], "offset": 0.02}]
]
},
{
"parent": {"name": "credenza"},
"child": {"category": "television"},
"settings":{"from_folder": "/general/lexset/seahaven3.0/assets/office/television"},
"rules": [
["put", {"uv": [0.5, 0.5], "rotation": 0}]
]
},
{
"parent": {"name": "credenza"},
"child": {"category": "sofa"},
"settings":{},
"rules": [
["rotate", {"degrees": 180}],
["neighbour", {"side": "front", "offset": [1, 2.5]}]
]
},
{
"parent": {"name": "sofa"},
"child": {"category": "armchair"},
"settings":{},
"rules": [
["center", {"on_z": true}],
["rotate", {"degrees": [-75, -90]}],
["neighbour", {"side": "right", "offset": [0.1, 0.3]}],
["neighbour", {"side": "front", "offset": [0.1, 0.3]}]
]
},
{
"parent": {"name": "sofa"},
"child": {"category": "coffee_table"},
"settings":{},
"rules": [
["center", {"on_z": true}],
["neighbour", {"side": "front", "offset": [0.2, 1]}]
]
},
{
"parent": {"name": "sofa"},
"child": {"category": "lamp"},
"settings":{},
"rules": [
["center", {"on_z": true}],
["neighbour", {"side": "right", "offset": [0.1, 0.3]}]
]
},
{
"parent": {"name": "wall"},
"child": {"category": "bookcase"},
"settings":{"num": 1},
"rules": [
["mount", {"parent_side": "any", "child_side": "back", "uv": [[0.2, 0.8], 0], "offset": 0.1}]
]
},
{
"parent": {"name": "wall"},
"child": {"category": "coatstand"},
"settings":{},
"rules": [
["mount", {"parent_side": "any", "child_side": "back", "uv": [[0.2, 0.8], 0], "offset": 0.1}]
]
},
{
"parent": {"name": "wall"},
"child": {"category": "display_case"},
"settings":{},
"rules": [
["mount", {"parent_side": "any", "child_side": "back", "uv": [[0.2, 0.8], 0], "offset": 0.1}]
]
},
{
"parent": {"name": "display_case"},
"child": {"category": "decoration"},
"settings":{"num": 3},
"rules": [
["put", {}]
]
},
{
"parent": {"name": "wall"},
"child": {"category": "dresser"},
"settings":{},
"rules": [
["mount", {"parent_side": "any", "child_side": "back", "uv": [[0.2, 0.8], 0], "offset": 0.1}]
]
},
{
"parent": {"name": "wall"},
"child": {"category": "painting"},
"settings":{"num": 2, "from_folder": "/general/lexset/seahaven3.0/assets/office/painting", "boundbox_collision": true},
"rules": [
["center", {}],
["mount", {"parent_side": "any", "child_side": "back", "uv": [[0.2, 0.8], 0.5]}]
]
},
{
"parent": {"name": "wall"},
"child": {"category": "wall_decoration"},
"settings":{"num": 2},
"rules": [
["center", {}],
["mount", {"parent_side": "any", "child_side": "back", "uv": [[0.2, 0.8], 0.5]}]
]
}
]
Last updated