From 9c9690ab5e4ecb484ee130c21f1767785908bd10 Mon Sep 17 00:00:00 2001 From: sanine-a Date: Tue, 9 May 2023 14:46:08 -0500 Subject: fix texture loading --- assets/skybox.obj | 108 +++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 79 insertions(+), 29 deletions(-) (limited to 'assets/skybox.obj') diff --git a/assets/skybox.obj b/assets/skybox.obj index 1a34cf8..920bc92 100644 --- a/assets/skybox.obj +++ b/assets/skybox.obj @@ -1,46 +1,96 @@ -# Blender v3.5.1 OBJ File: '' +# Blender v3.4.1 OBJ File: '' # www.blender.org mtllib skybox.mtl o Cube_Cube.001 -v -100.000000 -100.000000 100.000000 -v -100.000000 100.000000 100.000000 -v -100.000000 -100.000000 -100.000000 -v -100.000000 100.000000 -100.000000 -v 100.000000 -100.000000 100.000000 -v 100.000000 100.000000 100.000000 -v 100.000000 -100.000000 -100.000000 -v 100.000000 100.000000 -100.000000 +v -100.000000 -99.999985 -100.000015 +v -100.000000 -100.000015 99.999985 +v -100.000000 99.999985 100.000015 +v -100.000000 100.000015 -99.999985 +v 100.000000 99.999985 100.000015 +v 100.000000 -100.000015 99.999985 +v -100.000000 -100.000015 99.999985 +v 100.000000 100.000015 -99.999985 +v 100.000000 -100.000015 99.999985 +v 100.000000 -99.999985 -100.000015 +v 100.000000 99.999985 100.000015 +v 100.000000 100.000015 -99.999985 +v 100.000000 -100.000015 99.999985 +v 100.000000 99.999985 100.000015 +v 100.000000 100.000015 -99.999985 +v -100.000000 100.000015 -99.999985 +v -100.000000 -100.000015 99.999985 +v -100.000000 -99.999985 -100.000015 +v -100.000000 99.999985 100.000015 +v 100.000000 99.999985 100.000015 +v -100.000000 99.999985 100.000015 +v -100.000000 -100.000015 99.999985 +v 100.000000 99.999985 100.000015 +v -100.000000 -99.999985 -100.000015 +v -100.000000 -100.000015 99.999985 +v -100.000000 99.999985 100.000015 +v -100.000000 -99.999985 -100.000015 +v -100.000000 100.000015 -99.999985 +v 100.000000 -99.999985 -100.000015 +v -100.000000 100.000015 -99.999985 +v 100.000000 -99.999985 -100.000015 +v -100.000000 100.000015 -99.999985 +v 100.000000 100.000015 -99.999985 +v 100.000000 -99.999985 -100.000015 +v 100.000000 -99.999985 -100.000015 +v 100.000000 -100.000015 99.999985 vt 0.750000 0.334117 vt 1.000000 0.665883 vt 1.000000 0.334117 +vt 0.250000 0.334117 +vt 0.500000 0.665883 +vt 0.500000 0.334117 +vt 0.250000 0.002352 +vt 0.500000 0.334117 +vt 0.500000 0.002352 vt 0.500000 0.334117 vt 0.750000 0.665883 +vt 0.750000 0.334117 vt 0.250000 0.334117 +vt 0.250000 0.665883 vt 0.500000 0.665883 +vt 0.250000 0.002352 +vt 0.250000 0.334117 +vt 0.500000 0.334117 vt -0.000000 0.334117 +vt -0.000000 0.665883 +vt 0.250000 0.665883 +vt -0.000000 0.334117 +vt 0.250000 0.665883 +vt 0.250000 0.334117 +vt 0.500000 0.334117 +vt 0.500000 0.665883 +vt 0.750000 0.665883 +vt 0.750000 0.334117 +vt 0.750000 0.665883 +vt 1.000000 0.665883 vt 0.250000 0.665883 -vt 0.250000 0.002352 -vt 0.500000 0.002352 vt 0.500000 0.997648 -vt -0.000000 0.665883 +vt 0.500000 0.665883 +vt 0.250000 0.665883 vt 0.250000 0.997648 +vt 0.500000 0.997648 vn 1.0000 0.0000 0.0000 -vn 0.0000 0.0000 1.0000 -vn -1.0000 0.0000 0.0000 -vn 0.0000 0.0000 -1.0000 +vn -1.0000 -0.0000 0.0000 vn 0.0000 1.0000 0.0000 -vn 0.0000 -1.0000 0.0000 +vn 0.0000 -0.0000 1.0000 +vn 0.0000 0.0000 -1.0000 +vn 0.0000 -1.0000 -0.0000 usemtl Material.001 -s off -f 3/1/1 2/2/1 1/3/1 -f 7/4/2 4/5/2 3/1/2 -f 5/6/3 8/7/3 7/4/3 -f 1/8/4 6/9/4 5/6/4 -f 1/10/5 7/4/5 3/11/5 -f 6/9/6 4/12/6 8/7/6 -f 3/1/1 4/5/1 2/2/1 -f 7/4/2 8/7/2 4/5/2 -f 5/6/3 6/9/3 8/7/3 -f 1/8/4 2/13/4 6/9/4 -f 1/10/5 5/6/5 7/4/5 -f 6/9/6 2/14/6 4/12/6 +s 1 +f 24/1/1 19/2/1 25/3/1 +f 9/4/2 8/5/2 10/6/2 +f 17/7/3 34/8/3 18/9/3 +f 29/10/4 30/11/4 1/12/4 +f 13/13/2 11/14/2 12/15/2 +f 2/16/3 36/17/3 35/18/3 +f 22/19/5 21/20/5 23/21/5 +f 7/22/5 20/23/5 6/24/5 +f 31/25/4 33/26/4 32/27/4 +f 27/28/1 28/29/1 26/30/1 +f 14/31/6 16/32/6 15/33/6 +f 5/34/6 3/35/6 4/36/6 -- cgit v1.2.1