Skip to content

Commit fa5a9b6

Browse files
committed
polybool demo
1 parent a639beb commit fa5a9b6

Some content is hidden

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

64 files changed

+398818
-13
lines changed

app/build.gradle

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ plugins {
33
}
44

55
android {
6-
compileSdk 31
6+
compileSdk 33
77

88
defaultConfig {
99
applicationId "org.andresoviedo.dddmodel2"
1010
minSdk 16
11-
targetSdk 31
11+
targetSdk 33
1212
}
1313

1414
signingConfigs {
@@ -37,6 +37,11 @@ android {
3737
}
3838

3939
dependencies {
40-
implementation 'androidx.core:core:1.7.0'
40+
implementation 'androidx.core:core:1.8.0'
41+
implementation 'androidx.navigation:navigation-fragment:2.5.1'
42+
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
43+
implementation 'androidx.coordinatorlayout:coordinatorlayout:1.2.0'
44+
implementation 'com.google.android.material:material:1.6.1'
45+
implementation 'com.google.code.gson:gson:2.9.1'
4146
implementation project(':engine')
4247
}
-9.73 MB
Binary file not shown.

app/src/main/AndroidManifest.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,29 @@
4949

5050
<!-- android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen" -->
5151
</activity>
52+
53+
54+
<!-- Demos -->
5255
<activity
5356
android:name="org.andresoviedo.app.model3D.demo.GlyphsDemoActivity"
5457
android:label="@string/title_activity_model"
5558
android:parentActivityName="org.andresoviedo.app.model3D.MainActivity" >
5659
</activity>
60+
<activity
61+
android:name="org.andresoviedo.app.model3D.demo.EarCutDemoActivity"
62+
android:label="@string/title_activity_model"
63+
android:parentActivityName="org.andresoviedo.app.model3D.MainActivity" >
64+
</activity>
65+
66+
67+
<!-- polybool -->
68+
<activity
69+
android:name="org.the3deers.polybool.demo.WebActivity"
70+
android:label="@string/app_name"
71+
android:theme="@style/Theme.AppCompat.NoActionBar">
72+
73+
</activity>
74+
5775
</application>
5876

5977
</manifest>
Lines changed: 210 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,210 @@
1+
# 3ds Max Wavefront OBJ Exporter v0.99 - (c)2007 guruware
2+
# File Created: 07.09.2022 12:18:03
3+
4+
newmtl Belt
5+
Ns 50.0000
6+
Ni 1.6000
7+
d 1.0000
8+
Tr 0.0000
9+
Tf 1.0000 1.0000 1.0000
10+
illum 2
11+
Ka 0.5880 0.5880 0.5880
12+
Kd 0.5000 0.5000 0.5000
13+
Ks 0.0332 0.0332 0.0332
14+
Ke 0.0000 0.0000 0.0000
15+
map_Ka maps\1.jpg
16+
map_Kd maps\1.jpg
17+
map_bump maps\1.jpg
18+
bump maps\1.jpg
19+
20+
newmtl Fabric
21+
Ns 50.0000
22+
Ni 1.6000
23+
d 1.0000
24+
Tr 0.0000
25+
Tf 1.0000 1.0000 1.0000
26+
illum 2
27+
Ka 0.5880 0.5880 0.5880
28+
Kd 0.5000 0.5000 0.5000
29+
Ks 0.0038 0.0038 0.0038
30+
Ke 0.0000 0.0000 0.0000
31+
map_Ka maps\2.jpg
32+
map_Kd maps\2.jpg
33+
map_bump maps\2.jpg
34+
bump maps\2.jpg
35+
36+
newmtl hussi
37+
Ns 62.8571
38+
Ni 1.6000
39+
d 1.0000
40+
Tr 0.0000
41+
Tf 1.0000 1.0000 1.0000
42+
illum 2
43+
Ka 0.5880 0.5880 0.5880
44+
Kd 0.8627 0.8627 0.8627
45+
Ks 0.0055 0.0055 0.0055
46+
Ke 0.0000 0.0000 0.0000
47+
48+
newmtl WheelM
49+
Ns 62.8571
50+
Ni 1.6000
51+
d 1.0000
52+
Tr 0.0000
53+
Tf 1.0000 1.0000 1.0000
54+
illum 2
55+
Ka 0.5880 0.5880 0.5880
56+
Kd 0.1294 0.1294 0.1294
57+
Ks 0.3264 0.3264 0.3264
58+
Ke 0.0000 0.0000 0.0000
59+
60+
newmtl Metal
61+
Ns 64.2857
62+
Ni 1.6000
63+
d 1.0000
64+
Tr 0.0000
65+
Tf 1.0000 1.0000 1.0000
66+
illum 2
67+
Ka 0.5880 0.5880 0.5880
68+
Kd 0.5098 0.5098 0.5098
69+
Ks 0.2640 0.2640 0.2640
70+
Ke 0.0000 0.0000 0.0000
71+
map_Ka maps\LINE_01.JPG
72+
map_Kd maps\LINE_01.JPG
73+
74+
newmtl Plastic
75+
Ns 60.7143
76+
Ni 1.6000
77+
d 1.0000
78+
Tr 0.0000
79+
Tf 1.0000 1.0000 1.0000
80+
illum 2
81+
Ka 0.5880 0.5880 0.5880
82+
Kd 0.3765 0.4784 0.5608
83+
Ks 1.0000 1.0000 1.0000
84+
Ke 0.0000 0.0000 0.0000
85+
86+
newmtl Light_Metal
87+
Ns 62.8571
88+
Ni 1.6000
89+
d 1.0000
90+
Tr 0.0000
91+
Tf 1.0000 1.0000 1.0000
92+
illum 2
93+
Ka 0.5880 0.5880 0.5880
94+
Kd 0.5137 0.5451 0.5647
95+
Ks 0.2510 0.2510 0.2510
96+
Ke 0.0000 0.0000 0.0000
97+
98+
newmtl huiLine
99+
Ns 62.8571
100+
Ni 1.6000
101+
d 1.0000
102+
Tr 0.0000
103+
Tf 1.0000 1.0000 1.0000
104+
illum 2
105+
Ka 0.5880 0.5880 0.5880
106+
Kd 0.6314 0.6314 0.6314
107+
Ks 0.0055 0.0055 0.0055
108+
Ke 0.0000 0.0000 0.0000
109+
110+
newmtl 08___Default
111+
Ns 50.0000
112+
Ni 1.6000
113+
d 1.0000
114+
Tr 0.0000
115+
Tf 1.0000 1.0000 1.0000
116+
illum 2
117+
Ka 0.5880 0.5880 0.5880
118+
Kd 0.5000 0.5000 0.5000
119+
Ks 0.0017 0.0017 0.0017
120+
Ke 0.0000 0.0000 0.0000
121+
map_Ka maps\226_cercles.jpg
122+
map_Kd maps\226_cercles.jpg
123+
124+
newmtl Base
125+
Ns 57.1429
126+
Ni 1.6000
127+
d 1.0000
128+
Tr 0.0000
129+
Tf 1.0000 1.0000 1.0000
130+
illum 2
131+
Ka 0.5880 0.5880 0.5880
132+
Kd 0.5000 0.5000 0.5000
133+
Ks 0.0088 0.0088 0.0088
134+
Ke 0.0000 0.0000 0.0000
135+
136+
newmtl Dark_Metal
137+
Ns 61.4286
138+
Ni 1.6000
139+
d 1.0000
140+
Tr 0.0000
141+
Tf 1.0000 1.0000 1.0000
142+
illum 2
143+
Ka 0.5880 0.5880 0.5880
144+
Kd 0.2431 0.2275 0.1608
145+
Ks 0.5382 0.5382 0.5382
146+
Ke 0.0000 0.0000 0.0000
147+
148+
newmtl Pan_Glass
149+
Ns 68.5714
150+
Ni 1.6000
151+
d 0.0200
152+
Tr 0.9800
153+
Tf 0.0200 0.0200 0.0200
154+
illum 2
155+
Ka 0.5880 0.5880 0.5880
156+
Kd 0.8863 0.9529 0.9686
157+
Ks 0.0055 0.0055 0.0055
158+
Ke 0.0000 0.0000 0.0000
159+
160+
newmtl 04___Default
161+
Ns 60.7143
162+
Ni 1.6000
163+
d 1.0000
164+
Tr 0.0000
165+
Tf 1.0000 1.0000 1.0000
166+
illum 2
167+
Ka 0.5880 0.5880 0.5880
168+
Kd 1.0000 0.0000 0.0000
169+
Ks 0.0106 0.0106 0.0106
170+
Ke 0.0000 0.0000 0.0000
171+
172+
newmtl Line
173+
Ns 62.8571
174+
Ni 1.6000
175+
d 1.0000
176+
Tr 0.0000
177+
Tf 1.0000 1.0000 1.0000
178+
illum 2
179+
Ka 0.5880 0.5880 0.5880
180+
Kd 0.9216 0.9216 0.9216
181+
Ks 0.0055 0.0055 0.0055
182+
Ke 0.0000 0.0000 0.0000
183+
184+
newmtl Pan
185+
Ns 57.1429
186+
Ni 1.6000
187+
d 1.0000
188+
Tr 0.0000
189+
Tf 1.0000 1.0000 1.0000
190+
illum 2
191+
Ka 0.5880 0.5880 0.5880
192+
Kd 0.5000 0.5000 0.5000
193+
Ks 0.0146 0.0146 0.0146
194+
Ke 0.0000 0.0000 0.0000
195+
map_Ka maps\4.jpg
196+
map_Kd maps\4.jpg
197+
198+
newmtl Pan_Grd
199+
Ns 57.1429
200+
Ni 1.6000
201+
d 1.0000
202+
Tr 0.0000
203+
Tf 1.0000 1.0000 1.0000
204+
illum 2
205+
Ka 0.5880 0.5880 0.5880
206+
Kd 0.5000 0.5000 0.5000
207+
Ks 0.0038 0.0038 0.0038
208+
Ke 0.0000 0.0000 0.0000
209+
map_Ka maps\3.jpg
210+
map_Kd maps\3.jpg

0 commit comments

Comments
 (0)