summaryrefslogtreecommitdiff
path: root/mdl/def.obj
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2023-12-16 21:03:52 +0000
committerrodri <rgl@antares-labs.eu>2023-12-16 21:03:52 +0000
commit79a8452ad57167a94d3be991a666b8f96d6fb5b4 (patch)
treecbc6a34b469bec0938dae26e85b091027676c0ae /mdl/def.obj
parent4923947f638c4bad0a4e02dc8ccde0db4d795571 (diff)
downloadtinyrend-79a8452ad57167a94d3be991a666b8f96d6fb5b4.tar.gz
tinyrend-79a8452ad57167a94d3be991a666b8f96d6fb5b4.tar.bz2
tinyrend-79a8452ad57167a94d3be991a666b8f96d6fb5b4.zip
got stuck and skipped to Lesson 6: Shaders for the software renderer.
i was unable to find a fix for the rendering artifacts i was getting and decided to skip to a later chapter, with a new architecture based on actual shaders, that made things easier to understand. right after the move i spotted the problem (and others that showed up) and was finally able to fix them. it's working now!
Diffstat (limited to 'mdl/def.obj')
-rw-r--r--mdl/def.obj6
1 files changed, 6 insertions, 0 deletions
diff --git a/mdl/def.obj b/mdl/def.obj
new file mode 100644
index 0000000..48cc560
--- /dev/null
+++ b/mdl/def.obj
@@ -0,0 +1,6 @@
+v -100 -100 0
+v 100 -100 0
+v -100 100 0
+v 100 100 0
+f 1 2 3
+f 4 3 2