diff options
author | sanine <sanine.not@pm.me> | 2023-03-13 22:42:40 -0500 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2023-03-13 22:42:40 -0500 |
commit | 344d6e68bee7f286f7c4b4b25518367c595b4619 (patch) | |
tree | 9abb86b714fef18aef0d8048bd4931f6adcf9fd0 /assets | |
parent | 53b151b3fd6d4c2b953d8ed93261125577f1c123 (diff) |
add shader.lua
Diffstat (limited to 'assets')
-rw-r--r-- | assets/cube.mtl | 14 | ||||
-rw-r--r-- | assets/cube.obj | 84 |
2 files changed, 50 insertions, 48 deletions
diff --git a/assets/cube.mtl b/assets/cube.mtl index f231bdf..d6e6205 100644 --- a/assets/cube.mtl +++ b/assets/cube.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.002 +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/cube.obj b/assets/cube.obj index 01d923d..4943740 100644 --- a/assets/cube.obj +++ b/assets/cube.obj @@ -2,30 +2,30 @@ # www.blender.org mtllib cube.mtl 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 -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 -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 -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 +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 +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.625000 0.000000 vt 0.375000 0.250000 vt 0.375000 0.000000 @@ -50,23 +50,23 @@ 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 -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 0.0000 -1.0000 0.0000 +vn 1.0000 -0.0000 0.0000 +vn 0.0000 -0.0000 1.0000 +vn 0.0000 -1.0000 -0.0000 vn 0.0000 1.0000 0.0000 -usemtl None -s off -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 +usemtl None.002 +s 1 +f 1/1/1 2/2/1 3/3/1 +f 4/4/2 5/5/2 6/6/2 +f 7/7/3 8/8/3 9/9/3 +f 10/10/4 11/11/4 12/12/4 +f 13/13/5 14/14/5 15/15/5 +f 16/16/6 17/17/6 18/18/6 +f 1/1/1 19/19/1 2/2/1 +f 4/4/2 20/20/2 5/5/2 +f 7/7/3 21/21/3 8/8/3 +f 10/10/4 22/22/4 11/11/4 +f 13/13/5 23/23/5 14/14/5 +f 16/16/6 24/24/6 17/17/6 |