ROAM

所属分类:OpenGL
开发工具:Visual C++
文件大小:291KB
下载次数:68
上传日期:2008-05-13 17:07:03
上 传 者836078
说明:  视锥体裁减的一个例子,通过对视锥体和roam地形数据的相交检测来预先排除在视景体外的地形数据,加快显示速度。demo形象的演示了裁减的实现效果,代码也有详细注释,适合当作教程学习。
(Cone cuts as an example, by Cone and roam, as the terrain data in advance of the intersection tests to rule out the possibility in view of the terrain data in vitro to accelerate the display speed. demo image to demonstrate the achievement of the reduction effect, the code also has detailed notes as tutorials for learning.)

文件列表:
ROAM\GlutMain.cpp (3666, 2000-03-12)
ROAM\Height1024.raw (1048576, 2000-01-26)
ROAM\Landscape.h (2619, 2000-01-26)
ROAM\Patch.h (2493, 2000-01-26)
ROAM\Roamsimple.cpp (19838, 2000-03-06)
ROAM\RoamSimple.dsp (4386, 2000-03-12)
ROAM\RoamSimple.exe (208956, 2000-03-12)
ROAM\Utility.cpp (20145, 2000-03-12)
ROAM\Utility.h (1242, 2000-03-12)
ROAM (0, 2008-04-19)

ROAM Simplistic Implementation By Bryan Turner brturn@bellsouth.net January, 2000 Project file for MS Visual C++ 6.0. Requires GLUT DLL (www.opengl.org) Adjust program constants in Landscape.h and Utility.cpp. MAPS: Default map is read from HeghtXXX.raw where XXX is the MAP_SIZE (as defined in Landscape.h). If this map is not found, the program attempts to open "Map.ved", a Tread Marks map file. Tread Marks maps will only work for MAP_SIZE == 1024. Also, the MULT_SCALE to view Tread Marks maps correctly is "0.25f". (www.TreadMarks.com) CONTROLS: MOUSE - Hold Left Mouse Button to Rotate View Angle Q - Change Rendering Mode (Wireframe, Lit, Fill, Texture) O - Change View Mode (Observe, Follow, Drive, Fly) W/S - Move forward/back A/D - Rotate left/right (in Observe Mode only) F - Stop Animation R - Toggle Frustum Drawing 0/9 - More/Less Triangles per frame 1/2 - Adjust FOV

近期下载者

相关文件


收藏者