Skip to content

Commit 371eb49

Browse files
committed
refactor(examples): rename
1 parent 16f7736 commit 371eb49

File tree

204 files changed

+454
-296
lines changed

Some content is hidden

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

204 files changed

+454
-296
lines changed

apps/kitchen-sink-new/project.json renamed to apps/examples/project.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
{
2-
"name": "kitchen-sink-new",
2+
"name": "examples",
33
"$schema": "../../node_modules/nx/schemas/project-schema.json",
44
"projectType": "application",
55
"prefix": "app",
6-
"sourceRoot": "apps/kitchen-sink-new/src",
6+
"sourceRoot": "apps/examples/src",
77
"tags": [],
88
"targets": {
99
"build": {
1010
"executor": "@angular/build:application",
1111
"outputs": ["{options.outputPath}"],
1212
"options": {
13-
"outputPath": "dist/apps/kitchen-sink-new",
14-
"index": "apps/kitchen-sink-new/src/index.html",
15-
"browser": "apps/kitchen-sink-new/src/main.ts",
16-
"tsConfig": "apps/kitchen-sink-new/tsconfig.app.json",
13+
"outputPath": "dist/apps/examples",
14+
"index": "apps/examples/src/index.html",
15+
"browser": "apps/examples/src/main.ts",
16+
"tsConfig": "apps/examples/tsconfig.app.json",
1717
"assets": [
1818
{
1919
"glob": "**/*",
20-
"input": "apps/kitchen-sink-new/public"
20+
"input": "apps/examples/public"
2121
}
2222
],
23-
"styles": ["apps/kitchen-sink-new/src/styles.css"],
23+
"styles": ["apps/examples/src/styles.css"],
2424
"scripts": [],
2525
"loader": {
2626
".blob": "file",
@@ -59,18 +59,18 @@
5959
"executor": "@angular/build:dev-server",
6060
"configurations": {
6161
"production": {
62-
"buildTarget": "kitchen-sink-new:build:production"
62+
"buildTarget": "examples:build:production"
6363
},
6464
"development": {
65-
"buildTarget": "kitchen-sink-new:build:development"
65+
"buildTarget": "examples:build:development"
6666
}
6767
},
6868
"defaultConfiguration": "development"
6969
},
7070
"extract-i18n": {
7171
"executor": "@angular-devkit/build-angular:extract-i18n",
7272
"options": {
73-
"buildTarget": "kitchen-sink-new:build"
73+
"buildTarget": "examples:build"
7474
}
7575
},
7676
"lint": {
File renamed without changes.
File renamed without changes.
File renamed without changes.

apps/examples/public/rock2/scene.gltf

Lines changed: 209 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,209 @@
1+
{
2+
"accessors": [
3+
{
4+
"bufferView": 2,
5+
"componentType": 5126,
6+
"count": 780,
7+
"max": [0.97853600978851318, 0.90372800827026367, 1],
8+
"min": [-0.97853600978851318, -0.90372800827026367, -1],
9+
"type": "VEC3"
10+
},
11+
{
12+
"bufferView": 2,
13+
"byteOffset": 9360,
14+
"componentType": 5126,
15+
"count": 780,
16+
"max": [0.99373799562454224, 0.99997526407241821, 0.99129462242126465],
17+
"min": [-0.99643802642822266, -0.99973654747009277, -0.99750721454620361],
18+
"type": "VEC3"
19+
},
20+
{
21+
"bufferView": 3,
22+
"componentType": 5126,
23+
"count": 780,
24+
"max": [0.99999797344207764, 0.97842699289321899, 0.99881500005722046, 1],
25+
"min": [-0.9980810284614563, -0.81174397468566895, -0.999642014503479, -1],
26+
"type": "VEC4"
27+
},
28+
{
29+
"bufferView": 1,
30+
"componentType": 5126,
31+
"count": 780,
32+
"max": [0.99800002574920654, 0.91248899698257446],
33+
"min": [0.0020000000949949026, 0.0020000000949949026],
34+
"type": "VEC2"
35+
},
36+
{
37+
"bufferView": 0,
38+
"componentType": 5125,
39+
"count": 4014,
40+
"max": [779],
41+
"min": [0],
42+
"type": "SCALAR"
43+
}
44+
],
45+
"asset": {
46+
"extras": {
47+
"author": "irs1182 (https://sketchfab.com/irs1182)",
48+
"license": "CC-BY-4.0 (http://creativecommons.org/licenses/by/4.0/)",
49+
"source": "https://sketchfab.com/models/17c3ff6a8f3145d68fbf653ebf650ee9",
50+
"title": "Rock"
51+
},
52+
"generator": "Sketchfab-3.19.3",
53+
"version": "2.0"
54+
},
55+
"bufferViews": [
56+
{
57+
"buffer": 0,
58+
"byteLength": 16056,
59+
"byteOffset": 0,
60+
"name": "floatBufferViews",
61+
"target": 34963
62+
},
63+
{
64+
"buffer": 0,
65+
"byteLength": 6240,
66+
"byteOffset": 16056,
67+
"byteStride": 8,
68+
"name": "floatBufferViews",
69+
"target": 34962
70+
},
71+
{
72+
"buffer": 0,
73+
"byteLength": 18720,
74+
"byteOffset": 22296,
75+
"byteStride": 12,
76+
"name": "floatBufferViews",
77+
"target": 34962
78+
},
79+
{
80+
"buffer": 0,
81+
"byteLength": 12480,
82+
"byteOffset": 41016,
83+
"byteStride": 16,
84+
"name": "floatBufferViews",
85+
"target": 34962
86+
}
87+
],
88+
"buffers": [
89+
{
90+
"byteLength": 53496,
91+
"uri": "scene.bin"
92+
}
93+
],
94+
"images": [
95+
{
96+
"uri": "textures/08___Default_metallicRoughness.jpg"
97+
},
98+
{
99+
"uri": "textures/08___Default_normal.jpg"
100+
},
101+
{
102+
"uri": "textures/08___Default_baseColor.jpeg"
103+
}
104+
],
105+
"materials": [
106+
{
107+
"doubleSided": true,
108+
"emissiveFactor": [0, 0, 0],
109+
"name": "08___Default",
110+
"normalTexture": {
111+
"index": 1,
112+
"scale": 1,
113+
"texCoord": 0
114+
},
115+
"occlusionTexture": {
116+
"index": 0,
117+
"strength": 1,
118+
"texCoord": 0
119+
},
120+
"pbrMetallicRoughness": {
121+
"baseColorFactor": [1, 1, 1, 1],
122+
"baseColorTexture": {
123+
"index": 2,
124+
"texCoord": 0
125+
},
126+
"metallicFactor": 0.2943978659,
127+
"metallicRoughnessTexture": {
128+
"index": 0,
129+
"texCoord": 0
130+
},
131+
"roughnessFactor": 1
132+
}
133+
}
134+
],
135+
"meshes": [
136+
{
137+
"name": "defaultMaterial",
138+
"primitives": [
139+
{
140+
"attributes": {
141+
"NORMAL": 1,
142+
"POSITION": 0,
143+
"TANGENT": 2,
144+
"TEXCOORD_0": 3
145+
},
146+
"indices": 4,
147+
"material": 0,
148+
"mode": 4
149+
}
150+
]
151+
}
152+
],
153+
"nodes": [
154+
{
155+
"children": [1],
156+
"name": "RootNode (gltf orientation matrix)",
157+
"rotation": [-0.70710678118654746, -0, -0, 0.70710678118654757]
158+
},
159+
{
160+
"children": [2],
161+
"name": "RootNode (model correction matrix)"
162+
},
163+
{
164+
"children": [3],
165+
"matrix": [
166+
1, 0, 0, 0, 0, -4.3711390063094768e-8, 0.999999999999999, 0, 0, -0.999999999999999, -4.3711390063094768e-8, 0,
167+
0, 0, 0, 1
168+
],
169+
"name": "Collada visual scene group"
170+
},
171+
{
172+
"children": [4],
173+
"name": "RetopoGroup002"
174+
},
175+
{
176+
"mesh": 0,
177+
"name": "defaultMaterial"
178+
}
179+
],
180+
"samplers": [
181+
{
182+
"magFilter": 9729,
183+
"minFilter": 9987,
184+
"wrapS": 10497,
185+
"wrapT": 10497
186+
}
187+
],
188+
"scene": 0,
189+
"scenes": [
190+
{
191+
"name": "OSG_Scene",
192+
"nodes": [0]
193+
}
194+
],
195+
"textures": [
196+
{
197+
"sampler": 0,
198+
"source": 0
199+
},
200+
{
201+
"sampler": 0,
202+
"source": 1
203+
},
204+
{
205+
"sampler": 0,
206+
"source": 2
207+
}
208+
]
209+
}

0 commit comments

Comments
 (0)