-
Notifications
You must be signed in to change notification settings - Fork 2
/
00_quickstart.usda
234 lines (220 loc) · 8.91 KB
/
00_quickstart.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
#usda 1.0
(
customLayerData = {
dictionary cameraSettings = {
dictionary Front = {
double3 position = (0, 0, 50000)
double radius = 500
}
dictionary Perspective = {
double3 position = (370556.53619516076, 62710.980967284195, -192120.81709428556)
double3 target = (16023.162538984208, -60468.385631149926, -266012.912191591)
}
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 omni_layer = {
string authoring_layer = "./00_quickstart.usd"
dictionary muteness = {
}
}
dictionary renderSettings = {
float3 "rtx:debugView:pixelDebug:textColor" = (0, 1e18, 0)
float3 "rtx:fog:fogColor" = (0.75, 0.75, 0.75)
bool "rtx:indirectDiffuse:enabled" = 1
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 "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 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 = [(-638713700, -1273587300, -640783700), (638713700, -436864, 636643800)]
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 = [(-638410430, -1269061400, -639882700), (638410430, -5889216, 636938200)]
}
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 = ""
}
}