Skip to content

Commit 6c1da7d

Browse files
committed
Fox 2: SceneKit WWDC 2017 sample code: Version 1.2, 2018-02-08
Scene file fix. This sample code demonstrates the following Scene Kit features that were added in iOS 11, tvOS 11, and macOS 10.13: * Camera constraints define the camera behaviour of the app/game * A new physically-based depth of field effect achieved with “bokeh” * Screen space GPU tessellation (using Pixar’s openSubdiv) * Animation of character tones using a new animation engine (and API) * Cascaded shadow maps * GameplayKit integration Signed-off-by: Liu Lantao <liulantao@gmail.com>
1 parent 8d84829 commit 6c1da7d

File tree

282 files changed

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

282 files changed

+12307
-0
lines changed
+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
.DS_Store
2+
3+
# Xcode
4+
build/*
5+
*/build/*
6+
*/**/build/*
7+
*.mode1
8+
*.pbxuser
9+
*.perspective
10+
!default.perspectivev3
11+
!default.pbxuser
12+
*.mode1v3
13+
!default.mode1v3
14+
*.mode2v3
15+
!default.mode2v3
16+
*.perspectivev3
17+
!default.perspectivev3
18+
*.xcworkspace
19+
!default.xcworkspace
20+
xcuserdata
21+
profile
22+
*.moved-aside
23+
24+
# Generated files
25+
VersionX-revision.h
26+
27+
# build products
28+
build/
29+
*.[oa]
30+
31+
# version control files
32+
.hg
33+
.svn
34+
CVS
35+
36+
# automatic backup files
37+
*~.nib
38+
*.swp
39+
*~
40+
*(Autosaved).rtfd/
41+
Backup[ ]of[ ]*.pages/
42+
Backup[ ]of[ ]*.key/
43+
Backup[ ]of[ ]*.numbers/
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "iphone",
5+
"size" : "20x20",
6+
"scale" : "2x"
7+
},
8+
{
9+
"idiom" : "iphone",
10+
"size" : "20x20",
11+
"scale" : "3x"
12+
},
13+
{
14+
"size" : "29x29",
15+
"idiom" : "iphone",
16+
"filename" : "icon-29@2x.png",
17+
"scale" : "2x"
18+
},
19+
{
20+
"size" : "29x29",
21+
"idiom" : "iphone",
22+
"filename" : "icon-29@3x.png",
23+
"scale" : "3x"
24+
},
25+
{
26+
"size" : "40x40",
27+
"idiom" : "iphone",
28+
"filename" : "icon-40@2x.png",
29+
"scale" : "2x"
30+
},
31+
{
32+
"size" : "40x40",
33+
"idiom" : "iphone",
34+
"filename" : "icon-40@3x.png",
35+
"scale" : "3x"
36+
},
37+
{
38+
"size" : "60x60",
39+
"idiom" : "iphone",
40+
"filename" : "icon-60@2x.png",
41+
"scale" : "2x"
42+
},
43+
{
44+
"size" : "60x60",
45+
"idiom" : "iphone",
46+
"filename" : "icon-60@3x.png",
47+
"scale" : "3x"
48+
},
49+
{
50+
"idiom" : "ipad",
51+
"size" : "20x20",
52+
"scale" : "1x"
53+
},
54+
{
55+
"idiom" : "ipad",
56+
"size" : "20x20",
57+
"scale" : "2x"
58+
},
59+
{
60+
"size" : "29x29",
61+
"idiom" : "ipad",
62+
"filename" : "icon-29.png",
63+
"scale" : "1x"
64+
},
65+
{
66+
"size" : "29x29",
67+
"idiom" : "ipad",
68+
"filename" : "icon-29@2x.png",
69+
"scale" : "2x"
70+
},
71+
{
72+
"size" : "40x40",
73+
"idiom" : "ipad",
74+
"filename" : "icon-40.png",
75+
"scale" : "1x"
76+
},
77+
{
78+
"size" : "40x40",
79+
"idiom" : "ipad",
80+
"filename" : "icon-40@2x.png",
81+
"scale" : "2x"
82+
},
83+
{
84+
"size" : "76x76",
85+
"idiom" : "ipad",
86+
"filename" : "icon-76.png",
87+
"scale" : "1x"
88+
},
89+
{
90+
"size" : "76x76",
91+
"idiom" : "ipad",
92+
"filename" : "icon-76@2x.png",
93+
"scale" : "2x"
94+
},
95+
{
96+
"size" : "83.5x83.5",
97+
"idiom" : "ipad",
98+
"filename" : "icon-83.5@2x.png",
99+
"scale" : "2x"
100+
},
101+
{
102+
"size" : "1024x1024",
103+
"idiom" : "ios-marketing",
104+
"filename" : "icon-1024.png",
105+
"scale" : "1x"
106+
}
107+
],
108+
"info" : {
109+
"version" : 1,
110+
"author" : "xcode"
111+
}
112+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"info" : {
3+
"version" : 1,
4+
"author" : "xcode"
5+
}
6+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
{
2+
"images" : [
3+
{
4+
"size" : "16x16",
5+
"idiom" : "mac",
6+
"filename" : "Icon_Max-16.png",
7+
"scale" : "1x"
8+
},
9+
{
10+
"size" : "16x16",
11+
"idiom" : "mac",
12+
"filename" : "Icon_Max-32.png",
13+
"scale" : "2x"
14+
},
15+
{
16+
"size" : "32x32",
17+
"idiom" : "mac",
18+
"filename" : "Icon_Max-32.png",
19+
"scale" : "1x"
20+
},
21+
{
22+
"size" : "32x32",
23+
"idiom" : "mac",
24+
"filename" : "Icon_Max-64.png",
25+
"scale" : "2x"
26+
},
27+
{
28+
"size" : "128x128",
29+
"idiom" : "mac",
30+
"filename" : "Icon_Max-128.png",
31+
"scale" : "1x"
32+
},
33+
{
34+
"size" : "128x128",
35+
"idiom" : "mac",
36+
"filename" : "Icon_Max-256.png",
37+
"scale" : "2x"
38+
},
39+
{
40+
"size" : "256x256",
41+
"idiom" : "mac",
42+
"filename" : "Icon_Max-256.png",
43+
"scale" : "1x"
44+
},
45+
{
46+
"size" : "256x256",
47+
"idiom" : "mac",
48+
"filename" : "Icon_Max-512.png",
49+
"scale" : "2x"
50+
},
51+
{
52+
"size" : "512x512",
53+
"idiom" : "mac",
54+
"filename" : "Icon_Max-512.png",
55+
"scale" : "1x"
56+
},
57+
{
58+
"size" : "512x512",
59+
"idiom" : "mac",
60+
"filename" : "Icon_Max-1024.png",
61+
"scale" : "2x"
62+
}
63+
],
64+
"info" : {
65+
"version" : 1,
66+
"author" : "xcode"
67+
}
68+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "tv",
5+
"filename" : "tvos-layer1.png",
6+
"scale" : "1x"
7+
},
8+
{
9+
"idiom" : "tv",
10+
"scale" : "2x"
11+
}
12+
],
13+
"info" : {
14+
"version" : 1,
15+
"author" : "xcode"
16+
}
17+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"info" : {
3+
"version" : 1,
4+
"author" : "xcode"
5+
}
6+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "tv",
5+
"filename" : "tvos-layer0.png",
6+
"scale" : "1x"
7+
},
8+
{
9+
"idiom" : "tv",
10+
"scale" : "2x"
11+
}
12+
],
13+
"info" : {
14+
"version" : 1,
15+
"author" : "xcode"
16+
}
17+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"info" : {
3+
"version" : 1,
4+
"author" : "xcode"
5+
}
6+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"layers" : [
3+
{
4+
"filename" : "Near.imagestacklayer"
5+
},
6+
{
7+
"filename" : "Front.imagestacklayer"
8+
},
9+
{
10+
"filename" : "Middle.imagestacklayer"
11+
},
12+
{
13+
"filename" : "Back.imagestacklayer"
14+
},
15+
{
16+
"filename" : "Background.imagestacklayer"
17+
}
18+
],
19+
"info" : {
20+
"version" : 1,
21+
"author" : "xcode"
22+
}
23+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "tv",
5+
"filename" : "tvos-layer3.png",
6+
"scale" : "1x"
7+
},
8+
{
9+
"idiom" : "tv",
10+
"scale" : "2x"
11+
}
12+
],
13+
"info" : {
14+
"version" : 1,
15+
"author" : "xcode"
16+
}
17+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"info" : {
3+
"version" : 1,
4+
"author" : "xcode"
5+
}
6+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "tv",
5+
"filename" : "tvos-layer2.png",
6+
"scale" : "1x"
7+
},
8+
{
9+
"idiom" : "tv",
10+
"scale" : "2x"
11+
}
12+
],
13+
"info" : {
14+
"version" : 1,
15+
"author" : "xcode"
16+
}
17+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"info" : {
3+
"version" : 1,
4+
"author" : "xcode"
5+
}
6+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"images" : [
3+
{
4+
"idiom" : "tv",
5+
"filename" : "tvos-layer4.png",
6+
"scale" : "1x"
7+
},
8+
{
9+
"idiom" : "tv",
10+
"scale" : "2x"
11+
}
12+
],
13+
"info" : {
14+
"version" : 1,
15+
"author" : "xcode"
16+
}
17+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"info" : {
3+
"version" : 1,
4+
"author" : "xcode"
5+
}
6+
}

0 commit comments

Comments
 (0)