summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2026-09-15 13:23:39 +0200
committerHampusM <hampus@hampusmat.com>2026-09-15 13:23:39 +0200
commit1dcf7abbdc75fda5dc24e289779baf28f381e75b (patch)
treec4412a6faef0583deed5e151ad0f7dda4b4fbb39 /res
parent680b8123fa00ad4861c2e6a75b68673fa1df8ce0 (diff)
chore: make file paths in teapot model & material relative to file
Diffstat (limited to 'res')
-rw-r--r--res/teapot.mtl2
-rw-r--r--res/teapot.obj2
2 files changed, 2 insertions, 2 deletions
diff --git a/res/teapot.mtl b/res/teapot.mtl
index c922b07..be88e38 100644
--- a/res/teapot.mtl
+++ b/res/teapot.mtl
@@ -6,4 +6,4 @@ Ks 0.000000 0.000000 0.000000
# Ni 1.450000
# d 1.000000
# illum 1
-map_Kd res/coral.jpg
+map_Kd coral.jpg
diff --git a/res/teapot.obj b/res/teapot.obj
index bc2eb67..8196d4c 100644
--- a/res/teapot.obj
+++ b/res/teapot.obj
@@ -1,4 +1,4 @@
-mtllib res/teapot.mtl
+mtllib teapot.mtl
o teapot
v 0.000000 2.400000 -1.400000
v 0.229712 2.400000 -1.381970