TextureMapping

所属分类:OpenGL
开发工具:Visual C++
文件大小:283KB
下载次数:25
上传日期:2007-12-01 10:23:35
上 传 者cczm
说明:  著名的www.gametutorials.com上下载的Direct3D中关于纹理映射(Texture Mapping)的例子源代码
(Famous www.gametutorials.com downloaded Direct3D texture mapping on (Texture Mapping) example source code)

文件列表:
Texture Mapping\win_main.cpp (9960, 2005-01-05)
Texture Mapping\d3d_texture.cpp (2368, 2005-01-05)
Texture Mapping\Texture.bmp (196662, 2003-08-18)
Texture Mapping\TextureMapping.exe (454656, 2005-01-06)
Texture Mapping\vertex_types.h (2125, 2003-08-20)
Texture Mapping\d3d_texture.h (971, 2005-01-05)
Texture Mapping\d3d_obj.cpp (11443, 2005-01-06)
Texture Mapping\TextureMapping.vcproj (3641, 2004-05-23)
Texture Mapping\TextureMapping.sln (917, 2004-05-22)
Texture Mapping\d3d_obj.h (3010, 2005-01-05)
Texture Mapping (0, 2007-11-30)

//*********************************************************************************// // // - "Talk to me like I'm a 3 year old!" Programming Lessons - // // $Author: TheTutor -- thetutor@gametutorials.com // // $Program: TextureMapping // // $Description: An introduction to texture mapping with D3D // // $Date: 8/17/03 // //*********************************************************************************// Files: win_main.cpp (The Source File containing the "window" code) d3d_texture.cpp (The Source File containing the texture mapping implementation) d3d_obj.cpp (The Source File containing the "D3D Interface/Object" code) d3d_obj.h (The Header File containing "D3D Interface/Object" definitions) d3d_texture.h (The Header File containing "D3D Texture Map" definitions) vertex_types.h (Header File containing FVF vertex definitions) TextureMapping.vcproj (The VC++ Project File holding the project info) TextureMapping.sln (The Solution File holding the solution info) Texture.bmp (The BMP File to be displayed) Libraries: d3d9.lib (The Direct 3D v9.0 Library needed to compile the program) d3dx9.lib (The D3D v9.0 "Math" Library needed to compile the program) Instructions: If you have Microsoft Visual Studio .NET (version 7.0) just click on the .vcproj file. This will open up up visual c++. You will most likely see the code for .cpp. If you don't, press CRTL+ALT+L This will open the "Solution Explorer". There you should find two folders named "Source Files" and "Header Files". Double click on the "source" folder and you should see your source file(s) with a .cpp extension after it. Double click on the file and it will open up in your main window. Hit Control-F5 to run the program. You will probably see a prompt to compile/build the project. Click OK and a console window should pop up with the program. :) EULA: Your use of this tutorial constitutes your agreement to GameTutorials' Terms of Use found at: http://www.gametutorials.com/TermsOfUse.htm www.GameTutorials.com 2000-2003 GameTutorials

近期下载者

相关文件


收藏者