From 1c6ec0b7b8e437a003137428636149132d998357 Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Mon, 11 Mar 2024 15:35:40 +1100 Subject: added a path_parent function to get path of a file Now we can load .mtl files without hardcoding the full path from top-level like before. that was a hack! --- assets/models/obj/backpack/backpack.mtl | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 assets/models/obj/backpack/backpack.mtl (limited to 'assets/models/obj/backpack/backpack.mtl') diff --git a/assets/models/obj/backpack/backpack.mtl b/assets/models/obj/backpack/backpack.mtl new file mode 100644 index 0000000..f8b974c --- /dev/null +++ b/assets/models/obj/backpack/backpack.mtl @@ -0,0 +1,16 @@ +# 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 diffuse.jpg +map_Bump normal.png +map_Ks specular.jpg + -- cgit v1.2.3-70-g09d2