For advanced geometry, most APPS will prefer to load pre-authored
meshes from a file. Fortunately, when using meshes, D3DX does most of
the work for this, parsing a geometry file and creating vertx buffers
for us. This tutorial shows how to use a D3DXMESH
object, including loading it from a file and rendering it. One thing
D3DX does not handle for us is the materials and textures for a mesh,
so note that we have to handle those manually.
標(biāo)簽:
pre-authored
Fortunately
advanced
geometry
上傳時(shí)間:
2013-12-26
上傳用戶:sssl