Skip to content

Commit

Permalink
texture and play layer fix
Browse files Browse the repository at this point in the history
  • Loading branch information
adafcaefc committed Dec 5, 2024
1 parent c260572 commit 0e5cc3c
Show file tree
Hide file tree
Showing 19 changed files with 1,612 additions and 38,950 deletions.
4 changes: 2 additions & 2 deletions Geome3Dash/src/game/playing/G3DPlayLayer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ namespace g3d

void G3DPlayLayer::loadPlayers()
{
player1 = PlayerObjectModel(playLayer->m_player1, { splineTr, splineCamTr });
player2 = PlayerObjectModel(playLayer->m_player2, { splineTr });
player1 = PlayerObjectModel(playLayer->m_player1, { splinePlayerTr, splineCamTr });
player2 = PlayerObjectModel(playLayer->m_player2, { splinePlayerTr });
}

bool G3DPlayLayer::init()
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
newmtl Material
Ns 250.000000
Ka 1.000000 1.000000 1.000000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 2
map_Kd {{MODEL_PATH}}/model.png
40 changes: 40 additions & 0 deletions bin/resources/rainixgd.geome3dash/model3d/object/1743/model.obj
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Blender 4.0.2
# www.blender.org
mtllib model.mtl
o Cube
v -1.000000 1.000000 1.000000
v -1.000000 -1.000000 1.000000
v -1.000000 -1.000000 -1.000000
v 1.000000 1.000000 1.000000
v 1.000000 -1.000000 1.000000
v 1.000000 -1.000000 -1.000000
vn 1.0000 -0.0000 -0.0000
vn -0.0000 0.7071 -0.7071
vn -1.0000 -0.0000 -0.0000
vn -0.0000 -1.0000 -0.0000
vn -0.0000 -0.0000 1.0000
vt 1.000174 0.334118
vt 0.001330 0.333333
vt 1.002421 0.666393
vt 0.000423 0.000018
vt 0.000052 0.332692
vt 1.000891 0.333483
vt 0.999900 0.000100
vt 1.000039 0.333240
vt 1.004178 0.666371
vt -0.000031 0.331879
vt -0.000160 0.667014
vt 0.999740 0.667014
vt 1.000000 0.999900
vt 0.000100 0.999900
vt 0.000456 0.666964
vt 1.000139 0.666684
vt 0.999792 1.000022
vt 0.000625 0.999594
s 0
usemtl Material
f 5/1/1 6/2/1 4/3/1
f 6/4/2 3/5/2 1/6/2 4/7/2
f 2/8/3 1/9/3 3/10/3
f 5/11/4 2/12/4 3/13/4 6/14/4
f 5/15/5 4/16/5 1/17/5 2/18/5
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions bin/resources/rainixgd.geome3dash/model3d/object/1744/model.mtl
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Blender 4.0.2 MTL File: 'None'
# www.blender.org

