-
Notifications
You must be signed in to change notification settings - Fork 2
/
06_placing_objects_on_the_globe.usda
364 lines (344 loc) · 17.8 KB
/
06_placing_objects_on_the_globe.usda
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
#usda 1.0
(
customLayerData = {
dictionary cameraSettings = {
dictionary Front = {
double3 position = (0, 0, 50000)
double radius = 500
}
dictionary Perspective = {
double3 position = (265819.19125579984, 504.5147706109524, -181149.67115281403)
double3 target = (255589.38526739719, -2037.7226735810473, -183401.82349178477)
}
dictionary Right = {
double3 position = (-50000, 0, 0)
double radius = 500
}
dictionary Top = {
double3 position = (0, 50000, 0)
double radius = 500
}
string boundCamera = "/OmniverseKit_Persp"
}
dictionary metricsAssembler = {
dictionary "/World/Black_Oak" = {
}
dictionary "/World/tree_01" = {
}
dictionary "/World/tree_02" = {
}
dictionary "/World/tree_03" = {
}
dictionary "/World/tree_04" = {
}
int version = 1
}
dictionary navmeshSettings = {
double agentHeight = 180
double agentRadius = 20
bool excludeRigidBodies = 1
int ver = 1
double voxelCeiling = 460
}
dictionary omni_layer = {
string authoring_layer = "./06_placing_objects_on_the_globe.usda"
dictionary locked = {
}
dictionary muteness = {
}
}
dictionary renderSettings = {
float3 "rtx:debugView:pixelDebug:textColor" = (0, 1e18, 0)
float3 "rtx:fog:fogColor" = (0.75, 0.75, 0.75)
float3 "rtx:index:regionOfInterestMax" = (0, 0, 0)
float3 "rtx:index:regionOfInterestMin" = (0, 0, 0)
float3 "rtx:iray:environment_dome_ground_position" = (0, 0, 0)
float3 "rtx:iray:environment_dome_ground_reflectivity" = (0, 0, 0)
float3 "rtx:iray:environment_dome_rotation_axis" = (3.4028235e38, 3.4028235e38, 3.4028235e38)
float3 "rtx:post:backgroundZeroAlpha:backgroundDefaultColor" = (0, 0, 0)
float3 "rtx:post:colorcorr:contrast" = (1, 1, 1)
float3 "rtx:post:colorcorr:gain" = (1, 1, 1)
float3 "rtx:post:colorcorr:gamma" = (1, 1, 1)
float3 "rtx:post:colorcorr:offset" = (0, 0, 0)
float3 "rtx:post:colorcorr:saturation" = (1, 1, 1)
float3 "rtx:post:colorgrad:blackpoint" = (0, 0, 0)
float3 "rtx:post:colorgrad:contrast" = (1, 1, 1)
float3 "rtx:post:colorgrad:gain" = (1, 1, 1)
float3 "rtx:post:colorgrad:gamma" = (1, 1, 1)
float3 "rtx:post:colorgrad:lift" = (0, 0, 0)
float3 "rtx:post:colorgrad:multiply" = (1, 1, 1)
float3 "rtx:post:colorgrad:offset" = (0, 0, 0)
float3 "rtx:post:colorgrad:whitepoint" = (1, 1, 1)
float3 "rtx:post:lensDistortion:lensFocalLengthArray" = (10, 30, 50)
float3 "rtx:post:lensFlares:anisoFlareFalloffX" = (450, 475, 500)
float3 "rtx:post:lensFlares:anisoFlareFalloffY" = (10, 10, 10)
float3 "rtx:post:lensFlares:cutoffPoint" = (2, 2, 2)
double "rtx:post:lensFlares:flareScale" = 0.075
float3 "rtx:post:lensFlares:haloFlareFalloff" = (10, 10, 10)
float3 "rtx:post:lensFlares:haloFlareRadius" = (75, 75, 75)
float3 "rtx:post:lensFlares:isotropicFlareFalloff" = (50, 50, 50)
float3 "rtx:post:tonemap:whitepoint" = (1, 1, 1)
float3 "rtx:raytracing:inscattering:singleScatteringAlbedo" = (0.9, 0.9, 0.9)
float3 "rtx:raytracing:inscattering:transmittanceColor" = (0.5, 0.5, 0.5)
float3 "rtx:sceneDb:ambientLightColor" = (0, 0, 0)
}
}
defaultPrim = "World"
endTimeCode = 100
metersPerUnit = 0.01
startTimeCode = 0
timeCodesPerSecond = 24
upAxis = "Y"
)
def Xform "World"
{
def Xform "tree_01" (
prepend apiSchemas = ["CesiumGlobeAnchorSchemaAPI"]
prepend payload = @http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Vegetation/Plant_Tropical/Cuban_Royal_Palm.usd@
)
{
prepend rel cesium:anchor:georeferenceBinding = </CesiumGeoreference>
double cesium:anchor:height = -28.88790999712539
double cesium:anchor:latitude = 37.791300000000014
double cesium:anchor:longitude = -122.39032000000002
double3 cesium:anchor:position = (-2703402.189906513, -4261471.435157979, 3887146.4162855567)
double3 xformOp:rotateXYZ = (-90, 0, 0)
double3 xformOp:scale = (0.9999999999999961, 0.9999999999999831, 0.9999999999999811)
double3 xformOp:translate = (256137.76995179057, -2966.219888448715, -182066.48429769278)
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:rotateXYZ", "xformOp:scale"]
}
def Xform "tree_02" (
prepend apiSchemas = ["CesiumGlobeAnchorSchemaAPI"]
prepend payload = @http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Vegetation/Plant_Tropical/Cuban_Royal_Palm.usd@
)
{
prepend rel cesium:anchor:georeferenceBinding = </CesiumGeoreference>
double cesium:anchor:height = -28.887909998926833
double cesium:anchor:latitude = 37.79113999999999
double cesium:anchor:longitude = -122.39018
double3 cesium:anchor:position = (-2703397.6066107517, -4261487.230029307, 3887132.3824729575)
float3 xformOp:rotateXYZ = (-90, 0, 0)
float3 xformOp:scale = (1, 1, 1)
double3 xformOp:translate = (257371.45026621222, -2966.210052251816, -180290.99635195732)
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:rotateXYZ", "xformOp:scale"]
}
def Xform "tree_03" (
prepend apiSchemas = ["CesiumGlobeAnchorSchemaAPI"]
prepend payload = @http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Vegetation/Plant_Tropical/Cuban_Royal_Palm.usd@
)
{
prepend rel cesium:anchor:georeferenceBinding = </CesiumGeoreference>
double cesium:anchor:height = -28.887909997333825
double cesium:anchor:latitude = 37.79146999999999
double cesium:anchor:longitude = -122.39042
double3 cesium:anchor:position = (-2703403.4337169984, -4261456.953260971, 3887161.3271785625)
float3 xformOp:rotateXYZ = (-90, 0, 0)
float3 xformOp:scale = (1, 1, 1)
double3 xformOp:translate = (255256.38131523132, -2966.4099085330963, -183953.07524228096)
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:rotateXYZ", "xformOp:scale"]
}
def Xform "tree_04" (
prepend apiSchemas = ["CesiumGlobeAnchorSchemaAPI"]
prepend payload = @http://omniverse-content-production.s3-us-west-2.amazonaws.com/Assets/Vegetation/Plant_Tropical/Cuban_Royal_Palm.usd@
)
{
prepend rel cesium:anchor:georeferenceBinding = </CesiumGeoreference>
double cesium:anchor:height = -28.88790999904918
double cesium:anchor:latitude = 37.791669999999996
double cesium:anchor:longitude = -122.39052999999998
double3 cesium:anchor:position = (-2703404.3281798274, -4261440.276511508, 3887178.869362261)
float3 xformOp:rotateXYZ = (-90, 0, 0)
float3 xformOp:scale = (1, 1, 1)
double3 xformOp:translate = (254286.81392076612, -2966.669009208679, -186172.61606276035)
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:rotateXYZ", "xformOp:scale"]
}
}
def Xform "Environment"
{
int ground:size = 1400
string ground:type = "On"
double3 xformOp:rotateXYZ = (0, 0, 0)
double3 xformOp:scale = (1, 1, 1)
double3 xformOp:translate = (0, 0, 0)
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:rotateXYZ", "xformOp:scale"]
def DomeLight "Sky" (
prepend apiSchemas = ["ShapingAPI"]
)
{
float colorTemperature = 6250
bool enableColorTemperature = 1
float exposure = 9
float intensity = 1
float shaping:cone:angle = 180
float shaping:cone:softness
float shaping:focus
color3f shaping:focusTint
asset shaping:ies:file
asset texture:file = @https://omniverse-content-production.s3.us-west-2.amazonaws.com/Assets/Scenes/Templates/Default/SubUSDs/textures/CarLight_512x256.hdr@
token texture:format = "latlong"
token visibility = "inherited"
double3 xformOp:rotateXYZ = (-90, 0, 0)
double3 xformOp:scale = (1, 1, 1)
double3 xformOp:translate = (0, 305, 0)
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:rotateXYZ", "xformOp:scale"]
}
def DistantLight "DistantLight" (
prepend apiSchemas = ["ShapingAPI"]
)
{
float angle = 2.5
float colorTemperature = 7250
bool enableColorTemperature = 1
float exposure = 10
float intensity = 1
float shaping:cone:angle = 180
float shaping:cone:softness
float shaping:focus
color3f shaping:focusTint
asset shaping:ies:file
token visibility = "inherited"
double3 xformOp:rotateXYZ = (-90, 0, -15)
double3 xformOp:scale = (1, 1, 1)
double3 xformOp:translate = (0, 305, 0)
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:rotateXYZ", "xformOp:scale"]
}
def Scope "Looks"
{
def Material "Grid"
{
token outputs:mdl:displacement.connect = </Environment/Looks/Grid/Shader.outputs:out>
token outputs:mdl:surface.connect = </Environment/Looks/Grid/Shader.outputs:out>
token outputs:mdl:volume.connect = </Environment/Looks/Grid/Shader.outputs:out>
def Shader "Shader"
{
uniform token info:implementationSource = "sourceAsset"
uniform asset info:mdl:sourceAsset = @OmniPBR.mdl@
uniform token info:mdl:sourceAsset:subIdentifier = "OmniPBR"
float inputs:albedo_add = 0
float inputs:albedo_brightness = 0.52
float inputs:albedo_desaturation = 1
asset inputs:diffuse_texture = @https://omniverse-content-production.s3.us-west-2.amazonaws.com/Assets/Scenes/Templates/Default/SubUSDs/textures/ov_uv_grids_basecolor_1024.png@ (
colorSpace = "sRGB"
customData = {
asset default = @@
}
)
bool inputs:project_uvw = 0
float inputs:reflection_roughness_constant = 0.333
float inputs:texture_rotate = 0 (
customData = {
float default = 0
}
)
float2 inputs:texture_scale = (0.5, 0.5) (
customData = {
float2 default = (1, 1)
}
)
float2 inputs:texture_translate = (0, 0) (
customData = {
float2 default = (0, 0)
}
)
bool inputs:world_or_object = 0 (
customData = {
bool default = 0
}
)
token outputs:out (
renderType = "material"
)
}
}
def Material "Ground"
{
token outputs:mdl:displacement.connect = </Environment/Looks/Ground/Shader.outputs:out>
token outputs:mdl:surface.connect = </Environment/Looks/Ground/Shader.outputs:out>
token outputs:mdl:volume.connect = </Environment/Looks/Ground/Shader.outputs:out>
def Shader "Shader"
{
uniform token info:implementationSource = "sourceAsset"
uniform asset info:mdl:sourceAsset = @../../../../../_nucleus/kit/usd.composer/2023.2/exts/3/omni.kit.environment.core-1.3.3/data/Ground.mdl@
uniform token info:mdl:sourceAsset:subIdentifier = "Ground"
token outputs:out (
renderType = "material"
)
}
}
}
def Mesh "ground" (
prepend apiSchemas = ["MaterialBindingAPI"]
)
{
float3[] extent = [(-1400, -1400, 0), (1400, 1400, 0)]
int[] faceVertexCounts = [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3]
int[] faceVertexIndices = [5, 0, 6, 1, 6, 0, 6, 1, 7, 2, 7, 1, 7, 2, 8, 3, 8, 2, 8, 3, 9, 4, 9, 3, 10, 5, 11, 6, 11, 5, 11, 6, 12, 7, 12, 6, 12, 7, 13, 8, 13, 7, 13, 8, 14, 9, 14, 8, 15, 10, 16, 11, 16, 10, 16, 11, 17, 12, 17, 11, 17, 12, 18, 13, 18, 12, 18, 13, 19, 14, 19, 13, 20, 15, 21, 16, 21, 15, 21, 16, 22, 17, 22, 16, 22, 17, 23, 18, 23, 17, 23, 18, 24, 19, 24, 18]
rel material:binding = </Environment/Looks/Ground> (
bindMaterialAs = "strongerThanDescendants"
)
normal3f[] normals = [(0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1), (0, 0, 1)] (
interpolation = "faceVarying"
)
point3f[] points = [(-700, -700, 0), (-350, -700, 0), (0, -700, 0), (350, -700, 0), (700, -700, 0), (-700, -350, 0), (-350, -350, 0), (0, -350, 0), (350, -350, 0), (700, -350, 0), (-700, 0, 0), (-350, 0, 0), (0, 0, 0), (350, 0, 0), (700, 0, 0), (-700, 350, 0), (-350, 350, 0), (0, 350, 0), (350, 350, 0), (700, 350, 0), (-700, 700, 0), (-350, 700, 0), (0, 700, 0), (350, 700, 0), (700, 700, 0)]
texCoord2f[] primvars:st = [(-20.10899, -29.765083), (-16.608992, -29.765085), (-13.108992, -29.765085), (-9.608991, -29.765085), (-6.1089907, -29.765089), (-20.10899, -26.265083), (-16.60899, -26.265085), (-13.108992, -26.265085), (-9.60899, -26.265085), (-6.1089897, -26.265089), (-20.10899, -22.765083), (-16.60899, -22.765087), (-13.10899, -22.765087), (-9.60899, -22.765087), (-6.1089897, -22.765089), (-20.10899, -19.265083), (-16.60899, -19.265087), (-13.108988, -19.265087), (-9.60899, -19.265087), (-6.1089897, -19.265089), (-20.10899, -15.765083), (-16.608988, -15.765086), (-13.108988, -15.765086), (-9.608989, -15.765086), (-6.108989, -15.765089)] (
interpolation = "faceVarying"
)
int[] primvars:st:indices = [5, 0, 6, 1, 6, 0, 6, 1, 7, 2, 7, 1, 7, 2, 8, 3, 8, 2, 8, 3, 9, 4, 9, 3, 10, 5, 11, 6, 11, 5, 11, 6, 12, 7, 12, 6, 12, 7, 13, 8, 13, 7, 13, 8, 14, 9, 14, 8, 15, 10, 16, 11, 16, 10, 16, 11, 17, 12, 17, 11, 17, 12, 18, 13, 18, 12, 18, 13, 19, 14, 19, 13, 20, 15, 21, 16, 21, 15, 21, 16, 22, 17, 22, 16, 22, 17, 23, 18, 23, 17, 23, 18, 24, 19, 24, 18]
uniform token subdivisionScheme = "none"
double3 xformOp:rotateXYZ = (-90, 0, 0)
double3 xformOp:translate = (0, 0, 0)
uniform token[] xformOpOrder = ["xformOp:translate", "xformOp:rotateXYZ"]
}
}
def CesiumDataPrim "Cesium"
{
rel cesium:selectedIonServer = </CesiumServers/IonOfficial>
}
def CesiumGeoreferencePrim "CesiumGeoreference"
{
double cesium:georeferenceOrigin:height = 0
double cesium:georeferenceOrigin:latitude = 37.7749
double cesium:georeferenceOrigin:longitude = -122.4194
}
def CesiumTilesetPrim "Cesium_World_Terrain"
{
prepend rel cesium:georeferenceBinding = </CesiumGeoreference>
string cesium:ionAccessToken = ""
int64 cesium:ionAssetId = 1
rel cesium:ionServerBinding = </CesiumServers/IonOfficial>
uniform token cesium:sourceType = "ion"
float3[] extent = [(-881590400, -1723782900, -1045261700), (881590400, 449758660, 1041121800)]
prepend rel cesium:rasterOverlayBinding = </Cesium_World_Terrain/Bing_Maps_Aerial_imagery>
def CesiumIonRasterOverlayPrim "Bing_Maps_Aerial_imagery"
{
string cesium:ionAccessToken = ""
int64 cesium:ionAssetId = 2
rel cesium:ionServerBinding = </CesiumServers/IonOfficial>
}
}
def CesiumTilesetPrim "Cesium_OSM_Buildings"
{
prepend rel cesium:georeferenceBinding = </CesiumGeoreference>
string cesium:ionAccessToken = ""
int64 cesium:ionAssetId = 96188
rel cesium:ionServerBinding = </CesiumServers/IonOfficial>
uniform token cesium:sourceType = "ion"
float3[] extent = [(-881167170, -1720855400, -1040461250), (881167170, 445904770, 1037516740)]
}
over "OmniverseKit_Persp"
{
float2 clippingRange = (1, 10000000000)
float focalLength = 17
}
def "CesiumServers"
{
def CesiumIonServerPrim "IonOfficial"
{
string cesium:displayName = "ion.cesium.com"
string cesium:ionServerApiUrl = "https://api.cesium.com/"
int64 cesium:ionServerApplicationId = 413
string cesium:ionServerUrl = "https://ion.cesium.com/"
string cesium:projectDefaultIonAccessToken = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJqdGkiOiI0Y2ZjNzY3NC04MWIyLTQyN2ItODg3Zi0zYzk3MmQxZWYxMmIiLCJpZCI6MjU5LCJpYXQiOjE3MTE5NzkyNzl9.GuvRiyuJO14zjA5_mIwgocOShmF4EUj2xbmikcCeXxs"
string cesium:projectDefaultIonAccessTokenId = ""
}
}