437 lines
7.9 KiB
Plaintext
437 lines
7.9 KiB
Plaintext
(
|
|
format_version: 1,
|
|
name: "Garden Demo",
|
|
entities: {
|
|
1: (
|
|
id: 1,
|
|
name: "Camera",
|
|
parent: None,
|
|
children: [],
|
|
transform: (
|
|
translation: (
|
|
x: 7.5,
|
|
y: 5.0,
|
|
z: 12.0,
|
|
),
|
|
rotation: (
|
|
x: -16.0,
|
|
y: 30.0,
|
|
z: 0.0,
|
|
),
|
|
scale: (
|
|
x: 1.0,
|
|
y: 1.0,
|
|
z: 1.0,
|
|
),
|
|
),
|
|
components: [
|
|
(
|
|
type: camera3d,
|
|
),
|
|
],
|
|
locked: false,
|
|
),
|
|
2: (
|
|
id: 2,
|
|
name: "Sun",
|
|
parent: None,
|
|
children: [],
|
|
transform: (
|
|
translation: (
|
|
x: 0.0,
|
|
y: 0.0,
|
|
z: 0.0,
|
|
),
|
|
rotation: (
|
|
x: -55.0,
|
|
y: -25.0,
|
|
z: 0.0,
|
|
),
|
|
scale: (
|
|
x: 1.0,
|
|
y: 1.0,
|
|
z: 1.0,
|
|
),
|
|
),
|
|
components: [
|
|
(
|
|
type: directional_light,
|
|
data: (
|
|
color: (
|
|
r: 1.0,
|
|
g: 0.95,
|
|
b: 0.85,
|
|
a: 1.0,
|
|
),
|
|
illuminance: 11000.0,
|
|
shadows: true,
|
|
),
|
|
),
|
|
],
|
|
locked: false,
|
|
),
|
|
3: (
|
|
id: 3,
|
|
name: "Ground",
|
|
parent: None,
|
|
children: [],
|
|
transform: (
|
|
translation: (
|
|
x: 0.0,
|
|
y: 0.0,
|
|
z: 0.0,
|
|
),
|
|
rotation: (
|
|
x: 0.0,
|
|
y: 0.0,
|
|
z: 0.0,
|
|
),
|
|
scale: (
|
|
x: 1.0,
|
|
y: 1.0,
|
|
z: 1.0,
|
|
),
|
|
),
|
|
components: [
|
|
(
|
|
type: mesh3d,
|
|
data: (
|
|
mesh: (
|
|
source: primitive,
|
|
value: plane(
|
|
size: (
|
|
x: 26.0,
|
|
y: 26.0,
|
|
),
|
|
),
|
|
),
|
|
material: (
|
|
base_color: (
|
|
r: 0.31,
|
|
g: 0.48,
|
|
b: 0.23,
|
|
a: 1.0,
|
|
),
|
|
metallic: 0.0,
|
|
perceptual_roughness: 0.92,
|
|
unlit: false,
|
|
),
|
|
),
|
|
),
|
|
],
|
|
locked: false,
|
|
),
|
|
4: (
|
|
id: 4,
|
|
name: "Shrub",
|
|
parent: None,
|
|
children: [],
|
|
transform: (
|
|
translation: (
|
|
x: -3.4,
|
|
y: 1.0,
|
|
z: 1.8,
|
|
),
|
|
rotation: (
|
|
x: 0.0,
|
|
y: 0.0,
|
|
z: 0.0,
|
|
),
|
|
scale: (
|
|
x: 1.25,
|
|
y: 0.9,
|
|
z: 1.25,
|
|
),
|
|
),
|
|
components: [
|
|
(
|
|
type: mesh3d,
|
|
data: (
|
|
mesh: (
|
|
source: primitive,
|
|
value: sphere(
|
|
radius: 1.0,
|
|
),
|
|
),
|
|
material: (
|
|
base_color: (
|
|
r: 0.24,
|
|
g: 0.45,
|
|
b: 0.22,
|
|
a: 1.0,
|
|
),
|
|
metallic: 0.0,
|
|
perceptual_roughness: 0.85,
|
|
unlit: false,
|
|
),
|
|
),
|
|
),
|
|
],
|
|
locked: false,
|
|
),
|
|
5: (
|
|
id: 5,
|
|
name: "Flower Stem",
|
|
parent: None,
|
|
children: [
|
|
6,
|
|
],
|
|
transform: (
|
|
translation: (
|
|
x: 2.6,
|
|
y: 0.75,
|
|
z: 1.4,
|
|
),
|
|
rotation: (
|
|
x: 0.0,
|
|
y: 0.0,
|
|
z: 0.0,
|
|
),
|
|
scale: (
|
|
x: 1.0,
|
|
y: 1.0,
|
|
z: 1.0,
|
|
),
|
|
),
|
|
components: [
|
|
(
|
|
type: mesh3d,
|
|
data: (
|
|
mesh: (
|
|
source: primitive,
|
|
value: cylinder(
|
|
radius: 0.09,
|
|
height: 1.5,
|
|
),
|
|
),
|
|
material: (
|
|
base_color: (
|
|
r: 0.35,
|
|
g: 0.55,
|
|
b: 0.27,
|
|
a: 1.0,
|
|
),
|
|
metallic: 0.0,
|
|
perceptual_roughness: 0.8,
|
|
unlit: false,
|
|
),
|
|
),
|
|
),
|
|
],
|
|
locked: false,
|
|
),
|
|
6: (
|
|
id: 6,
|
|
name: "Flower Bloom",
|
|
parent: Some(5),
|
|
children: [],
|
|
transform: (
|
|
translation: (
|
|
x: 0.0,
|
|
y: 1.0,
|
|
z: 0.0,
|
|
),
|
|
rotation: (
|
|
x: 0.0,
|
|
y: 0.0,
|
|
z: 0.0,
|
|
),
|
|
scale: (
|
|
x: 1.0,
|
|
y: 0.75,
|
|
z: 1.0,
|
|
),
|
|
),
|
|
components: [
|
|
(
|
|
type: mesh3d,
|
|
data: (
|
|
mesh: (
|
|
source: primitive,
|
|
value: sphere(
|
|
radius: 0.42,
|
|
),
|
|
),
|
|
material: (
|
|
base_color: (
|
|
r: 0.91,
|
|
g: 0.42,
|
|
b: 0.65,
|
|
a: 1.0,
|
|
),
|
|
metallic: 0.0,
|
|
perceptual_roughness: 0.4,
|
|
unlit: false,
|
|
),
|
|
),
|
|
),
|
|
],
|
|
locked: false,
|
|
),
|
|
7: (
|
|
id: 7,
|
|
name: "Orbit Crystal",
|
|
parent: None,
|
|
children: [],
|
|
transform: (
|
|
translation: (
|
|
x: 0.0,
|
|
y: 2.0,
|
|
z: 0.0,
|
|
),
|
|
rotation: (
|
|
x: 0.0,
|
|
y: 0.0,
|
|
z: 0.0,
|
|
),
|
|
scale: (
|
|
x: 1.0,
|
|
y: 1.0,
|
|
z: 1.0,
|
|
),
|
|
),
|
|
components: [
|
|
(
|
|
type: mesh3d,
|
|
data: (
|
|
mesh: (
|
|
source: primitive,
|
|
value: sphere(
|
|
radius: 0.8,
|
|
),
|
|
),
|
|
material: (
|
|
base_color: (
|
|
r: 0.27,
|
|
g: 0.76,
|
|
b: 0.69,
|
|
a: 1.0,
|
|
),
|
|
metallic: 0.15,
|
|
perceptual_roughness: 0.2,
|
|
unlit: false,
|
|
),
|
|
),
|
|
),
|
|
(
|
|
type: custom,
|
|
data: (
|
|
type_path: "forge_demo::Orbit",
|
|
fields: [
|
|
(
|
|
name: "radius",
|
|
expr: "2.4",
|
|
),
|
|
(
|
|
name: "speed",
|
|
expr: "0.45",
|
|
),
|
|
],
|
|
),
|
|
),
|
|
],
|
|
locked: false,
|
|
),
|
|
8: (
|
|
id: 8,
|
|
name: "Lantern Post",
|
|
parent: None,
|
|
children: [
|
|
9,
|
|
],
|
|
transform: (
|
|
translation: (
|
|
x: 3.8,
|
|
y: 1.2,
|
|
z: -1.2,
|
|
),
|
|
rotation: (
|
|
x: 0.0,
|
|
y: 0.0,
|
|
z: 0.0,
|
|
),
|
|
scale: (
|
|
x: 1.0,
|
|
y: 1.0,
|
|
z: 1.0,
|
|
),
|
|
),
|
|
components: [
|
|
(
|
|
type: mesh3d,
|
|
data: (
|
|
mesh: (
|
|
source: primitive,
|
|
value: cylinder(
|
|
radius: 0.12,
|
|
height: 2.4,
|
|
),
|
|
),
|
|
material: (
|
|
base_color: (
|
|
r: 0.18,
|
|
g: 0.2,
|
|
b: 0.25,
|
|
a: 1.0,
|
|
),
|
|
metallic: 0.6,
|
|
perceptual_roughness: 0.35,
|
|
unlit: false,
|
|
),
|
|
),
|
|
),
|
|
],
|
|
locked: false,
|
|
),
|
|
9: (
|
|
id: 9,
|
|
name: "Lantern Glow",
|
|
parent: Some(8),
|
|
children: [],
|
|
transform: (
|
|
translation: (
|
|
x: 0.0,
|
|
y: 1.25,
|
|
z: 0.0,
|
|
),
|
|
rotation: (
|
|
x: 0.0,
|
|
y: 0.0,
|
|
z: 0.0,
|
|
),
|
|
scale: (
|
|
x: 1.0,
|
|
y: 1.0,
|
|
z: 1.0,
|
|
),
|
|
),
|
|
components: [
|
|
(
|
|
type: point_light,
|
|
data: (
|
|
color: (
|
|
r: 1.0,
|
|
g: 0.82,
|
|
b: 0.55,
|
|
a: 1.0,
|
|
),
|
|
intensity: 600.0,
|
|
range: 12.0,
|
|
shadows: true,
|
|
),
|
|
),
|
|
],
|
|
locked: false,
|
|
),
|
|
},
|
|
roots: [
|
|
1,
|
|
2,
|
|
3,
|
|
4,
|
|
5,
|
|
7,
|
|
8,
|
|
],
|
|
next_id: 10,
|
|
) |