⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme - md2 loader.txt

📁 Quake中的MD2模型导入
💻 TXT
字号:
//***********************************************************************
//											
//	- "Talk to me like I'm a 3 year old!" Programming Lessons -		 
//                                                                       
//	$Author:		DigiBen	digiben@gametutorials.com	
//											
//	$Program:		MD2 Loader			 
// 
//	$Description:	Demonstrates how to load a Quake2 .Md2 file
//
//	$Date:		2/6/02							
//											
//***********************************************************************

Files:  	Main.cpp (The Source File containing the main program code)
	Init.cpp (The Source File containing the Win32 and OpenGL initialization code)
	Md2.cpp (The Source File containing the MD2 model code)
	Md2.h (The Header File containing the MD2 model definitions)
	main.h (The Header File containing definitions for the main program)
	MD2 Animation.vcproj  (The VC++ Project File holding the project info)
	MD2 Animation.sln  (The Solution File holding the solution info)
	tris.MD2 (The MD2 model)
	hobgoblin.bmp (The Bitmap File that is the texture map for the MD2 model)

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 .NET (version 7.0) just click on the
		<Program Name>.vcproj file.  This will open up visual c++.  You will most
		likely see the code for <Program Name>.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

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -