Exemple #1
0
        public static void ColladaTest()
        {
            string fileName = @"A:\Archiv\3D\_Jeannie\Models\2017.01.28\MilaPartyBlack_blender.dae";


            Grendgine_Collada.ReduceMesh(fileName, 0.1f);

            Grendgine_Collada col  = Grendgine_Collada.Load_File(fileName);
            string            path = OpenTKExtension.IOUtils.ExtractDirectory(fileName);


            Grendgine_Collada.Save(path + "new.dae", col);



            //OpenTKExtension.Collada.ColladaPointCloud cm = OpenTKExtension.Collada.ColladaLoader.LoadFile(path);
            TestForm tf = new TestForm();

            //tf.ShowPointClouds(cm.PointClouds);
            Application.Run((Form)tf);
        }