資源簡介
OPENGL 大規模地形渲染,有LOD代碼在里面。老外.NET環境開發
代碼片段和文件信息
#include?
#include?
#include?
#include?
#include?
#include?“winmain.h“
#include?“Roam.h“
#include?“system.h“
#include?“camera.h“
#include?“font.h“
#include?“demo.h“
bool?lock=false;
bool?wire=true;
bool?boxes=false;
bool?info=false;
bool?piramida=false;
bool?PlayDemo=false;
bool?RecordDemo=false;
float?magic;
SpeedMeter?tot_m;
tveDemo?demo;
//---Font------
CFont?font;
//---Config----
Cconfig?config;
//---Roam------
Landscape?gLand;
Camera?Cam;
Fps?fps;
void?appCleanup()?{}
void?SetThreshold()
{
config.LOD?=?clamp(config.LOD?1.0f?10.0f);
magic?=?static_cast(config.win_width)?/?(deg2rad(config.fov)?*?config.LOD);
}
void?appResizeWindow(GLsizei?width?GLsizei?height)
{
mag
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????7314??2005-11-25?14:44??Land3\app.cpp
?????文件???????6280??2005-11-25?14:17??Land3\camera.cpp
?????文件???????1135??2005-11-10?14:36??Land3\camera.h
?????文件????????449??2005-11-25?15:00??Land3\config.ini
?????文件????1048576??2004-05-31?14:57??Land3\data\1.raw
?????文件????1048576??2005-12-01?18:35??Land3\data\vars.raw
????..AD...?????????0??2005-12-01?18:35??Land3\data
?????目錄??????????0??2005-12-01?18:44??Land3\Debug
?????文件???????4449??2005-11-25?15:01??Land3\Demo.cpp
?????文件??????84672??2005-11-25?14:59??Land3\demo.dat
?????文件???????1698??2005-11-25?14:55??Land3\Demo.h
?????文件????????775??2004-02-25?15:28??Land3\Doc\threadmarks.files\features.css
?????文件???????4858??2004-02-25?15:27??Land3\Doc\threadmarks.files\turner_01.gif
?????文件???????5865??2004-02-25?15:27??Land3\Doc\threadmarks.files\turner_02.gif
?????文件???????5925??2004-02-25?15:27??Land3\Doc\threadmarks.files\turner_03a.gif
?????文件???????7538??2004-02-25?15:27??Land3\Doc\threadmarks.files\turner_03b.gif
?????文件???????9654??2004-02-25?15:27??Land3\Doc\threadmarks.files\turner_03c.gif
?????文件??????13278??2004-02-25?15:28??Land3\Doc\threadmarks.files\turner_04.gif
?????文件???????7498??2004-02-25?15:28??Land3\Doc\threadmarks.files\turner_05a.gif
?????文件??????13438??2004-02-25?15:28??Land3\Doc\threadmarks.files\turner_05b.gif
?????文件??????16779??2004-02-25?15:28??Land3\Doc\threadmarks.files\turner_05c.gif
?????文件??????20009??2004-02-25?15:28??Land3\Doc\threadmarks.files\turner_06.gif
?????文件???????7546??2004-02-25?15:28??Land3\Doc\threadmarks.files\turner_07.gif
?????文件??????15646??2004-02-25?15:28??Land3\Doc\threadmarks.files\turner_08.gif
????..AD...?????????0??2005-12-01?18:35??Land3\Doc\threadmarks.files
?????文件??????66734??2004-02-26?09:54??Land3\Doc\threadmarks.htm
????..AD...?????????0??2005-12-01?18:35??Land3\Doc
?????文件???????5206??2005-11-05?14:37??Land3\font.cpp
?????文件????????627??2005-11-05?14:37??Land3\font.h
?????文件??????16517??2005-11-08?12:40??Land3\glFrustum.cpp
............此處省略24個文件信息
- 上一篇:鎂光M4 SSD固件000F
- 下一篇:人臉特征提取及識別的源程序(openCV)
評論
共有 條評論