Ejemplo n.º 1
0
 public void SetUp()
 {
     var assimpNetimporter = new Assimp.AssimpContext();
     Assimp.LogStream.IsVerboseLoggingEnabled = true;
     var logger = new Assimp.ConsoleLogStream();
     logger.Attach();
     assimpNetScene = assimpNetimporter.ImportFile(filename);
     logger.Detach();
     var assimpSharpImporter = new AssimpSharp.FBX.FBXImporter();
     assimpSharpScene = new AssimpSharp.Scene();
     assimpSharpScene = assimpSharpImporter.ReadFile(filename);
 }
Ejemplo n.º 2
0
 void LoadAssimpSharpScene(string file)
 {
     var assimpSharpImporter = new AssimpSharp.FBX.FBXImporter();
     var assimpSharpScene = assimpSharpImporter.ReadFile(file);
 }