MMD3ViewerD

所属分类:3D图形编程
开发工具:Visual C++
文件大小:201KB
下载次数:2
上传日期:2012-09-09 22:13:37
上 传 者despises
说明:  MD3 Quake3的模型格式查看器,书籍上的源码。我也有高高手写的MD2 的查看类,用c p P 和DirectX 9写的
(The MD3 Quake3 of model format viewer, source books. I also have high handwritten MD2 View class, write cp P and DirectX 9)

文件列表:
MMD3ViewerD\MD3 Viewer\Debug\MD3 VIEWER.exe (651342, 2001-02-15)
MMD3ViewerD\MD3 Viewer\directx.ico (1078, 2000-09-22)
MMD3ViewerD\MD3 Viewer\MD3 VIEWER.dsp (4883, 2001-02-15)
MMD3ViewerD\MD3 Viewer\MD3 VIEWER.dsw (573, 2000-12-17)
MMD3ViewerD\MD3 Viewer\MD3 VIEWER.ncb (91136, 2001-02-15)
MMD3ViewerD\MD3 Viewer\MD3 VIEWER.opt (54784, 2001-02-15)
MMD3ViewerD\MD3 Viewer\MD3 VIEWER.plg (1545, 2001-02-15)
MMD3ViewerD\MD3 Viewer\md3.cpp (18888, 2000-12-28)
MMD3ViewerD\MD3 Viewer\md3.h (4062, 2000-12-28)
MMD3ViewerD\MD3 Viewer\md3viewer.cpp (12169, 2000-12-28)
MMD3ViewerD\MD3 Viewer\RCa58029 (13138, 2001-01-01)
MMD3ViewerD\MD3 Viewer\resource.h (1427, 2000-09-22)
MMD3ViewerD\MD3 Viewer\winmain.rc (6915, 2000-12-20)
MMD3ViewerD\MD3 Viewer\WS_FTP.LOG (793, 2001-01-14)
MMD3ViewerD\MD3 Viewer\Debug (0, 2009-08-19)
MMD3ViewerD\MD3 Viewer (0, 2009-08-19)
MMD3ViewerD (0, 2012-03-18)

//----------------------------------------------------------------------------- // Name: ProgressiveMesh Direct3D Sample // // Copyright (c) 19***-2000 Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- Description =========== The ProgressiveMesh sample illustrates how to load and optimize a file-based mesh using the D3DX mesh utility functions. A progressive mesh is one in which the vertex information is stored internally in a special tree which can be accessed to render the mesh with any given number of vertices. This procedure is fast, so progressive meshes are ideal for level-of-detail scenarios, where objects in the distance are render with fewer polygons. For more info on D3DX, refer to the DirectX SDK documentation. Path ==== Source: MSSDK\Samples\Multimedia\D3D\ProgressiveMesh Executable: MSSDK\Samples\Multimedia\D3D\Bin User's Guide ============ The following keys are implemented. The dropdown menus can be used for the same controls. Starts and stops the scene Advances the scene by a small increment Shows help or available commands. Prompts user to select a new rendering device or display mode Toggles between fullscreen and windowed modes Exits the app. Adds one vertex to the progressive mesh Subtracts one vertex to the progressive mesh Adds 100 vertices to the progressive mesh Subtracts 100 vertices to the progressive mesh Displays all available vertices for the progressive mesh Displays the minimum vertices for the progressive mesh Programming Notes ================= Many Direct3D samples on the DirectX SDK use file-based meshes. This sample is a good sample to look to see the bare bones code necessary for loading a mesh. Note that the D3DX mesh loading functionality collapses the frame hierarchy of a .x file into one mesh. The main difference for using progressive meshes is the call to SetNumVertices() for the mesh. For other samples, the bare bones D3DX mesh functionality is wrapped in a common class class CD3DMesh. If it is desired to keep the frame hierarchy, the common class CD3DFile can be used. This sample makes use of common DirectX code (consisting of helper functions, etc.) that is shared with other samples on the DirectX SDK. All common headers and source code can be found in the following directory: Mssdk\Samples\Multimedia\Common

近期下载者

相关文件


收藏者