Exemplo n.º 1
0
 protected void load(ModelData modelData, TextureProvider textureProvider)
 {
     loadMeshes(modelData.meshes);
     loadMaterials(modelData.materials, textureProvider);
     loadNodes(modelData.nodes);
     //loadAnimations(modelData.animations);
     calculateTransforms();
 }
Exemplo n.º 2
0
 public Model(ModelData modelData, TextureProvider textureProvider)
 {
     load(modelData, textureProvider);
 }
Exemplo n.º 3
0
 public Model(ModelData modelData) : this(modelData, new FileTextureProvider())
 {
 }