summaryrefslogtreecommitdiff
path: root/assets
diff options
context:
space:
mode:
authorOmniscient <omniscient.oce@gmail.com>2024-03-05 21:27:18 +1100
committerOmniscient <omniscient.oce@gmail.com>2024-03-05 21:27:18 +1100
commit501c44488fb8918efb5f72b8c42690e8197aad31 (patch)
treea71aa852e8c1428e3d6ebc7f71f7f63ca911639d /assets
parentb459aa07581a948ee252d7e543c10675b602f146 (diff)
add cube obj
Diffstat (limited to 'assets')
-rw-r--r--assets/models/obj/cube/container.jpgbin0 -> 184939 bytes
-rw-r--r--assets/models/obj/cube/cube.mtl14
-rw-r--r--assets/models/obj/cube/cube.obj47
3 files changed, 61 insertions, 0 deletions
diff --git a/assets/models/obj/cube/container.jpg b/assets/models/obj/cube/container.jpg
new file mode 100644
index 0000000..d07bee4
--- /dev/null
+++ b/assets/models/obj/cube/container.jpg
Binary files differ
diff --git a/assets/models/obj/cube/cube.mtl b/assets/models/obj/cube/cube.mtl
new file mode 100644
index 0000000..83a0e8c
--- /dev/null
+++ b/assets/models/obj/cube/cube.mtl
@@ -0,0 +1,14 @@
+# Blender MTL File: 'None'
+# Material Count: 1
+
+newmtl Scene_-_Root
+Ns 225.000000
+Ka 1.000000 1.000000 1.000000
+Kd 0.800000 0.800000 0.800000
+Ks 0.500000 0.500000 0.500000
+Ke 0.0 0.0 0.0
+Ni 1.450000
+d 1.000000
+illum 2
+map_Kd container.jpg
+
diff --git a/assets/models/obj/cube/cube.obj b/assets/models/obj/cube/cube.obj
new file mode 100644
index 0000000..db3bda6
--- /dev/null
+++ b/assets/models/obj/cube/cube.obj
@@ -0,0 +1,47 @@
+# cube.obj
+#
+
+mtllib cube.mtl
+o cube
+
+v -0.500000 -0.500000 0.500000
+v 0.500000 -0.500000 0.500000
+v -0.500000 0.500000 0.500000
+v 0.500000 0.500000 0.500000
+v -0.500000 0.500000 -0.500000
+v 0.500000 0.500000 -0.500000
+v -0.500000 -0.500000 -0.500000
+v 0.500000 -0.500000 -0.500000
+
+vt 0.000000 0.000000
+vt 1.000000 0.000000
+vt 0.000000 1.000000
+vt 1.000000 1.000000
+
+vn 0.000000 0.000000 1.000000
+vn 0.000000 1.000000 0.000000
+vn 0.000000 0.000000 -1.000000
+vn 0.000000 -1.000000 0.000000
+vn 1.000000 0.000000 0.000000
+vn -1.000000 0.000000 0.000000
+
+g cube
+usemtl cube
+s 1
+f 1/1/1 2/2/1 3/3/1
+f 3/3/1 2/2/1 4/4/1
+s 2
+f 3/1/2 4/2/2 5/3/2
+f 5/3/2 4/2/2 6/4/2
+s 3
+f 5/4/3 6/3/3 7/2/3
+f 7/2/3 6/3/3 8/1/3
+s 4
+f 7/1/4 8/2/4 1/3/4
+f 1/3/4 8/2/4 2/4/4
+s 5
+f 2/1/5 8/2/5 4/3/5
+f 4/3/5 8/2/5 6/4/5
+s 6
+f 7/1/6 1/2/6 5/3/6
+f 5/3/6 1/2/6 3/4/6 \ No newline at end of file