diff options
author | Joshua Rowe <17525998+omnisci3nce@users.noreply.github.com> | 2024-03-14 22:08:43 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-14 22:08:43 +1100 |
commit | 70308798adbaa376da97c9c0739d437fe76b8b36 (patch) | |
tree | 09836fab6ddc9012a5f4437f2139ab0a704b3a78 /assets/models/obj/cube | |
parent | a627f75cc956a463e3910a8f5f615932bad3a418 (diff) | |
parent | b240374c23365e33727d78ca74e901bcb383e077 (diff) |
Merge pull request #5 from omnisci3nce/cel-41-port-over-a-basic-3d-scene-example
CEL 41 port over a basic 3d scene example
Diffstat (limited to 'assets/models/obj/cube')
-rw-r--r-- | assets/models/obj/cube/container.jpg | bin | 0 -> 184939 bytes | |||
-rw-r--r-- | assets/models/obj/cube/cube.mtl | 13 | ||||
-rw-r--r-- | assets/models/obj/cube/cube.obj | 47 |
3 files changed, 60 insertions, 0 deletions
diff --git a/assets/models/obj/cube/container.jpg b/assets/models/obj/cube/container.jpg Binary files differnew file mode 100644 index 0000000..d07bee4 --- /dev/null +++ b/assets/models/obj/cube/container.jpg diff --git a/assets/models/obj/cube/cube.mtl b/assets/models/obj/cube/cube.mtl new file mode 100644 index 0000000..9a17b69 --- /dev/null +++ b/assets/models/obj/cube/cube.mtl @@ -0,0 +1,13 @@ +# 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 models/obj/cube/container.jpg diff --git a/assets/models/obj/cube/cube.obj b/assets/models/obj/cube/cube.obj new file mode 100644 index 0000000..d2224e5 --- /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 |