newmtl Material
Ns 250.000000
Ka 1.000000 1.000000 1.000000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 2
map_Kd {{MODEL_PATH}}/model.png
58 changes: 58 additions & 0 deletions bin/resources/rainixgd.geome3dash/model3d/object/1744/model.obj
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# Blender 4.0.2
# www.blender.org
mtllib model.mtl
o Cube
v -1.000000 1.000000 2.000000
v -1.000000 -1.000000 2.000000
v -1.000000 -1.000000 -2.000000
v 1.000000 1.000000 2.000000
v 1.000000 -1.000000 2.000000
v 1.000000 -1.000000 -2.000000
v -1.000000 0.000000 0.000000
v 1.000000 0.000000 -0.000000
v -1.000000 -1.000000 0.000000
v 1.000000 -1.000000 -0.000000
vn 1.0000 -0.0000 -0.0000
vn -0.0000 0.8944 -0.4472
vn -1.0000 -0.0000 -0.0000
vn -0.0000 -1.0000 -0.0000
vn -0.0000 -0.0000 1.0000
vt 1.000123 0.001033
vt 1.000772 0.250796
vt 1.001421 0.500559
vt 0.500807 0.249646
vt 0.000192 -0.001268
vt 0.999763 0.999527
vt 0.500675 0.998516
vt 0.500172 0.499887
vt 1.000330 0.500267
vt 1.000152 0.000300
vt 0.001342 -0.001555
vt 0.499870 0.247724
vt 0.998399 0.497004
vt 0.999276 0.248652
vt 0.499898 1.000000
vt 0.499802 0.499889
vt 0.000413 0.501577
vt -0.000767 0.999962
vt 0.000360 0.999622
vt 0.000769 0.500806
vt 0.500018 0.500056
vt 0.499891 1.000155
vt 0.999701 0.500389
vt 0.500085 0.500014
vt 0.500286 0.999385
vt 0.999859 1.000039
vt 0.499991 0.500145
vt 0.000447 0.500878
vt 0.000336 1.000220
vt 0.500209 0.999751
s 0
usemtl Material
f 5/1/1 10/2/1 6/3/1 8/4/1 4/5/1
f 8/6/2 7/7/2 1/8/2 4/9/2
f 2/10/3 1/11/3 7/12/3 3/13/3 9/14/3
f 10/15/4 9/16/4 3/17/4 6/18/4
f 5/19/5 4/20/5 1/21/5 2/22/5
f 3/23/2 7/24/2 8/25/2 6/26/2
f 2/27/4 9/28/4 10/29/4 5/30/4
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 10 additions & 8 deletions bin/resources/rainixgd.geome3dash/model3d/object/2/model.obj
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
mtllib model.mtl
# Blender 4.0.2
# www.blender.org
mtllib modelobj.mtl
o model
v 1.000000 1.000000 -1.000000
v 1.000000 -1.000000 -1.000000
v 1.000000 1.000000 1.000000
v 1.000000 -1.000000 1.000000
v -1.000000 1.000000 -1.000000
v -1.000000 -1.000000 -1.000000
v 1.000000 1.000000 -1.000000
v 1.000000 -1.000000 -1.000000
v -1.000000 1.000000 1.000000
v -1.000000 -1.000000 1.000000
v 1.000000 1.000000 1.000000
v 1.000000 -1.000000 1.000000
vn -0.0000 1.0000 -0.0000
vn -0.0000 -0.0000 1.0000
vn -0.0000 -0.0000 -1.0000
vn 1.0000 -0.0000 -0.0000
vn -1.0000 -0.0000 -0.0000
vt 1.000000 0.000000
vt 0.000000 0.000000
vt 0.000000 0.500000
Expand All @@ -21,4 +23,4 @@ s 0
usemtl main
f 1/1/1 5/2/1 7/3/1 3/4/1
f 4/4/2 3/5/2 7/6/2 8/3/2
f 6/3/3 5/6/3 1/5/3 2/4/3
f 6/3/3 5/6/3 1/5/3 2/4/3
23 changes: 11 additions & 12 deletions bin/resources/rainixgd.geome3dash/model3d/object/3/model.obj
Original file line number Diff line number Diff line change
@@ -1,29 +1,28 @@
# Blender 4.0.2
# www.blender.org
mtllib model.mtl
o model
v 1.000000 1.000000 -1.000000
v -1.000000 -1.000000 -1.000000
v -1.000000 -1.000000 1.000000
v 1.000000 -1.000000 -1.000000
v 1.000000 1.000000 1.000000
v 1.000000 -1.000000 1.000000
v -1.000000 1.000000 -1.000000
v -1.000000 -1.000000 -1.000000
v -1.000000 1.000000 1.000000
v -1.000000 -1.000000 1.000000
v 1.000000 1.000000 -1.000000
v 1.000000 1.000000 1.000000
vn -0.0000 -0.0000 -1.0000
vn 1.0000 -0.0000 -0.0000
vn -0.0000 1.0000 -0.0000
vn -0.0000 -0.0000 1.0000
vn -1.0000 -0.0000 -0.0000
vn -0.0000 -0.0000 -1.0000
vt 0.000000 -0.000000
vt -0.000000 0.500000
vt 1.000000 0.500000
vt 1.000000 0.000000
vt 1.000000 1.000000
vt 0.000000 1.000000
vt 0.000000 0.500000
vt -0.000000 0.000000
vt 1.000000 -0.000000
s 0
usemtl main
f 1/1/1 5/2/1 7/3/1 3/4/1
f 4/3/2 3/5/2 7/6/2 8/7/2
f 8/8/3 7/7/3 5/3/3 6/9/3
f 6/7/4 5/6/4 1/5/4 2/3/4
f 4/3/2 3/5/2 7/6/2 8/2/2
f 8/1/3 7/2/3 5/3/3 6/4/3
f 6/2/4 5/6/4 1/5/4 2/3/4
26 changes: 10 additions & 16 deletions bin/resources/rainixgd.geome3dash/model3d/object/4/model.obj
Original file line number Diff line number Diff line change
@@ -1,28 +1,22 @@
# Blender 4.0.2
# www.blender.org
mtllib model.mtl
o model
v 1.000000 1.000000 -1.000000
v 1.000000 -1.000000 -1.000000
v 1.000000 1.000000 1.000000
v 1.000000 -1.000000 1.000000
v -1.000000 1.000000 -1.000000
v -1.000000 -1.000000 -1.000000
v 1.000000 1.000000 -1.000000
v 1.000000 -1.000000 -1.000000
v -1.000000 1.000000 1.000000
v -1.000000 -1.000000 1.000000
vn -0.0000 1.0000 -0.0000
vn -0.0000 -0.0000 1.0000
vn -1.0000 -0.0000 -0.0000
vn -0.0000 -1.0000 -0.0000
v 1.000000 1.000000 1.000000
v 1.000000 -1.000000 1.000000
vn 1.0000 -0.0000 -0.0000
vn -0.0000 -0.0000 -1.0000
vn -1.0000 -0.0000 -0.0000
vt 1.000000 0.000000
vt 1.000000 1.000000
vt 0.000000 1.000000
vt 0.000000 0.000000
vt 1.000000 0.000000
s 0
usemtl main
#f 1/1/1 5/2/1 7/3/1 3/4/1
f 4/4/2 3/1/2 7/2/2 8/3/2
#f 8/3/3 7/2/3 5/1/3 6/4/3
#f 6/2/4 2/1/4 4/4/4 8/3/4
#f 2/4/5 1/1/5 3/2/5 4/3/5
f 6/3/6 5/2/6 1/1/6 2/4/6
f 4/1/1 3/2/1 7/3/1 8/4/1
f 6/4/2 5/3/2 1/2/2 2/1/2
26 changes: 10 additions & 16 deletions bin/resources/rainixgd.geome3dash/model3d/object/5/model.obj
Original file line number Diff line number Diff line change
@@ -1,28 +1,22 @@
# Blender 4.0.2
# www.blender.org
mtllib model.mtl
o model
v 1.000000 1.000000 -1.000000
v 1.000000 -1.000000 -1.000000
v 1.000000 1.000000 1.000000
v 1.000000 -1.000000 1.000000
v -1.000000 1.000000 -1.000000
v -1.000000 -1.000000 -1.000000
v 1.000000 1.000000 -1.000000
v 1.000000 -1.000000 -1.000000
v -1.000000 1.000000 1.000000
v -1.000000 -1.000000 1.000000
vn -0.0000 1.0000 -0.0000
vn -0.0000 -0.0000 1.0000
vn -1.0000 -0.0000 -0.0000
vn -0.0000 -1.0000 -0.0000
v 1.000000 1.000000 1.000000
v 1.000000 -1.000000 1.000000
vn 1.0000 -0.0000 -0.0000
vn -0.0000 -0.0000 -1.0000
vn -1.0000 -0.0000 -0.0000
vt 1.000000 0.000000
vt 1.000000 1.000000
vt 0.000000 1.000000
vt 0.000000 0.000000
vt 1.000000 0.000000
s 0
usemtl main
#f 1/1/1 5/2/1 7/3/1 3/4/1
f 4/4/2 3/1/2 7/2/2 8/3/2
#f 8/3/3 7/2/3 5/1/3 6/4/3
#f 6/2/4 2/1/4 4/4/4 8/3/4
#f 2/4/5 1/1/5 3/2/5 4/3/5
f 6/3/6 5/2/6 1/1/6 2/4/6
f 4/1/1 3/2/1 7/3/1 8/4/1
f 6/4/2 5/3/2 1/2/2 2/1/2
17 changes: 7 additions & 10 deletions bin/resources/rainixgd.geome3dash/model3d/player/ball/0/model.mtl
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
# Blender 4.3.0 MTL File: 'Geometry Dash Ball.blend'
# www.blender.org

newmtl Green
newmtl main
Ns 250.000000
Ka 0.200000 0.200000 0.200000
Kd 0.030713 1.000000 0.001821
Ka 0.000000 0.700000 0.000000
Kd 0.030713 5.000000 0.001821
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 2

newmtl Light_Blue
newmtl second
Ns 250.000000
Ka 0.200000 0.200000 0.200000
Kd 0.020289 0.991102 0.991102
Ka 0.000000 0.500000 0.500000
Kd 0.020287 0.991101 0.991102
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 2
illum 2
Loading

0 comments on commit 0e5cc3c

Please sign in to comment.