【翻译】Managed DirectX(第九章)[6]

[入库:2006年2月23日] [更新:2007年3月24日]

本文简介:

                 // We have a texture, try to load it

                 meshTextures[i] = TextureLoader.FromFile(device, @"..\..\" + mtrl[i].TextureFilename);

              }

          }

      }

     //Clean our mesh

     Mesh tempMesh = Mesh.Clean(mesh,adj,adj);

     //replace extsting mesh with this one

     mesh.Dispose();

     mesh = tempMesh;

     //creat simiplification mesh

     simplificationMesh = new SimplificationMesh(mesh,adj);

本文关键:【翻译】Managed DirectX(第九章)
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top