flatcreat

所属分类:OpenGL
开发工具:Visual C++
文件大小:323KB
下载次数:36
上传日期:2007-05-23 19:32:58
上 传 者j5448589
说明:  vc++环境下,利用opengl基于线模型的,曲面生成技术
(vc environment, the use opengl on the line model, Surface Generation Technology)

文件列表:
Octree\Camera.cpp (12406, 2002-06-04)
Octree\Camera.h (2134, 2002-05-24)
Octree\Init.cpp (11003, 2002-06-04)
Octree\Main.cpp (24665, 2003-04-20)
Octree\main.h (3770, 2002-06-04)
Octree\Octree HTML Tutorial\images\CollisionTitle.jpg (11116, 2001-11-26)
Octree\Octree HTML Tutorial\images\ConclusionTitle.jpg (9687, 2001-11-26)
Octree\Octree HTML Tutorial\images\DrawTheOctreeTitle.jpg (11935, 2001-11-26)
Octree\Octree HTML Tutorial\images\HowOctreeWorksTitle.jpg (12526, 2001-11-26)
Octree\Octree HTML Tutorial\images\OctreeDefinitionTitle.jpg (11482, 2001-11-26)
Octree\Octree HTML Tutorial\images\OctreeNodeHeirarchy.jpg (18295, 2001-11-23)
Octree\Octree HTML Tutorial\images\PartialVisibility.jpg (14864, 2001-11-23)
Octree\Octree HTML Tutorial\images\RootNode.jpg (8145, 2001-11-23)
Octree\Octree HTML Tutorial\images\SpheresSub1.jpg (27306, 2001-11-26)
Octree\Octree HTML Tutorial\images\SpheresSub3.jpg (31369, 2001-11-26)
Octree\Octree HTML Tutorial\images\StopSubdividingTitle.jpg (11451, 2001-11-26)
Octree\Octree HTML Tutorial\images\SubdividedNode.jpg (14372, 2001-11-23)
Octree\Octree HTML Tutorial\images\SubdividedNode2.jpg (18552, 2001-11-23)
Octree\Octree HTML Tutorial\images\title.jpg (23655, 2001-11-26)
Octree\Octree HTML Tutorial\images\_vti_cnf\CollisionTitle.jpg (405, 2001-11-26)
Octree\Octree HTML Tutorial\images\_vti_cnf\ConclusionTitle.jpg (404, 2001-11-26)
Octree\Octree HTML Tutorial\images\_vti_cnf\DrawTheOctreeTitle.jpg (405, 2001-11-26)
Octree\Octree HTML Tutorial\images\_vti_cnf\HowOctreeWorksTitle.jpg (405, 2001-11-26)
Octree\Octree HTML Tutorial\images\_vti_cnf\OctreeDefinitionTitle.jpg (405, 2001-11-26)
Octree\Octree HTML Tutorial\images\_vti_cnf\OctreeNodeHeirarchy.jpg (423, 2001-11-23)
Octree\Octree HTML Tutorial\images\_vti_cnf\PartialVisibility.jpg (423, 2001-11-23)
Octree\Octree HTML Tutorial\images\_vti_cnf\RootNode.jpg (480, 2001-11-23)
Octree\Octree HTML Tutorial\images\_vti_cnf\SpheresSub1.jpg (348, 2001-11-26)
Octree\Octree HTML Tutorial\images\_vti_cnf\SpheresSub3.jpg (348, 2001-11-26)
Octree\Octree HTML Tutorial\images\_vti_cnf\StopSubdividingTitle.jpg (405, 2001-11-26)
Octree\Octree HTML Tutorial\images\_vti_cnf\SubdividedNode.jpg (423, 2001-11-23)
Octree\Octree HTML Tutorial\images\_vti_cnf\SubdividedNode2.jpg (423, 2001-11-23)
Octree\Octree HTML Tutorial\images\_vti_cnf\title.jpg (405, 2001-11-26)
Octree\Octree HTML Tutorial\images\_vti_cnf (0, 2003-02-26)
Octree\Octree HTML Tutorial\images (0, 2003-02-26)
Octree\Octree HTML Tutorial\Octree.htm (14616, 2001-11-26)
Octree\Octree HTML Tutorial (0, 2003-02-26)
Octree\Octree.cpp (36989, 2003-04-20)
Octree\Octree.exe (81920, 2003-04-20)
Octree\Octree.h (4588, 2002-06-04)
... ...

//*********************************************************************** // // - "Talk to me like I'm a 3 year old!" Programming Lessons - // // $Author: DigiBen digiben@gametutorials.com // // $Program: Octree // // $Description: Demonstrates octree space partitioning // // $Date: 11/20/01 // //*********************************************************************** Files: Main.cpp (The Source File containing the main program code) Init.cpp (The Source File containing the Win32 and OpenGL initialization code) Camera.cpp (The Source File containing the camera class implementation) Octree.cpp (The Source File containing the octree implementation) Octree.h (The Header File containing "octree" definitions) Camera.h (The Header File containing the camera class definition) main.h (The Header File containing definitions for the main program) Octree.vcproj (The VC++ Project File holding the project info) Octree.sln (The Solution File holding the solution info) Terrain.raw (The map file) Octree HTML Tutorial DIR (The Directory holding an HTML octree tutorial) Libraries: opengl32.lib (The OpenGL Interface Library needed to compile the program) glu32.lib (The OpenGL Utility 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 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-2003 GameTutorials

近期下载者

相关文件


收藏者