summaryrefslogtreecommitdiff
path: root/mdl
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2023-12-21 16:01:34 +0000
committerrodri <rgl@antares-labs.eu>2023-12-21 16:01:34 +0000
commit752d971d8ff5ffa2afc250830b60c07ceeaba336 (patch)
tree161faf3f67021c9a65a4117a01262bbbe39c24ee /mdl
parent5d50d34ac95d2a63113697047afee180e5bd1e6c (diff)
downloadtinyrend-752d971d8ff5ffa2afc250830b60c07ceeaba336.tar.gz
tinyrend-752d971d8ff5ffa2afc250830b60c07ceeaba336.tar.bz2
tinyrend-752d971d8ff5ffa2afc250830b60c07ceeaba336.zip
experiments with sdfs and texture mapping.
Diffstat (limited to 'mdl')
-rw-r--r--mdl/def.obj8
1 files changed, 6 insertions, 2 deletions
diff --git a/mdl/def.obj b/mdl/def.obj
index 48cc560..4c6dfa5 100644
--- a/mdl/def.obj
+++ b/mdl/def.obj
@@ -2,5 +2,9 @@ v -100 -100 0
v 100 -100 0
v -100 100 0
v 100 100 0
-f 1 2 3
-f 4 3 2
+vt 0 0
+vt 1 0
+vt 0 1
+vt 1 1
+f 1/1 2/2 3/3
+f 4/4 3/3 2/2