Skip to content

Commit 12d99d7

Browse files
Add data used in the rendering light configuration tutorial
1 parent 8268a17 commit 12d99d7

File tree

87 files changed

+6997
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+6997
-0
lines changed
23.4 KB
Loading
Binary file not shown.
Binary file not shown.
19.9 KB
Binary file not shown.

tutorials/environment_maps/env_home_office_full_lights.hdr

+1,801
Large diffs are not rendered by default.
Loading
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
The files in this directory come from [polyhaven](https://polyhaven.com/).
2+
The license for polyhaven data is CC0 (https://polyhaven.com/license).
3+
4+
Below, we list the files taken from polyhaven, the data of the inclusion in this
5+
repo, and the URL from which the asset came. We have no guarantees that the
6+
URLs will remain valid; they are included in the name of maintaining a complete
7+
history of file provenance.

tutorials/models/bookshelves.sdf

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?xml version="1.0"?>
2+
<sdf version="1.7">
3+
<model name="bookshelves">
4+
<link name="bookshelves">
5+
<inertial>
6+
<mass>1.</mass>
7+
<inertia>
8+
<ixx>8.41666666</ixx>
9+
<ixy>0</ixy>
10+
<ixz>0</ixz>
11+
<iyy>8.41666666</iyy>
12+
<iyz>0</iyz>
13+
<izz>16.6666666</izz>
14+
</inertia>
15+
</inertial>
16+
<visual name="visual">
17+
<geometry>
18+
<mesh>
19+
<uri>package://drake_models/tutorials/models/polyhaven_gltf/wooden_bookshelf_worn_1k.gltf/wooden_bookshelf_worn_1k.gltf</uri>
20+
</mesh>
21+
</geometry>
22+
</visual>
23+
</link>
24+
</model>
25+
</sdf>

tutorials/models/cabinet.sdf

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?xml version="1.0"?>
2+
<sdf version="1.7">
3+
<model name="cabinet">
4+
<link name="cabinet">
5+
<inertial>
6+
<mass>1.</mass>
7+
<inertia>
8+
<ixx>8.41666666</ixx>
9+
<ixy>0</ixy>
10+
<ixz>0</ixz>
11+
<iyy>8.41666666</iyy>
12+
<iyz>0</iyz>
13+
<izz>16.6666666</izz>
14+
</inertia>
15+
</inertial>
16+
<visual name="visual">
17+
<geometry>
18+
<mesh>
19+
<uri>package://drake_models/tutorials/models/polyhaven_gltf/painted_wooden_cabinet_1k.gltf/painted_wooden_cabinet_1k.gltf</uri>
20+
</mesh>
21+
</geometry>
22+
</visual>
23+
</link>
24+
</model>
25+
</sdf>

tutorials/models/curtain_closed.sdf

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?xml version="1.0"?>
2+
<sdf version="1.7">
3+
<model name="curtains">
4+
<link name="curtains">
5+
<inertial>
6+
<mass>1.</mass>
7+
<inertia>
8+
<ixx>8.41666666</ixx>
9+
<ixy>0</ixy>
10+
<ixz>0</ixz>
11+
<iyy>8.41666666</iyy>
12+
<iyz>0</iyz>
13+
<izz>16.6666666</izz>
14+
</inertia>
15+
</inertial>
16+
<visual name="visual">
17+
<geometry>
18+
<mesh>
19+
<uri>package://drake_models/tutorials/models/gltf/curtain/curtain_closed.gltf</uri>
20+
</mesh>
21+
</geometry>
22+
</visual>
23+
</link>
24+
</model>
25+
</sdf>

tutorials/models/curtain_open.sdf

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?xml version="1.0"?>
2+
<sdf version="1.7">
3+
<model name="curtains">
4+
<link name="curtains">
5+
<inertial>
6+
<mass>1.</mass>
7+
<inertia>
8+
<ixx>8.41666666</ixx>
9+
<ixy>0</ixy>
10+
<ixz>0</ixz>
11+
<iyy>8.41666666</iyy>
12+
<iyz>0</iyz>
13+
<izz>16.6666666</izz>
14+
</inertia>
15+
</inertial>
16+
<visual name="visual">
17+
<geometry>
18+
<mesh>
19+
<uri>package://drake_models/tutorials/models/gltf/curtain/curtain_open.gltf</uri>
20+
</mesh>
21+
</geometry>
22+
</visual>
23+
</link>
24+
</model>
25+
</sdf>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
directives:
2+
- add_model:
3+
name: living_room
4+
file: package://drake_models/tutorials/models/living_room.sdf
5+
- add_weld:
6+
parent: world
7+
child: living_room::living_room
8+
- add_model:
9+
name: cabinet
10+
file: package://drake_models/tutorials/models/cabinet.sdf
11+
- add_weld:
12+
parent: world
13+
child: cabinet::cabinet
14+
X_PC:
15+
translation: [-1.7753, 2.5818, 0]
16+
- add_model:
17+
name: bookshelves
18+
file: package://drake_models/tutorials/models/bookshelves.sdf
19+
- add_weld:
20+
parent: world
21+
child: bookshelves::bookshelves
22+
X_PC:
23+
translation: [2.716, -1.0716, 0]
24+
rotation: !Rpy { deg: [0, 0, -90] }
25+
- add_model:
26+
name: tall_cabinet
27+
file: package://drake_models/tutorials/models/tall_cabinet.sdf
28+
- add_weld:
29+
parent: world
30+
child: tall_cabinet::tall_cabinet
31+
X_PC:
32+
translation: [0.0235, 2.6566, 0]
33+
rotation: !Rpy { deg: [0, 0, 0] }
34+
- add_model:
35+
name: sofa
36+
file: package://drake_models/tutorials/models/sofa.sdf
37+
- add_weld:
38+
parent: world
39+
child: sofa::sofa
40+
X_PC:
41+
translation: [0, -2.4117, 0]
42+
rotation: !Rpy { deg: [0, 0, 180] }
43+
- add_model:
44+
name: stool
45+
file: package://drake_models/tutorials/models/stool.sdf
46+
- add_weld:
47+
parent: world
48+
child: stool::stool
49+
X_PC:
50+
translation: [1.7744, 1.6287, 0]
51+
rotation: !Rpy { deg: [0, 0, 30] }
52+
- add_model:
53+
name: curtains
54+
file: package://drake_models/tutorials/models/curtain_open.sdf
55+
- add_weld:
56+
parent: world
57+
child: curtains::curtains
58+
X_PC:
59+
translation: [0, 0, 0]
60+
61+
208 KB
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,154 @@
1+
{
2+
"asset":{
3+
"generator":"Khronos glTF Blender I/O v4.3.47",
4+
"version":"2.0"
5+
},
6+
"scene":0,
7+
"scenes":[
8+
{
9+
"name":"Scene",
10+
"nodes":[
11+
0
12+
]
13+
}
14+
],
15+
"nodes":[
16+
{
17+
"mesh":0,
18+
"name":"curtain1",
19+
"translation":[
20+
0,
21+
2.963916063308716,
22+
0
23+
]
24+
}
25+
],
26+
"materials":[
27+
{
28+
"doubleSided":false,
29+
"name":"curtain",
30+
"normalTexture":{
31+
"index":0
32+
},
33+
"pbrMetallicRoughness":{
34+
"baseColorTexture":{
35+
"index":1
36+
},
37+
"metallicFactor":0,
38+
"roughnessFactor":0.949999988079071
39+
}
40+
}
41+
],
42+
"meshes":[
43+
{
44+
"name":"Mesh.001",
45+
"primitives":[
46+
{
47+
"attributes":{
48+
"POSITION":0,
49+
"NORMAL":1,
50+
"TEXCOORD_0":2
51+
},
52+
"indices":3,
53+
"material":0
54+
}
55+
]
56+
}
57+
],
58+
"textures":[
59+
{
60+
"sampler":0,
61+
"source":0
62+
},
63+
{
64+
"sampler":0,
65+
"source":1
66+
}
67+
],
68+
"images":[
69+
{
70+
"mimeType":"image/png",
71+
"name":"curtain_normal",
72+
"uri":"textures/curtain_normal.png"
73+
},
74+
{
75+
"mimeType":"image/png",
76+
"name":"curtain_diffuse",
77+
"uri":"textures/curtain_diffuse.png"
78+
}
79+
],
80+
"accessors":[
81+
{
82+
"bufferView":0,
83+
"componentType":5126,
84+
"count":4930,
85+
"max":[
86+
1.603845238685608,
87+
0,
88+
2.9989233016967773
89+
],
90+
"min":[
91+
-1.603845238685608,
92+
-2.8286986351013184,
93+
2.8454926013946533
94+
],
95+
"type":"VEC3"
96+
},
97+
{
98+
"bufferView":1,
99+
"componentType":5126,
100+
"count":4930,
101+
"type":"VEC3"
102+
},
103+
{
104+
"bufferView":2,
105+
"componentType":5126,
106+
"count":4930,
107+
"type":"VEC2"
108+
},
109+
{
110+
"bufferView":3,
111+
"componentType":5123,
112+
"count":27648,
113+
"type":"SCALAR"
114+
}
115+
],
116+
"bufferViews":[
117+
{
118+
"buffer":0,
119+
"byteLength":59160,
120+
"byteOffset":0,
121+
"target":34962
122+
},
123+
{
124+
"buffer":0,
125+
"byteLength":59160,
126+
"byteOffset":59160,
127+
"target":34962
128+
},
129+
{
130+
"buffer":0,
131+
"byteLength":39440,
132+
"byteOffset":118320,
133+
"target":34962
134+
},
135+
{
136+
"buffer":0,
137+
"byteLength":55296,
138+
"byteOffset":157760,
139+
"target":34963
140+
}
141+
],
142+
"samplers":[
143+
{
144+
"magFilter":9729,
145+
"minFilter":9987
146+
}
147+
],
148+
"buffers":[
149+
{
150+
"byteLength":213056,
151+
"uri":"curtain_open.bin"
152+
}
153+
]
154+
}
Loading
Loading
Binary file not shown.

0 commit comments

Comments
 (0)