Skip to content

Commit af1d93c

Browse files
Add data used in the rendering light configuration tutorial (#88)
1 parent 8268a17 commit af1d93c

File tree

75 files changed

+6862
-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.

75 files changed

+6862
-0
lines changed

tutorials/LICENSE

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
The contents of this directory and its child directories (unless otherwise
2+
indicated) is marked with CC0 1.0. To view a copy of this license, visit
3+
https://creativecommons.org/publicdomain/zero/1.0/.

tutorials/blender/README.md

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
Where tutorial resources are created in house, this folder contains the blender
2+
source files from which the resource can be updated and/or recreated.
3+
4+
The following list should is a mapping of all source files and the resources
5+
they support.
6+
7+
- env_color_room.blend
8+
- environment_maps/
9+
- env_color_room*
10+
- To render a particular map, select the white light, go to its material
11+
and set the Emissive material's strength property to the desired wattage
12+
(7.5, 15, or 120 for the current images). The red and blue lights will
13+
scale accordingly.
14+
- furnished_living_room.blend
15+
- environment_maps/
16+
- env_home_office_full_lights.*
17+
- models/
18+
- assets/living_room.*
19+
- assets/curtain_open.*
20+
- assets/textures/curtain* are procedural textures in the blender file
21+
which have been "baked" into the image files.
22+
- Includes the pose information for the furnishing models in
23+
`furnished_living_room.dmd.yaml`.
24+
- tea_set_01_1k_posed.blend
25+
- models/
26+
- assets/tea_set_posed.*
559 KB
Binary file not shown.
4.04 MB
Binary file not shown.
3.51 MB
Binary file not shown.
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

tutorials/models/README.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
The sdformat model files in this directory were all created by Toyota Research
2+
Institute to facilitate loading the corresponding glTF files in `assets/` into
3+
Drake. Any exception will be noted within the .sdf file itself.
4+
5+
Mass properties are not guaranteed to be physically correct; only sufficient
6+
to survive parsing.

tutorials/models/assets/README.md

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
Some files in this directory come from [polyhaven](https://polyhaven.com/).
2+
The license for Poly Haven data is CC0 (https://polyhaven.com/license).
3+
4+
Below, we list the files taken from Poly Haven, the date of the inclusion in
5+
this repo, and the URL: from which the asset came. We have no guarantees that
6+
the URLs will remain valid; they are included in the name of maintaining a
7+
complete history of file provenance.
8+
9+
- painted_wooden_cabinet_1k.gltf
10+
- Date: 2025-03-18
11+
- URL: https://polyhaven.com/a/painted_wooden_cabinet
12+
- painted_wooden_cabinet_02_1k.gltf
13+
- Date: 2025-03-18
14+
- URL: https://polyhaven.com/a/painted_wooden_cabinet_02
15+
- painted_wooden_stool_1k.gltf
16+
- Date: 2025-03-18
17+
- URL: https://polyhaven.com/a/painted_wooden_stool
18+
- textures/rosewood_veneer1*
19+
- Date: 2025-03-18
20+
- URL: https://polyhaven.com/a/rosewood_veneer1
21+
- sofa_03_1k.gltf
22+
- Date: 2025-03-18
23+
- URL: https://polyhaven.com/a/sofa_03
24+
- tea_set_01_1k.gltf
25+
- Date: 2025-03-18
26+
- URL: https://polyhaven.com/a/tea_set_01
27+
- Note: `tea_set_posed.gltf` repositions the elements of the tea set as a
28+
new gltf. See `blender/tea_set_01_1k_posed.blend`.
29+
- wooden_bookshelf_worn_1k.gltf
30+
- Date: 2025-03-18
31+
- URL: https://polyhaven.com/a/wooden_bookshelf_worn
32+
- wooden_table_02_1k.gltf
33+
- Date: 2025-03-18
34+
- URL: https://polyhaven.com/a/wooden_table_02
35+
- textures/wood_table_worn_*
36+
- Date: 2025-03-18
37+
- URL: https://polyhaven.com/a/wood_table_worn
38+
39+
* Note: Poly Haven models place textures in a `textures` subdirectory. This is
40+
not the standard for this repository. But to ease the use of Poly Haven's
41+
models, we have introduced the `textures` subdirectory here.
208 KB
Binary file not shown.
+154
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+
}
154 KB
Binary file not shown.

0 commit comments

Comments
 (0)