TextureMapping

所属分类:游戏引擎
开发工具:Visual C++
文件大小:116KB
下载次数:5
上传日期:2008-04-10 14:17:05
上 传 者wdl
说明:  the effect of the texturemapping

文件列表:
Texture Mapping\Bitmap.bmp (196664, 2006-08-14)
Texture Mapping\Init.cpp (14949, 2006-08-14)
Texture Mapping\Main.cpp (12824, 2006-08-14)
Texture Mapping\main.h (3042, 2006-08-14)
Texture Mapping\Texturing.exe (49152, 2006-08-14)
Texture Mapping\Texturing.sln (877, 2006-08-14)
Texture Mapping\Texturing.vcproj (5204, 2006-08-14)
Texture Mapping (0, 2008-04-10)

//******************************************************************************* // // - "Talk to me like I'm a 3 year old!" Programming Lessons - // // $Author: DigiBen digiben@gametutorials.com // // $Program: Texturing // // $Description: Texture maps a shape // //******************************************************************************* Files: Main.cpp (The Source File containing the main program code) Init.cpp (The Source File containing the Win32 and OpenGL initialization code) main.h (The Header File containing definitions for the main program) Texturing.vcproj (The VC++ Project File holding the project info) Texturing.sln (The Solution File holding the solution info) Bitmap.bmp (The Bitmap File that is the texture map) Libraries: opengl32.lib (The OpenGL Interface Library needed to compile the program) glu32.lib (The OpenGL Utility Library needed to compile the program) glaux.lib (The OpenGL Auxiliary Library needed to compile the program) Instructions: If you have Microsoft Visual Studio 2005 just click on the .vcproj file. This will open 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 the Win32 program should pop up. :) 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-2006 GameTutorials

近期下载者

相关文件


收藏者