예제 #1
0
        public void Extract(Tim tim)
        {
            map.Extract(tim);

            foreach (LODModel m in lodmods)
            {
                foreach (LODHeader lh in m.lh)
                {
                    Helpers.WriteToFile(Meta.BasePath + "\\models\\" + m.name + "_" + lh.name + ".obj", lh.ToObj());
                }
            }
        }
예제 #2
0
        public void Extract(string path, Tim tim)
        {
            map.Extract(tim, Path.Combine(path, "textures"));

            foreach (var model in Models)
            {
                model.Export(path);
                model.Save(path);
            }

            Console.WriteLine("Models done!");
        }
예제 #3
0
        public void Extract(string dir, Tim tim)
        {
            map.Extract(tim, ".\\textures\\");

            foreach (CtrModel d in dynamics)
            {
                d.Export(dir);
                d.Write(dir);
            }

            Console.WriteLine("Models done!");
        }