From 6893a74fad0c58fceda13088bd5bd585950931b9 Mon Sep 17 00:00:00 2001 From: Treeki Date: Sat, 19 Mar 2011 05:17:37 +0100 Subject: support for .obj groups which use multiple materials ... but it's broken :( --- TestApp/Main.cs | 2 +- TestApp/TestApp.pidb | Bin 4427 -> 4427 bytes TestApp/bin/Debug/NW4RTools.dll | Bin 237568 -> 237568 bytes TestApp/bin/Debug/NW4RTools.dll.mdb | Bin 114410 -> 114593 bytes TestApp/bin/Debug/TestApp.exe | Bin 7680 -> 7680 bytes TestApp/bin/Debug/TestApp.exe.mdb | Bin 1300 -> 1300 bytes 6 files changed, 1 insertion(+), 1 deletion(-) (limited to 'TestApp') diff --git a/TestApp/Main.cs b/TestApp/Main.cs index 71b577b..4901ec4 100644 --- a/TestApp/Main.cs +++ b/TestApp/Main.cs @@ -33,7 +33,7 @@ namespace TestApp { ResFile rf = new ResFile(); - ObjImporter.ImportModel(mdlPath, File.OpenText(mdlPath + "fullworld-Z6-fail.obj"), rf, resmdlname, ObjImporter.LightmapType.Map); + ObjImporter.ImportModel(mdlPath, File.OpenText(mdlPath + "fullworld-tree-fbx.obj"), rf, resmdlname, ObjImporter.LightmapType.Map); File.WriteAllBytes(mdlPath + filename + ".brres", BrresWriter.WriteFile(rf)); diff --git a/TestApp/TestApp.pidb b/TestApp/TestApp.pidb index af45428..5bfaccd 100644 Binary files a/TestApp/TestApp.pidb and b/TestApp/TestApp.pidb differ diff --git a/TestApp/bin/Debug/NW4RTools.dll b/TestApp/bin/Debug/NW4RTools.dll index 6cd7365..0f298cf 100755 Binary files a/TestApp/bin/Debug/NW4RTools.dll and b/TestApp/bin/Debug/NW4RTools.dll differ diff --git a/TestApp/bin/Debug/NW4RTools.dll.mdb b/TestApp/bin/Debug/NW4RTools.dll.mdb index 208c344..c7a54e3 100644 Binary files a/TestApp/bin/Debug/NW4RTools.dll.mdb and b/TestApp/bin/Debug/NW4RTools.dll.mdb differ diff --git a/TestApp/bin/Debug/TestApp.exe b/TestApp/bin/Debug/TestApp.exe index ee143e2..637548b 100755 Binary files a/TestApp/bin/Debug/TestApp.exe and b/TestApp/bin/Debug/TestApp.exe differ diff --git a/TestApp/bin/Debug/TestApp.exe.mdb b/TestApp/bin/Debug/TestApp.exe.mdb index b46c061..4b7be18 100644 Binary files a/TestApp/bin/Debug/TestApp.exe.mdb and b/TestApp/bin/Debug/TestApp.exe.mdb differ -- cgit v1.2.3