91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 1.22MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2023-10-31
  • 語言: C/C++
  • 標簽: OpenGL??三維地形??

資源簡介

本程序通過opengl開發包和vc++6完成設計的,不需要其他的組件。 源代碼包含了三維地形生成的全過程,包括數據的讀入,數據的組織,三角網的構造,光照、材質、紋理等應用,對于核心代碼均有簡明的注釋

資源截圖

代碼片段和文件信息

//?dialog.cpp?:?Defines?the?class?behaviors?for?the?application.
//

#include?“stdafx.h“
#include?“dialog.h“
#include?“dialogDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
//?CDialogApp

BEGIN_MESSAGE_MAP(CDialogApp?CWinApp)
//{{AFX_MSG_MAP(CDialogApp)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG
ON_COMMAND(ID_HELP?CWinApp::onhelp)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
//?CDialogApp?construction

CDialogApp::CDialogApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CDialogApp?object

CDialogApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CDialogApp?initialization

BOOL?CDialogApp::InitInstance()
{
AfxEnableControlContainer();

//?Standard?initialization
//?If?you?are?not?using?these?features?and?wish?to?reduce?the?size
//??of?your?final?executable?you?should?remove?from?the?following
//??the?specific?initialization?routines?you?do?not?need.

#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif

CDialogDlg?dlg;
m_pMainWnd?=?&dlg;
int?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?OK
}
else?if?(nResponse?==?IDCANCEL)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?Cancel
}

//?Since?the?dialog?has?been?closed?return?FALSE?so?that?we?exit?the
//??application?rather?than?start?the?application‘s?message?pump.
return?FALSE;
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件????1933367??2003-09-22?22:06??用vc++和OpenGL實現三維地形實時動態顯示\test\DEMO(release版).exe

?????文件?????393272??2003-09-22?21:48??用vc++和OpenGL實現三維地形實時動態顯示\test\dh10.bmp

?????文件????????154??1997-12-14?21:31??用vc++和OpenGL實現三維地形實時動態顯示\test\dh10.mtl

?????文件?????412274??1999-12-14?22:06??用vc++和OpenGL實現三維地形實時動態顯示\test\dh10.obj

?????文件???????1603??2003-09-22?21:51??用vc++和OpenGL實現三維地形實時動態顯示\test\dialog.clw

?????文件???????2061??2003-09-22?17:39??用vc++和OpenGL實現三維地形實時動態顯示\test\dialog.cpp

?????文件???????3380??2003-09-22?22:58??用vc++和OpenGL實現三維地形實時動態顯示\test\dialog.dsp

?????文件????????537??2001-03-20?21:29??用vc++和OpenGL實現三維地形實時動態顯示\test\dialog.dsw

?????文件???????1332??1999-05-14?10:16??用vc++和OpenGL實現三維地形實時動態顯示\test\dialog.h

?????文件???????6953??2003-09-22?19:24??用vc++和OpenGL實現三維地形實時動態顯示\test\dialog.rc

?????文件??????23672??2003-09-22?22:58??用vc++和OpenGL實現三維地形實時動態顯示\test\dialogDlg.cpp

?????文件???????1909??2003-09-22?20:22??用vc++和OpenGL實現三維地形實時動態顯示\test\dialogDlg.h

?????文件??????22650??1998-08-26?10:08??用vc++和OpenGL實現三維地形實時動態顯示\test\Dibapi.cpp

?????文件???????1661??1998-08-25?23:34??用vc++和OpenGL實現三維地形實時動態顯示\test\Dibapi.h

?????文件?????182784??2001-01-04?20:50??用vc++和OpenGL實現三維地形實時動態顯示\test\draw.dll

?????文件???????1372??2003-09-22?22:32??用vc++和OpenGL實現三維地形實時動態顯示\test\draw.h

?????文件???????2010??2001-01-04?20:51??用vc++和OpenGL實現三維地形實時動態顯示\test\draw.lib

?????文件??????57644??1999-05-14?16:59??用vc++和OpenGL實現三維地形實時動態顯示\test\res\crater.dem

?????文件???????1078??1999-05-14?10:16??用vc++和OpenGL實現三維地形實時動態顯示\test\res\dialog.ico

?????文件????????398??1999-05-14?10:16??用vc++和OpenGL實現三維地形實時動態顯示\test\res\dialog.rc2

?????文件??????49206??1999-10-16?17:39??用vc++和OpenGL實現三維地形實時動態顯示\test\res\terrain.BMP

?????文件?????263850??2003-09-22?18:18??用vc++和OpenGL實現三維地形實時動態顯示\test\res\xx16.bmp

?????文件?????786486??1999-09-21?20:06??用vc++和OpenGL實現三維地形實時動態顯示\test\res\yun.bmp

?????目錄??????????0??2005-01-26?11:21??用vc++和OpenGL實現三維地形實時動態顯示\test\res

?????文件???????1590??1999-11-24?22:28??用vc++和OpenGL實現三維地形實時動態顯示\test\resource.h

?????文件???????3209??2003-09-22?22:54??用vc++和OpenGL實現三維地形實時動態顯示\test\Splash.cpp

?????文件???????1159??1999-06-21?18:24??用vc++和OpenGL實現三維地形實時動態顯示\test\Splash.h

?????文件????????204??1999-05-14?10:16??用vc++和OpenGL實現三維地形實時動態顯示\test\StdAfx.cpp

?????文件????????987??2003-09-22?22:05??用vc++和OpenGL實現三維地形實時動態顯示\test\StdAfx.h

?????文件????????678??2003-09-22?23:09??用vc++和OpenGL實現三維地形實時動態顯示\test\程序說明.txt

............此處省略6個文件信息

評論

共有 條評論