From 89572c1648128456822cf2dda07b13e78cfc2813 Mon Sep 17 00:00:00 2001 From: sanine Date: Mon, 13 Mar 2023 02:42:16 -0500 Subject: render all shapes --- assets/Cube.png | Bin 0 -> 22611 bytes assets/Icosphere.png | Bin 0 -> 75897 bytes assets/cube.obj | 54 +++++++-- assets/dodecahedron.mtl | 14 ++- assets/dodecahedron.obj | 298 ++++++++++++++++++++++++------------------------ assets/icosahedron.mtl | 14 ++- assets/icosahedron.obj | 199 +++++++++++++++++++++++--------- assets/octahedron.mtl | 12 ++ assets/octahedron.obj | 70 ++++++++++++ assets/octahedron.png | Bin 0 -> 32343 bytes assets/octohedron.mtl | 10 -- assets/octohedron.obj | 32 ------ assets/octohedron.png | Bin 32343 -> 0 bytes assets/tetrahedron.obj | 34 ++++-- 14 files changed, 464 insertions(+), 273 deletions(-) create mode 100644 assets/Cube.png create mode 100644 assets/Icosphere.png create mode 100644 assets/octahedron.mtl create mode 100644 assets/octahedron.obj create mode 100644 assets/octahedron.png delete mode 100644 assets/octohedron.mtl delete mode 100644 assets/octohedron.obj delete mode 100644 assets/octohedron.png (limited to 'assets') diff --git a/assets/Cube.png b/assets/Cube.png new file mode 100644 index 0000000..413a785 Binary files /dev/null and b/assets/Cube.png differ diff --git a/assets/Icosphere.png b/assets/Icosphere.png new file mode 100644 index 0000000..47c48f4 Binary files /dev/null and b/assets/Icosphere.png differ diff --git a/assets/cube.obj b/assets/cube.obj index 59558f1..01d923d 100644 --- a/assets/cube.obj +++ b/assets/cube.obj @@ -1,7 +1,7 @@ # Blender v3.4.1 OBJ File: '' # www.blender.org mtllib cube.mtl -o Cube_Cube.001 +o Cube_Cube.003 v -1.000000 -1.000000 1.000000 v -1.000000 1.000000 1.000000 v -1.000000 -1.000000 -1.000000 @@ -10,19 +10,45 @@ 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 -vt 0.375000 0.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 +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 vt 0.625000 0.000000 +vt 0.375000 0.250000 +vt 0.375000 0.000000 vt 0.625000 0.250000 +vt 0.375000 0.500000 vt 0.375000 0.250000 vt 0.625000 0.500000 +vt 0.375000 0.750000 vt 0.375000 0.500000 vt 0.625000 0.750000 -vt 0.375000 0.750000 -vt 0.625000 1.000000 vt 0.375000 1.000000 -vt 0.125000 0.500000 +vt 0.375000 0.750000 +vt 0.375000 0.500000 vt 0.125000 0.750000 +vt 0.125000 0.500000 vt 0.875000 0.500000 +vt 0.625000 0.750000 +vt 0.625000 0.500000 +vt 0.625000 0.250000 +vt 0.625000 0.500000 +vt 0.625000 0.750000 +vt 0.625000 1.000000 +vt 0.375000 0.750000 vt 0.875000 0.750000 vn -1.0000 0.0000 0.0000 vn 0.0000 0.0000 -1.0000 @@ -32,9 +58,15 @@ vn 0.0000 -1.0000 0.0000 vn 0.0000 1.0000 0.0000 usemtl None s off -f 1/1/1 2/2/1 4/3/1 3/4/1 -f 3/4/2 4/3/2 8/5/2 7/6/2 -f 7/6/3 8/5/3 6/7/3 5/8/3 -f 5/8/4 6/7/4 2/9/4 1/10/4 -f 3/11/5 7/6/5 5/8/5 1/12/5 -f 8/5/6 4/13/6 2/14/6 6/7/6 +f 13/1/1 9/2/1 11/3/1 +f 16/4/2 17/5/2 10/6/2 +f 20/7/3 21/8/3 18/9/3 +f 24/10/4 12/11/4 22/12/4 +f 7/13/5 1/14/5 3/15/5 +f 4/16/6 6/17/6 8/18/6 +f 13/1/1 15/19/1 9/2/1 +f 16/4/2 19/20/2 17/5/2 +f 20/7/3 23/21/3 21/8/3 +f 24/10/4 14/22/4 12/11/4 +f 7/13/5 5/23/5 1/14/5 +f 4/16/6 2/24/6 6/17/6 diff --git a/assets/dodecahedron.mtl b/assets/dodecahedron.mtl index f231bdf..a891989 100644 --- a/assets/dodecahedron.mtl +++ b/assets/dodecahedron.mtl @@ -1,10 +1,12 @@ # Blender MTL File: 'None' # Material Count: 1 -newmtl None -Ns 500 -Ka 0.8 0.8 0.8 -Kd 0.8 0.8 0.8 -Ks 0.8 0.8 0.8 -d 1 +newmtl None.001 +Ns 499.999983 +Ka 1.000000 1.000000 1.000000 +Kd 0.800000 0.800000 0.800000 +Ks 0.800000 0.800000 0.800000 +Ke 0.000000 0.000000 0.000000 +Ni 1.450000 +d 1.000000 illum 2 diff --git a/assets/dodecahedron.obj b/assets/dodecahedron.obj index 9378634..d833481 100644 --- a/assets/dodecahedron.obj +++ b/assets/dodecahedron.obj @@ -1,114 +1,114 @@ # Blender v3.4.1 OBJ File: '' # www.blender.org mtllib dodecahedron.mtl -o Circle -v 0.000000 0.000000 0.000000 -v -0.000000 -0.000000 -1.000000 -v -0.951057 0.000000 -0.309017 -v -0.587785 0.000000 0.809017 -v 0.587785 0.000000 0.809017 -v 0.951057 0.000000 -0.309017 -v -0.951060 1.618035 -1.309021 -v -0.000001 1.000000 -1.618033 -v -0.000005 -0.000000 -1.000000 -v -0.951065 -0.000000 -0.309022 -v -1.538849 1.000000 -0.500007 -v -0.688196 0.723607 -0.947217 -v 0.000002 1.000000 -1.618033 -v 0.951057 1.618035 -1.309011 -v 1.538839 1.000001 -0.499991 -v 0.951053 -0.000000 -0.309012 -v -0.000000 -0.000000 -1.000000 -v 0.688190 0.723607 -0.947210 -v 1.113522 0.723607 0.361803 -v 1.538852 1.000000 -0.499999 -v 0.951066 -0.000000 -0.309018 -v 0.587789 -0.000000 0.809014 -v 0.951057 1.000000 1.309016 -v 1.538846 1.618035 0.500001 -v 0.000000 1.618035 1.618039 -v -0.951055 1.000000 1.309017 -v -0.587781 -0.000000 0.809020 -v 0.587790 -0.000000 0.809026 -v 0.951058 1.000000 1.309027 -v 0.000002 0.723607 1.170826 -v -1.113521 0.723607 0.361807 -v -0.951065 1.000000 1.309022 -v -0.587792 -0.000000 0.809024 -v -0.951058 -0.000000 -0.309012 -v -1.538842 1.000000 -0.499998 -v -1.538846 1.618035 0.500002 -v 0.000000 2.618035 0.000000 -v 0.000000 2.618035 1.000000 -v 0.951057 2.618035 0.309017 -v 0.587785 2.618035 -0.809017 -v -0.587785 2.618035 -0.809017 -v -0.951057 2.618035 0.309017 -v 0.951060 1.000000 1.309021 -v 0.000002 1.618035 1.618033 -v 0.000005 2.618035 1.000000 -v 0.951065 2.618035 0.309022 -v 1.538849 1.618035 0.500007 -v 0.688196 1.894428 0.947217 -v -0.000002 1.618035 1.618033 -v -0.951057 1.000000 1.309011 -v -1.538839 1.618035 0.499992 -v -0.951053 2.618035 0.309012 -v 0.000000 2.618035 1.000000 -v -0.688190 1.894428 0.947210 -v -1.113522 1.894428 -0.361803 -v -1.538852 1.618035 0.499999 -v -0.951066 2.618035 0.309018 -v -0.587789 2.618035 -0.809014 -v -0.951058 1.618035 -1.309015 -v -1.538846 1.000000 -0.500001 -v -0.000001 1.000000 -1.618039 -v 0.951055 1.618035 -1.309017 -v 0.587781 2.618035 -0.809020 -v -0.587790 2.618035 -0.809026 -v -0.951058 1.618035 -1.309027 -v -0.000002 1.894428 -1.170826 -v 1.113521 1.894428 -0.361807 -v 0.951065 1.618035 -1.309022 -v 0.587792 2.618035 -0.809024 -v 0.951058 2.618035 0.309012 -v 1.538842 1.618035 0.499998 -v 1.538846 1.000000 -0.500002 +o Circle.003 +v 0.000000 -0.793800 -0.000000 +v 0.000000 -0.793800 -0.606409 +v -0.576730 -0.793800 -0.187391 +v -0.356438 -0.793800 0.490595 +v 0.356438 -0.793800 0.490595 +v 0.576730 -0.793800 -0.187391 +v -0.417328 -0.354998 -0.574401 +v -0.000001 -0.187391 -0.981190 +v -0.576732 0.187391 -0.793802 +v -0.933172 -0.187391 -0.303209 +v -0.576735 -0.793800 -0.187394 +v -0.000003 -0.793800 -0.606409 +v 0.417325 -0.354998 -0.574397 +v 0.576730 0.187391 -0.793796 +v 0.000001 -0.187391 -0.981190 +v 0.000000 -0.793800 -0.606409 +v 0.576727 -0.793800 -0.187388 +v 0.933166 -0.187390 -0.303199 +v 0.675250 -0.354998 0.219401 +v 0.933174 -0.187391 -0.303204 +v 0.576735 -0.793800 -0.187391 +v 0.933170 0.187391 0.303205 +v 0.356441 -0.793800 0.490594 +v 0.576730 -0.187391 0.793799 +v 0.000001 -0.354998 0.710000 +v -0.576728 -0.187391 0.793800 +v 0.000000 0.187391 0.981194 +v 0.356441 -0.793800 0.490601 +v -0.356436 -0.793800 0.490597 +v 0.576730 -0.187391 0.793806 +v -0.675249 -0.354998 0.219403 +v -0.576735 -0.187391 0.793803 +v -0.356442 -0.793800 0.490600 +v -0.576730 -0.793800 -0.187388 +v -0.933168 -0.187391 -0.303203 +v -0.933170 0.187391 0.303206 +v 0.000000 0.793800 0.000000 +v 0.000000 0.793800 0.606409 +v 0.576730 0.793800 0.187391 +v 0.356438 0.793800 -0.490595 +v -0.356438 0.793800 -0.490595 +v -0.576730 0.793800 0.187391 +v 0.417328 0.354998 0.574401 +v 0.000001 0.187391 0.981190 +v 0.576732 -0.187391 0.793802 +v 0.933172 0.187391 0.303209 +v 0.576735 0.793800 0.187394 +v 0.000003 0.793800 0.606409 +v -0.417325 0.354998 0.574397 +v -0.576730 -0.187391 0.793796 +v -0.000001 0.187391 0.981190 +v 0.000000 0.793800 0.606409 +v -0.576727 0.793800 0.187388 +v -0.933166 0.187391 0.303200 +v -0.675250 0.354998 -0.219401 +v -0.933174 0.187391 0.303204 +v -0.576735 0.793800 0.187391 +v -0.933170 -0.187391 -0.303205 +v -0.356441 0.793800 -0.490594 +v -0.576730 0.187391 -0.793799 +v -0.000001 0.354999 -0.710000 +v 0.576728 0.187391 -0.793800 +v -0.000001 -0.187391 -0.981194 +v -0.356441 0.793800 -0.490601 +v 0.356436 0.793800 -0.490597 +v -0.576730 0.187391 -0.793806 +v 0.675249 0.354998 -0.219403 +v 0.576735 0.187391 -0.793803 +v 0.356442 0.793800 -0.490600 +v 0.576730 0.793800 0.187388 +v 0.933168 0.187391 0.303203 +v 0.933170 -0.187391 -0.303206 vt 0.126156 0.755207 -vt 0.126156 0.865811 vt 0.020966 0.789385 +vt 0.126156 0.865811 vt 0.061145 0.665727 vt 0.191167 0.665727 vt 0.231347 0.789385 vt 0.133793 0.507300 -vt 0.198805 0.417820 vt 0.238984 0.541479 +vt 0.198805 0.417820 vt 0.133793 0.617904 -vt 0.028603 0.541479 vt 0.068782 0.417820 +vt 0.028603 0.541479 vt 0.629231 0.466888 -vt 0.694242 0.377408 vt 0.734421 0.501067 +vt 0.694242 0.377408 vt 0.629231 0.577492 -vt 0.524040 0.501067 vt 0.564220 0.377408 +vt 0.524040 0.501067 vt 0.382101 0.246545 -vt 0.382101 0.357149 vt 0.276910 0.280723 +vt 0.382101 0.357149 vt 0.487291 0.280723 vt 0.317090 0.157065 vt 0.447112 0.157065 vt 0.124232 0.237885 -vt 0.189243 0.148405 vt 0.229422 0.272063 -vt 0.019042 0.272063 +vt 0.189243 0.148405 vt 0.059221 0.148405 +vt 0.019042 0.272063 vt 0.124232 0.348489 vt 0.376328 0.742077 -vt 0.376328 0.852680 vt 0.271137 0.776255 -vt 0.311316 0.652596 +vt 0.376328 0.852680 vt 0.441339 0.652596 +vt 0.311316 0.652596 vt 0.481518 0.776255 vt 0.624574 0.728606 vt 0.624574 0.839209 @@ -146,71 +146,77 @@ vt 0.276910 0.501067 vt 0.317090 0.377408 vt 0.447112 0.377408 vt 0.487291 0.501067 -vn 0.0000 1.0000 -0.0000 +vn 0.0000 -1.0000 -0.0000 +vn -0.5257 -0.4472 -0.7236 +vn 0.5257 -0.4472 -0.7236 +vn 0.8506 -0.4472 0.2764 +vn -0.0000 -0.4472 0.8944 +vn -0.8507 -0.4472 0.2764 +vn 0.0000 1.0000 0.0000 vn 0.5257 0.4472 0.7236 vn -0.5257 0.4472 0.7236 vn -0.8506 0.4472 -0.2764 vn 0.0000 0.4472 -0.8944 vn 0.8507 0.4472 -0.2764 -usemtl None -s off -f 1/1/1 2/2/1 3/3/1 -f 1/1/1 3/3/1 4/4/1 -f 1/1/1 4/4/1 5/5/1 -f 1/1/1 5/5/1 6/6/1 -f 1/1/1 6/6/1 2/2/1 -f 12/7/2 8/8/2 7/9/2 -f 12/7/2 7/9/2 11/10/2 -f 12/7/2 10/11/2 9/12/2 -f 12/7/2 11/10/2 10/11/2 -f 12/7/2 9/12/2 8/8/2 -f 18/13/3 14/14/3 13/15/3 -f 18/13/3 13/15/3 17/16/3 -f 18/13/3 16/17/3 15/18/3 -f 18/13/3 17/16/3 16/17/3 -f 18/13/3 15/18/3 14/14/3 -f 19/19/4 20/20/4 21/21/4 -f 19/19/4 24/22/4 20/20/4 -f 19/19/4 21/21/4 22/23/4 -f 19/19/4 23/24/4 24/22/4 -f 19/19/4 22/23/4 23/24/4 -f 30/25/5 26/26/5 25/27/5 -f 30/25/5 28/28/5 27/29/5 -f 30/25/5 27/29/5 26/26/5 -f 30/25/5 29/30/5 28/28/5 -f 30/25/5 25/27/5 29/30/5 -f 31/31/6 32/32/6 33/33/6 -f 31/31/6 34/34/6 35/35/6 -f 31/31/6 36/36/6 32/32/6 -f 31/31/6 35/35/6 36/36/6 -f 31/31/6 33/33/6 34/34/6 -f 37/37/1 38/38/1 39/39/1 -f 37/37/1 39/39/1 40/40/1 -f 37/37/1 40/40/1 41/41/1 -f 37/37/1 41/41/1 42/42/1 -f 37/37/1 42/42/1 38/38/1 -f 48/43/2 44/44/2 43/45/2 -f 48/43/2 43/45/2 47/46/2 -f 48/43/2 46/47/2 45/48/2 -f 48/43/2 47/46/2 46/47/2 -f 48/43/2 45/48/2 44/44/2 -f 54/49/3 50/50/3 49/51/3 -f 54/49/3 49/51/3 53/52/3 -f 54/49/3 52/53/3 51/54/3 -f 54/49/3 53/52/3 52/53/3 -f 54/49/3 51/54/3 50/50/3 -f 55/55/4 56/56/4 57/57/4 -f 55/55/4 60/58/4 56/56/4 -f 55/55/4 57/57/4 58/59/4 -f 55/55/4 59/60/4 60/58/4 -f 55/55/4 58/59/4 59/60/4 -f 66/61/5 62/62/5 61/63/5 -f 66/61/5 64/64/5 63/65/5 -f 66/61/5 63/65/5 62/62/5 -f 66/61/5 65/66/5 64/64/5 -f 66/61/5 61/63/5 65/66/5 -f 67/67/6 68/68/6 69/69/6 -f 67/67/6 70/70/6 71/71/6 -f 67/67/6 72/72/6 68/68/6 -f 67/67/6 71/71/6 72/72/6 -f 67/67/6 69/69/6 70/70/6 +usemtl None.001 +s 1 +f 1/1/1 3/2/1 2/3/1 +f 1/1/1 4/4/1 3/2/1 +f 1/1/1 5/5/1 4/4/1 +f 1/1/1 6/6/1 5/5/1 +f 1/1/1 2/3/1 6/6/1 +f 7/7/2 9/8/2 8/9/2 +f 7/7/2 10/10/2 9/8/2 +f 7/7/2 12/11/2 11/12/2 +f 7/7/2 11/12/2 10/10/2 +f 7/7/2 8/9/2 12/11/2 +f 13/13/3 15/14/3 14/15/3 +f 13/13/3 16/16/3 15/14/3 +f 13/13/3 18/17/3 17/18/3 +f 13/13/3 17/18/3 16/16/3 +f 13/13/3 14/15/3 18/17/3 +f 19/19/4 21/20/4 20/21/4 +f 19/19/4 20/21/4 22/22/4 +f 19/19/4 23/23/4 21/20/4 +f 19/19/4 22/22/4 24/24/4 +f 19/19/4 24/24/4 23/23/4 +f 25/25/5 27/26/5 26/27/5 +f 25/25/5 29/28/5 28/29/5 +f 25/25/5 26/27/5 29/28/5 +f 25/25/5 28/29/5 30/30/5 +f 25/25/5 30/30/5 27/26/5 +f 31/31/6 33/32/6 32/33/6 +f 31/31/6 35/34/6 34/35/6 +f 31/31/6 32/33/6 36/36/6 +f 31/31/6 36/36/6 35/34/6 +f 31/31/6 34/35/6 33/32/6 +f 37/37/7 38/38/7 39/39/7 +f 37/37/7 39/39/7 40/40/7 +f 37/37/7 40/40/7 41/41/7 +f 37/37/7 41/41/7 42/42/7 +f 37/37/7 42/42/7 38/38/7 +f 43/43/8 44/44/8 45/45/8 +f 43/43/8 45/45/8 46/46/8 +f 43/43/8 47/47/8 48/48/8 +f 43/43/8 46/46/8 47/47/8 +f 43/43/8 48/48/8 44/44/8 +f 49/49/9 50/50/9 51/51/9 +f 49/49/9 51/51/9 52/52/9 +f 49/49/9 53/53/9 54/54/9 +f 49/49/9 52/52/9 53/53/9 +f 49/49/9 54/54/9 50/50/9 +f 55/55/10 56/56/10 57/57/10 +f 55/55/10 58/58/10 56/56/10 +f 55/55/10 57/57/10 59/59/10 +f 55/55/10 60/60/10 58/58/10 +f 55/55/10 59/59/10 60/60/10 +f 61/61/11 62/62/11 63/63/11 +f 61/61/11 64/64/11 65/65/11 +f 61/61/11 65/65/11 62/62/11 +f 61/61/11 66/66/11 64/64/11 +f 61/61/11 63/63/11 66/66/11 +f 67/67/12 68/68/12 69/69/12 +f 67/67/12 70/70/12 71/71/12 +f 67/67/12 72/72/12 68/68/12 +f 67/67/12 71/71/12 72/72/12 +f 67/67/12 69/69/12 70/70/12 diff --git a/assets/icosahedron.mtl b/assets/icosahedron.mtl index 46bc110..44b3c44 100644 --- a/assets/icosahedron.mtl +++ b/assets/icosahedron.mtl @@ -1,2 +1,12 @@ -# Blender 3.4.1 MTL File: 'None' -# www.blender.org +# Blender MTL File: 'None' +# Material Count: 1 + +newmtl Default_OBJ +Ns 250.000000 +Ka 1.000000 1.000000 1.000000 +Kd 0.800000 0.800000 0.800000 +Ks 0.500000 0.500000 0.500000 +Ke 0.000000 0.000000 0.000000 +Ni 1.450000 +d 1.000000 +illum 2 diff --git a/assets/icosahedron.obj b/assets/icosahedron.obj index 4253bc0..94dea53 100644 --- a/assets/icosahedron.obj +++ b/assets/icosahedron.obj @@ -1,79 +1,166 @@ -# Blender 3.4.1 +# Blender v3.4.1 OBJ File: '' # www.blender.org mtllib icosahedron.mtl -o Icosphere -v 0.000000 -1.000000 0.000000 -v 0.723600 -0.447215 0.525720 -v -0.276385 -0.447215 0.850640 -v -0.894425 -0.447215 0.000000 -v -0.276385 -0.447215 -0.850640 -v 0.723600 -0.447215 -0.525720 -v 0.276385 0.447215 0.850640 -v -0.723600 0.447215 0.525720 -v -0.723600 0.447215 -0.525720 -v 0.276385 0.447215 -0.850640 -v 0.894425 0.447215 0.000000 -v 0.000000 1.000000 0.000000 -vn 0.1876 -0.7947 0.5774 -vn 0.6071 -0.7947 -0.0000 -vn -0.4911 -0.7947 0.3568 -vn -0.4911 -0.7947 -0.3568 -vn 0.1876 -0.7947 -0.5774 -vn 0.9822 -0.1876 -0.0000 -vn 0.3035 -0.1876 0.9342 -vn -0.7946 -0.1876 0.5774 -vn -0.7946 -0.1876 -0.5774 -vn 0.3035 -0.1876 -0.9342 -vn 0.7946 0.1876 0.5774 -vn -0.3035 0.1876 0.9342 -vn -0.9822 0.1876 -0.0000 -vn -0.3035 0.1876 -0.9342 -vn 0.7946 0.1876 -0.5774 -vn 0.4911 0.7947 0.3568 -vn -0.1876 0.7947 0.5774 -vn -0.6071 0.7947 -0.0000 -vn -0.1876 0.7947 -0.5774 -vn 0.4911 0.7947 -0.3568 +o Icosphere.001 +v 0.000000 -1.093451 -0.000000 +v 0.791221 -0.489008 0.574849 +v -0.302214 -0.489008 0.930134 +v 0.791221 -0.489008 -0.574849 +v -0.978010 -0.489008 -0.000000 +v -0.302214 -0.489008 -0.930134 +v 0.978010 0.489008 0.000000 +v 0.302214 0.489008 0.930134 +v -0.791221 0.489008 0.574849 +v -0.791221 0.489008 -0.574849 +v 0.302214 0.489008 -0.930134 +v 0.000000 1.093451 0.000000 +v -0.791221 0.489008 -0.574849 +v -0.791221 0.489008 -0.574849 +v -0.791221 0.489008 -0.574849 +v -0.791221 0.489008 -0.574849 +v 0.000000 1.093451 0.000000 +v 0.000000 1.093451 0.000000 +v 0.000000 1.093451 0.000000 +v 0.000000 1.093451 0.000000 +v 0.000000 -1.093451 -0.000000 +v 0.000000 -1.093451 -0.000000 +v 0.000000 -1.093451 -0.000000 +v 0.000000 -1.093451 -0.000000 +v 0.791221 -0.489008 0.574849 +v 0.791221 -0.489008 0.574849 +v 0.791221 -0.489008 0.574849 +v 0.791221 -0.489008 0.574849 +v -0.302214 -0.489008 0.930134 +v -0.302214 -0.489008 0.930134 +v -0.302214 -0.489008 0.930134 +v -0.302214 -0.489008 0.930134 +v 0.791221 -0.489008 -0.574849 +v 0.791221 -0.489008 -0.574849 +v 0.791221 -0.489008 -0.574849 +v 0.791221 -0.489008 -0.574849 +v -0.978010 -0.489008 -0.000000 +v -0.978010 -0.489008 -0.000000 +v -0.978010 -0.489008 -0.000000 +v -0.978010 -0.489008 -0.000000 +v -0.302214 -0.489008 -0.930134 +v -0.302214 -0.489008 -0.930134 +v -0.302214 -0.489008 -0.930134 +v -0.302214 -0.489008 -0.930134 +v 0.978010 0.489008 0.000000 +v 0.978010 0.489008 0.000000 +v 0.978010 0.489008 0.000000 +v 0.978010 0.489008 0.000000 +v 0.302214 0.489008 0.930134 +v 0.302214 0.489008 0.930134 +v 0.302214 0.489008 0.930134 +v 0.302214 0.489008 0.930134 +v -0.791221 0.489008 0.574849 +v -0.791221 0.489008 0.574849 +v -0.791221 0.489008 0.574849 +v -0.791221 0.489008 0.574849 +v 0.302214 0.489008 -0.930134 +v 0.302214 0.489008 -0.930134 +v 0.302214 0.489008 -0.930134 +v 0.302214 0.489008 -0.930134 vt 0.181819 0.000000 +vt 0.272728 0.157461 +vt 0.090910 0.157461 +vt 0.272728 0.157461 vt 0.363637 0.000000 +vt 0.454546 0.157461 vt 0.909091 0.000000 +vt 1.000000 0.157461 +vt 0.818182 0.157461 vt 0.727273 0.000000 +vt 0.818182 0.157461 +vt 0.636364 0.157461 vt 0.545455 0.000000 +vt 0.636364 0.157461 +vt 0.454546 0.157461 vt 0.272728 0.157461 -vt 1.000000 0.157461 +vt 0.454546 0.157461 +vt 0.363637 0.314921 vt 0.090910 0.157461 +vt 0.272728 0.157461 +vt 0.181819 0.314921 vt 0.818182 0.157461 +vt 1.000000 0.157461 +vt 0.909091 0.314921 vt 0.636364 0.157461 +vt 0.818182 0.157461 +vt 0.727273 0.314921 vt 0.454546 0.157461 +vt 0.636364 0.157461 +vt 0.545455 0.314921 +vt 0.272728 0.157461 +vt 0.363637 0.314921 +vt 0.181819 0.314921 +vt 0.090910 0.157461 vt 0.181819 0.314921 vt 0.000000 0.314921 +vt 0.818182 0.157461 vt 0.909091 0.314921 vt 0.727273 0.314921 +vt 0.636364 0.157461 +vt 0.727273 0.314921 +vt 0.545455 0.314921 +vt 0.454546 0.157461 vt 0.545455 0.314921 vt 0.363637 0.314921 +vt 0.181819 0.314921 +vt 0.363637 0.314921 vt 0.272728 0.472382 +vt 0.000000 0.314921 +vt 0.181819 0.314921 vt 0.090910 0.472382 +vt 0.727273 0.314921 +vt 0.909091 0.314921 vt 0.818182 0.472382 +vt 0.545455 0.314921 +vt 0.727273 0.314921 vt 0.636364 0.472382 +vt 0.363637 0.314921 +vt 0.545455 0.314921 vt 0.454546 0.472382 -s 0 -f 1/1/1 2/6/1 3/8/1 -f 2/6/2 1/2/2 6/11/2 -f 1/3/3 3/7/3 4/9/3 -f 1/4/4 4/9/4 5/10/4 -f 1/5/5 5/10/5 6/11/5 -f 2/6/6 6/11/6 11/17/6 -f 3/8/7 2/6/7 7/12/7 -f 4/9/8 3/7/8 8/14/8 -f 5/10/9 4/9/9 9/15/9 -f 6/11/10 5/10/10 10/16/10 -f 2/6/11 11/17/11 7/12/11 -f 3/8/12 7/12/12 8/13/12 -f 4/9/13 8/14/13 9/15/13 -f 5/10/14 9/15/14 10/16/14 -f 6/11/15 10/16/15 11/17/15 -f 7/12/16 11/17/16 12/18/16 -f 8/13/17 7/12/17 12/19/17 -f 9/15/18 8/14/18 12/20/18 -f 10/16/19 9/15/19 12/21/19 -f 11/17/20 10/16/20 12/22/20 +vn 0.1876 -0.7947 0.5774 +vn 0.6071 -0.7947 -0.0000 +vn -0.4911 -0.7947 0.3568 +vn -0.4911 -0.7947 -0.3568 +vn 0.1876 -0.7947 -0.5774 +vn 0.9822 -0.1876 -0.0000 +vn 0.3035 -0.1876 0.9342 +vn -0.7946 -0.1876 0.5774 +vn -0.7946 -0.1876 -0.5774 +vn 0.3035 -0.1876 -0.9342 +vn 0.7946 0.1876 0.5774 +vn -0.3035 0.1876 0.9342 +vn -0.9822 0.1876 0.0000 +vn -0.3035 0.1876 -0.9342 +vn 0.7946 0.1876 -0.5774 +vn 0.4911 0.7947 0.3568 +vn -0.1876 0.7947 0.5774 +vn -0.6071 0.7947 0.0000 +vn -0.1876 0.7947 -0.5774 +vn 0.4911 0.7947 -0.3568 +usemtl Default_OBJ +s 1 +f 21/1/1 25/2/1 29/3/1 +f 26/4/2 24/5/2 33/6/2 +f 22/7/3 31/8/3 37/9/3 +f 23/10/4 39/11/4 41/12/4 +f 1/13/5 43/14/5 35/15/5 +f 27/16/6 36/17/6 45/18/6 +f 30/19/7 28/20/7 49/21/7 +f 38/22/8 32/23/8 53/24/8 +f 42/25/9 40/26/9 14/27/9 +f 34/28/10 44/29/10 57/30/10 +f 2/31/11 46/32/11 51/33/11 +f 3/34/12 52/35/12 54/36/12 +f 5/37/13 55/38/13 15/39/13 +f 6/40/14 16/41/14 60/42/14 +f 4/43/15 59/44/15 47/45/15 +f 50/46/16 48/47/16 18/48/16 +f 56/49/17 8/50/17 20/51/17 +f 13/52/18 9/53/18 17/54/18 +f 58/55/19 10/56/19 19/57/19 +f 7/58/20 11/59/20 12/60/20 diff --git a/assets/octahedron.mtl b/assets/octahedron.mtl new file mode 100644 index 0000000..58c39f5 --- /dev/null +++ b/assets/octahedron.mtl @@ -0,0 +1,12 @@ +# Blender MTL File: 'None' +# Material Count: 1 + +newmtl None +Ns 499.999983 +Ka 1.000000 1.000000 1.000000 +Kd 0.800000 0.800000 0.800000 +Ks 0.800000 0.800000 0.800000 +Ke 0.000000 0.000000 0.000000 +Ni 1.450000 +d 1.000000 +illum 2 diff --git a/assets/octahedron.obj b/assets/octahedron.obj new file mode 100644 index 0000000..5ce3470 --- /dev/null +++ b/assets/octahedron.obj @@ -0,0 +1,70 @@ +# Blender v3.4.1 OBJ File: '' +# www.blender.org +mtllib octahedron.mtl +o Circle_Circle.001 +v 0.000003 1.003216 0.000014 +v -0.707125 0.000000 -0.707121 +v 0.707135 0.000000 -0.707091 +v -0.707107 -0.000000 0.707107 +v 0.707164 -0.000000 0.707116 +v 0.000003 -1.003216 0.000014 +v 0.000003 1.003216 0.000014 +v 0.000003 1.003216 0.000014 +v 0.000003 1.003216 0.000014 +v -0.707125 0.000000 -0.707121 +v -0.707125 0.000000 -0.707121 +v -0.707125 0.000000 -0.707121 +v 0.707135 0.000000 -0.707091 +v 0.707135 0.000000 -0.707091 +v 0.707135 0.000000 -0.707091 +v -0.707107 -0.000000 0.707107 +v -0.707107 -0.000000 0.707107 +v -0.707107 -0.000000 0.707107 +v 0.707164 -0.000000 0.707116 +v 0.707164 -0.000000 0.707116 +v 0.707164 -0.000000 0.707116 +v 0.000003 -1.003216 0.000014 +v 0.000003 -1.003216 0.000014 +v 0.000003 -1.003216 0.000014 +vt 0.250045 0.749962 +vt 0.000076 0.999925 +vt 0.500014 0.999929 +vt 0.500014 0.999929 +vt 0.500010 0.500000 +vt 0.250045 0.749962 +vt 0.250045 0.749962 +vt 0.500010 0.500000 +vt 0.000071 0.500000 +vt 0.000076 0.999925 +vt 0.250045 0.749962 +vt 0.000071 0.500000 +vt 0.000076 0.000075 +vt 0.000071 0.500000 +vt 0.250045 0.250038 +vt 0.500014 0.000071 +vt 0.250045 0.250038 +vt 0.500010 0.500000 +vt 0.250045 0.250038 +vt 0.500014 0.000071 +vt 0.000076 0.000075 +vt 0.250045 0.250038 +vt 0.000071 0.500000 +vt 0.500010 0.500000 +vn 0.0000 0.5761 -0.8174 +vn -0.8174 0.5761 0.0000 +vn -0.0000 0.5761 0.8174 +vn 0.8174 0.5761 -0.0000 +vn 0.8174 -0.5761 -0.0000 +vn -0.8174 -0.5761 0.0000 +vn 0.0000 -0.5761 -0.8174 +vn -0.0000 -0.5761 0.8174 +usemtl None +s 1 +f 7/1/1 13/2/1 10/3/1 +f 11/4/2 16/5/2 9/6/2 +f 8/7/3 17/8/3 19/9/3 +f 14/10/4 1/11/4 20/12/4 +f 15/13/5 21/14/5 22/15/5 +f 12/16/6 23/17/6 18/18/6 +f 24/19/7 2/20/7 3/21/7 +f 6/22/8 5/23/8 4/24/8 diff --git a/assets/octahedron.png b/assets/octahedron.png new file mode 100644 index 0000000..63c70b2 Binary files /dev/null and b/assets/octahedron.png differ diff --git a/assets/octohedron.mtl b/assets/octohedron.mtl deleted file mode 100644 index f231bdf..0000000 --- a/assets/octohedron.mtl +++ /dev/null @@ -1,10 +0,0 @@ -# Blender MTL File: 'None' -# Material Count: 1 - -newmtl None -Ns 500 -Ka 0.8 0.8 0.8 -Kd 0.8 0.8 0.8 -Ks 0.8 0.8 0.8 -d 1 -illum 2 diff --git a/assets/octohedron.obj b/assets/octohedron.obj deleted file mode 100644 index 424d8a8..0000000 --- a/assets/octohedron.obj +++ /dev/null @@ -1,32 +0,0 @@ -# Blender v3.4.1 OBJ File: '' -# www.blender.org -mtllib octohedron.mtl -o Circle_Circle.001 -v 0.707135 0.000000 -0.707091 -v 0.000003 1.003216 0.000014 -v -0.707125 0.000000 -0.707121 -v -0.707107 0.000000 0.707107 -v 0.707164 0.000000 0.707116 -v 0.000003 -1.003216 0.000014 -vt 0.250045 0.749962 -vt 0.500014 0.999929 -vt 0.000076 0.999925 -vt 0.500010 0.500000 -vt 0.000071 0.500000 -vt 0.000076 0.000075 -vt 0.250045 0.250038 -vt 0.500014 0.000071 -vn -0.0000 -0.5761 0.8174 -vn 0.8174 -0.5761 -0.0000 -vn 0.0000 -0.5761 -0.8174 -vn -0.8174 -0.5761 0.0000 -usemtl None -s off -f 2/1/1 3/2/1 1/3/1 -f 3/2/2 2/1/2 4/4/2 -f 2/1/3 5/5/3 4/4/3 -f 1/3/4 5/5/4 2/1/4 -f 1/6/2 5/5/2 6/7/2 -f 3/8/4 6/7/4 4/4/4 -f 6/7/3 3/8/3 1/6/3 -f 6/7/1 5/5/1 4/4/1 diff --git a/assets/octohedron.png b/assets/octohedron.png deleted file mode 100644 index 63c70b2..0000000 Binary files a/assets/octohedron.png and /dev/null differ diff --git a/assets/tetrahedron.obj b/assets/tetrahedron.obj index b4ba6ed..b8ab982 100644 --- a/assets/tetrahedron.obj +++ b/assets/tetrahedron.obj @@ -2,23 +2,37 @@ # www.blender.org mtllib tetrahedron.mtl o Circle_Circle.002 -v -0.000000 -0.497806 -1.000000 -v -0.866025 -0.497806 0.500000 -v 0.866025 -0.497806 0.500000 -v 0.000000 0.916407 0.000000 +v -0.000000 -0.353553 -1.000000 +v -0.866025 -0.353553 0.500000 +v 0.866025 -0.353553 0.500000 +v 0.000000 1.060660 -0.000000 +v -0.866025 -0.353553 0.500000 +v -0.866025 -0.353553 0.500000 +v -0.000000 -0.353553 -1.000000 +v -0.000000 -0.353553 -1.000000 +v 0.866025 -0.353553 0.500000 +v 0.866025 -0.353553 0.500000 +v 0.000000 1.060660 -0.000000 +v 0.000000 1.060660 -0.000000 vt 0.433025 0.250046 -vt 0.433025 0.749954 vt 0.865957 0.500000 +vt 0.433025 0.749954 vt 0.865957 0.999907 +vt 0.433025 0.749954 +vt 0.865957 0.500000 vt 0.865957 0.000093 +vt 0.865957 0.500000 +vt 0.433025 0.250046 vt 0.000093 0.500000 -vn 0.0000 1.0000 0.0000 +vt 0.433025 0.250046 +vt 0.433025 0.749954 +vn 0.0000 -1.0000 0.0000 vn 0.0000 0.3333 0.9428 vn 0.8165 0.3333 -0.4714 vn -0.8165 0.3333 -0.4714 usemtl None s off -f 1/1/1 2/2/1 3/3/1 -f 4/4/2 2/2/2 3/3/2 -f 4/5/3 3/3/3 1/1/3 -f 4/6/4 1/1/4 2/2/4 +f 7/1/1 9/2/1 5/3/1 +f 12/4/2 6/5/2 10/6/2 +f 11/7/3 3/8/3 8/9/3 +f 4/10/4 1/11/4 2/12/4 -- cgit v1.2.1