summaryrefslogtreecommitdiff
path: root/mdl
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2024-05-03 13:34:40 +0000
committerrodri <rgl@antares-labs.eu>2024-05-03 13:34:40 +0000
commita146875003e42330bba95e1e277ce75d685ad795 (patch)
tree2f5691ebd4ac634a5006051086cfa3f0a6819a03 /mdl
parentc33a4a068cd1a742c4b92f7f8d724149309b822a (diff)
download3dee-a146875003e42330bba95e1e277ce75d685ad795.tar.gz
3dee-a146875003e42330bba95e1e277ce75d685ad795.tar.bz2
3dee-a146875003e42330bba95e1e277ce75d685ad795.zip
adapt to the recent changes in libgraphics. add new test files.
Diffstat (limited to 'mdl')
-rw-r--r--mdl/basis.mtl8
-rw-r--r--mdl/basis.obj11
-rw-r--r--mdl/basispt.obj12
-rw-r--r--mdl/line.obj3
4 files changed, 34 insertions, 0 deletions
diff --git a/mdl/basis.mtl b/mdl/basis.mtl
new file mode 100644
index 0000000..738ea54
--- /dev/null
+++ b/mdl/basis.mtl
@@ -0,0 +1,8 @@
+newmtl x
+Kd 1 0 0
+
+newmtl y
+Kd 0 1 0
+
+newmtl z
+Kd 0 0 1
diff --git a/mdl/basis.obj b/mdl/basis.obj
new file mode 100644
index 0000000..17b0155
--- /dev/null
+++ b/mdl/basis.obj
@@ -0,0 +1,11 @@
+mtllib basis.mtl
+v 0 0 0
+v 1 0 0
+v 0 1 0
+v 0 0 1
+usemtl x
+l 1 2
+usemtl y
+l 1 3
+usemtl z
+l 1 4
diff --git a/mdl/basispt.obj b/mdl/basispt.obj
new file mode 100644
index 0000000..b733dbc
--- /dev/null
+++ b/mdl/basispt.obj
@@ -0,0 +1,12 @@
+mtllib basis.mtl
+v 0 0 0
+v 1 0 0
+v 0 1 0
+v 0 0 1
+p 1
+usemtl x
+p 2
+usemtl y
+p 3
+usemtl z
+p 4
diff --git a/mdl/line.obj b/mdl/line.obj
new file mode 100644
index 0000000..7d5dff7
--- /dev/null
+++ b/mdl/line.obj
@@ -0,0 +1,3 @@
+v 0 0 0
+v 1 0 0
+l 1 2