文件名称:中文版ROAM实时动态LOD地形渲染代码
文件大小:296KB
文件格式:RAR
更新时间:2012-02-29 09:29:16
中文版ROAM实时动态LOD地形渲染代码
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
【文件预览】:
中文版ROAM实时动态LOD地形渲染代码
----Patch.h(2KB)
----RoamSimple.exe(204KB)
----Utility.h(1KB)
----GlutMain.cpp(4KB)
----RoamSimple.dsp(4KB)
----Landscape.h(3KB)
----ReadMe.txt(931B)
----Utility.cpp(20KB)
----Roamsimple.cpp(19KB)
----Height1024.raw(1024KB)