Beispiel #1
0
        public void ExportModel(string fileName, DAE.ExportSettings settings)
        {
            var model = new STGenericModel();

            model.Materials = Materials;
            model.Objects   = Shapes;

            DAE.Export(fileName, settings, model, BcresParent.GetTextures(), Skeleton.Renderable);
        }
Beispiel #2
0
        public override void Export(string FileName)
        {
            AssimpSaver         assimp   = new AssimpSaver();
            ExportModelSettings settings = new ExportModelSettings();

            var model = new STGenericModel();

            model.Materials = Materials;
            model.Objects   = Shapes;


            assimp.SaveFromModel(model, FileName, BcresParent.GetTextures(), Skeleton.Renderable);
        }