Пример #1
0
        public static void ExportModelToDAE(ModelBase model, string fileName)
        {
            AbstractModelWriter daeWriter = new DAEWriter(model, fileName);

            daeWriter.WriteModel();
        }
Пример #2
0
        public static BCA ConvertICAToBCA(ref NitroFile animationFile, string fileName, ModelBase loadedModel, float scale,
                                          BMDExtraImportOptions extraOptions, BMDImporter.BCAImportationOptions bcaImportationOptions, bool save = true)
        {
            ModelBase animatedModel = new NITROIntermediateCharacterAnimationLoader(loadedModel, fileName).LoadModel(scale);

            BCA importedAnimation = CallBCAWriter(ref animationFile, animatedModel, bcaImportationOptions, save);

            return(importedAnimation);
        }
Пример #3
0
        public static void ExportModelToOBJ(ModelBase model, string fileName)
        {
            AbstractModelWriter objWriter = new OBJWriter(model, fileName);

            objWriter.WriteModel();
        }
Пример #4
0
 public static BCA ConvertICAToBCA(ref NitroFile animationFile, string fileName, ModelBase loadedModel, bool save = true)
 {
     return(ConvertICAToBCA(ref animationFile, fileName, loadedModel, 1f,
                            BMDExtraImportOptions.DEFAULT, BCAImportationOptions.DEFAULT, save));
 }